feat(settings): bulk select and actions for archived threads#1685
feat(settings): bulk select and actions for archived threads#1685adityavardhansharma wants to merge 2 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Needs human review This PR introduces a new user-facing feature for bulk selecting and deleting/unarchiving threads. New workflows and capabilities like bulk permanent deletion warrant human review regardless of implementation quality. You can customize Macroscope's approvability policy. Learn more. |
What Changed
deletedThreadIdsbehavior as multi-delete elsewhere.AlertDialoginstead ofwindow.confirm. When it’s off, bulk delete runs immediately with no modal.Why
UI Changes
Before

After
Video
t3_code.mp4
Checklist
Note
Medium Risk
Adds new bulk delete/unarchive flows in the settings archive panel, increasing the chance of accidental destructive actions or edge cases around selection/state and repeated deletes. Uses existing
deleteThreadbehavior (including worktree prompts) but now executed in a loop, so reviewers should sanity-check UX and error handling.Overview
Adds multi-select to
ArchivedThreadsPanelvia per-row checkboxes plus a tri-state Select all control, and introduces a small toolbar showing Unarchive (N) and Delete (N) actions for the current selection.Implements bulk unarchive and bulk delete by iterating selected thread IDs, reusing
deleteThread(..., { deletedThreadIds })for consistent multi-delete/worktree behavior, and pruning selection when the archived list changes.Bulk delete now respects
confirmThreadDelete: when enabled it shows an in-appAlertDialogconfirmation; when disabled it deletes immediately, with toast errors surfaced per-thread.Written by Cursor Bugbot for commit c44be35. This will update automatically on new commits. Configure here.
Note
Add bulk select and delete/unarchive actions for archived threads in settings
ArchivedThreadsPanel(SettingsPanels.tsx), along with a 'Select all' checkbox and bulk action buttons for unarchive and delete.appSettings.confirmThreadDeleteflag: when enabled, it prompts anAlertDialogconfirmation before proceeding.useMemo/useEffect, so removed threads are automatically deselected.Macroscope summarized c44be35.