- Local tag is now clickable - checks if document exists on server by ID
or filename, and re-links if found
- Delete from server now archives the proxy instead of removing it,
making it a local-only document that can be re-uploaded
- Added first-run pin reminder banner to help users pin the extension
- Added issue report modal with context sections (extension info, browser
info, document status, recent errors) and copy to clipboard as Markdown
- Added clearServerFields and attachServerDocument functions to pdf-queue
- Improved local tag styling with hover states and visual feedback
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Include erroneous server documents in auto-refresh
- Documents can transition from ERRONEOUS to SHIPPABLE when fixed on server
- Clear error message when document status becomes non-erroneous
- Properly handle status transitions in refresh flow
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Separate "Has Errors" section for erroneous server documents (already
uploaded but have validation errors)
- "Ready to Upload" section now only shows truly local documents
- Erroneous server docs show only "Delete from server" button (no retry)
- Improved metadata display: show document ID for server docs, hide
unknown file size
- Clean up verbose debug logging
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add server sync to discover documents uploaded elsewhere (fixes missing
basket documents issue)
- Handle erroneous uploads: preserve binectDocumentId for delete button
- Add "Delete from server" button for erroneous and canceled documents
- Remove archive button for active documents (in_basket, in_production)
- Auto-restore archived documents that have active status
- Refactor to use @binect/js v0.1.0 features:
- DocumentStatus enum instead of magic numbers
- isErroneous(), getErrors() helper functions
- getStatusDescription() for status text
- Add binect-js improvement requirements document
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Extract error details from Binect API for documents with status 7
- Display error details in a highlighted box below the status
- Map status 7 (ERRONEOUS) to 'failed' status in refresh handler
- Add CSS styling for error details display
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename "Order" button to "Send" throughout UI
- Detect server-side document deletions (404) and auto-archive
- Remove manual refresh button (auto-refresh handles this)
- Fix password toggle button with preventDefault/stopPropagation
- Make auto-refresh silent (no status messages)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- 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>
- 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>
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>