- Show only filename in list with full path as tooltip on hover
- Add "local" tag for documents not yet uploaded to server
- Auto-refresh after user interactions (upload/order) with Fibonacci-like
sequence: 10, 20, 30, 50, 80, 130, 210 seconds
- Fix password toggle button (add pointer-events: none to SVG icons)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add content hash (MD5) for document deduplication
- Separate local state (archived) from server state (binectStatus)
- Add archive toggle button to switch between live/archived views
- Add archive/restore/delete actions for documents
- Refactor pdf-queue.ts with DocumentProxy interface
- Add hash.ts utility for content hashing
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add refresh button in header (before help button)
- Refresh updates all uploaded documents at once (in_basket, in_production)
- Remove individual refresh buttons from production items
- Add spinning animation while refresh is in progress
- Show count of refreshed documents in status message
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add 'dismissed' status to prevent dismissed PDFs from reappearing
- Persist PDFs discovered from current tab and recent downloads via background
- Add dismissPDF function that marks PDFs as dismissed instead of removing
- Dismissed PDFs are kept for 7 days for duplicate detection, then cleaned up
- Completed items (sent/canceled) can still be fully removed
- Add addPDF message handler to service worker for popup-discovered PDFs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Extended PDFStatus with full lifecycle: pending → uploading → in_basket →
ordering → in_production → sent/canceled
- Added shipDocument() and getDocumentStatus() API methods
- Grouped UI sections: Ready to Upload, In Basket, In Production, Completed
- Order button for documents in basket to place production order
- Refresh button to check current status from Binect server
- Display price and recipient address for uploaded documents
- Status icons and color-coded indicators for each state
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When the persistent queue is empty (e.g., after extension reload),
fall back to checking recent downloads from Chrome downloads API.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Show all pending PDFs in a scrollable list instead of single PDF
- Track upload status (pending/uploading/uploaded/failed) per PDF
- Store queue in chrome.storage.local for persistence
- Prevent duplicate uploads by checking URL against uploaded PDFs
- Add Dismiss button to remove PDFs from queue
- Show badge with count of pending PDFs
- Auto-cleanup old entries (uploaded >7 days, failed >24h)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The bufferToBase64 function from @binect/js expects Node.js Buffer
objects but was receiving browser ArrayBuffer, causing "[object ArrayBuffer]"
to be sent instead of valid base64. Use browser-native btoa() instead.
Also updates tests to work with @binect/js integration.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace token-based auth with HTTP Basic Authentication per Binect API v1 spec
- Improve PDF detection: check current tab first, then background service, fallback to recent downloads
- Add password visibility toggle in login form
- Add extensive debug logging throughout for troubleshooting
- Update manifest with alarms, activeTab permissions and <all_urls> host permission
- Add documentation files and development helper scripts
- Add Binect API specs for reference
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Added 'default_locale': 'en' to manifest.json to resolve Chrome error
when loading extension with _locales directory.
Error was: 'Lokalisierung wurde verwendet, in der Manifest-Datei war
jedoch kein Wert für default_locale angegeben'
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Implements all requirements from ProductRequirementsDocument.md:
- PDF detection via Chrome Downloads API
- Secure credential storage with AES-GCM encryption
- Binect API integration for PDF uploads
- Popup UI with Binect branding
- Local transfer tracking (500 entry cap)
- Help page with tracking view and CSV export
- 60-day credential retention with auto-expiry
- Accessibility compliance (WCAG 2.1 AA)
Technical implementation:
- Chrome Extension Manifest V3
- TypeScript with strict mode
- Webpack build system
- Jest test suite (22/22 passing)
- ESLint configured (0 errors)
Build output: 13 KB total (production minified)
Test coverage: crypto, pdf-detector, tracker, binect-api
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>