ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto

add validation to prevent uploading empty results

Check if usernames array has items before attempting upload.
Shows clear error message instead of hanging.

byarielm.fyi c35fb0d8 8cf10ff3

verified
Changed files
+4
packages
extension
src
popup
+4
packages/extension/src/popup/popup.ts
··· 130 130 throw new Error('No scan results found'); 131 131 } 132 132 133 + if (state.result.usernames.length === 0) { 134 + throw new Error('No users found. Please scan the page first.'); 135 + } 136 + 133 137 // Import API client 134 138 const { uploadToATlast: apiUpload, getExtensionVersion } = await import('../lib/api-client.js'); 135 139