You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement: Chat attachment/export/share low-severity gaps (wrong rejection toast, no in-flight cancel, Print-vs-Download PDF label, Share on un-shareable threads) #2086
Area / route
Four confirmed low-severity chat-feature gaps (attachments, export dialog, share). Grouped as polish; each itemized with evidence and fix.
Sites
[25] Unsupported chat attachment shows "file type not allowed by upload policy" even when no upload policy is configured
Evidence: rejectedType toast uses t('fileTypeNotAllowed') at use-convex-file-upload.ts:196-203; the rejectedType bucket is populated independent of policy at lines 132-133; en.json chat.fileTypeNotAllowed = '{names}: file type not allowed by upload policy.'
[26] In-flight chat attachment uploads cannot be cancelled or removed (upload spinner chip has no remove control / no fetch abort)
Evidence: attachment-tray.tsx:248-259 (uploadingFiles render a Loader-only Row, no remove button); contrast the completed-chip X buttons at attachment-tray.tsx:166-173 and 202-209
[32] Export "Download PDF" opens the browser print dialog instead of downloading a PDF
Evidence: export-chat-dialog.tsx:138-145 (iframe.contentWindow?.print()) invoked by handleExportPdf at :214-219; button label t('export.downloadPdf') at :266; contrast with real download in triggerFileDownload at :57-67.
[33] Chat Share button is shown for un-shareable arena/branch threads; sharing fails with only a generic "Failed to share chat"
Evidence: chat-header.tsx:223-234 (Share button gated only by threadId &&) and route render chat.tsx:298; share_thread.ts:35-41 (raw Error for arena/branch); share-chat-dialog.tsx:61-90 (onError → generic t('share.shareFailed')).
Notes
Fixes: [25] add a generic fileTypeUnsupported key for the rejectedType branch, keep the policy-worded key only for rejectedExtension; [26] render an X on the spinner chip (and ideally an AbortController per upload); [32] relabel to "Print to PDF" or implement real client-side PDF download via triggerFileDownload; [33] hide/disable Share for arena/branch threads and/or throw a ConvexError the dialog maps. [32]/[33] are distinct from #1973 (other defects in the same dialog).
Filed by an automated manual-review pass (live browser QA + a 25-agent code-grounded audit, each finding adversarially verified). Deduped against open issues (incl. #1972–#1999, settings/forms epic #1941–#1966, audit cluster #1842–#1846) and recently-closed issues.
Activity
fix(platform): address chat attachment/export/share gaps (#2086) (#2476)