Skip to content

fix(platform): address chat attachment/export/share gaps (#2086) - #2476

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/fix-2086-chat-attach-export-gaps-6542
Jul 4, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/fix-2086-chat-attach-export-gaps-6542

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Summary

Fixes #2086:

  • In-flight upload cancel — per-upload AbortController; a new X control on the upload chip cancels the request, drops the reservation, and clears the spinner (abort swallowed, no false failure toast).
  • Share on un-shareable threads — getThreadShareStatus now returns isShareable (false for arena/branch/archived); the dialog disables the toggle with a hint and maps CANNOT_SHARE_*/THREAD_ARCHIVED to specific toast copy.
  • Print-vs-Download PDF label — the label already correctly said "Print to PDF"; swapped its icon to Printer to match.
  • Wrong rejection toast — already correct on main (type vs. extension branches use distinct keys); no change.

Checklist

  • bun run check — type-aware lint (0/0), typecheck clean, test:ui (56, incl. cancel + share regressions) + threads (201) + i18n (23) passing.
  • lint:sast — N/A (Opengrep not cached).
  • Translations — added chat.cancelUpload + chat.share.{cannotShareArena,cannotShareBranch,cannotShareArchived,notShareable} to en/de/fr.

Test plan

Start a large upload → cancel it via the X; open Share on an arena/branch/archived thread → the toggle is disabled with a reason; the PDF button reads "Print to PDF" with a printer icon.

Open in Web Open in Cursor 

@cursor
cursor Bot marked this pull request as ready for review July 4, 2026 10:51
@cursor
cursor Bot merged commit 8d48a6f into main Jul 4, 2026
24 checks passed
@cursor
cursor Bot deleted the cursor/fix-2086-chat-attach-export-gaps-6542 branch July 4, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants