fix(web): show one toast when snoozing threads in bulk - #5560
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 Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 55aae4a. Configure here.
ApprovabilityVerdict: Needs human review An unresolved review comment identifies a potential bug: bulk snooze clears the selection before the async operations complete, which prevents users from retrying failed snoozes. This behavioral change warrants human review. You can customize Macroscope's approvability policy. Learn more. |
## What's Changed * fix(server): skip origin fetch when creating worktrees in repos without an origin remote by @t3dotgg in pingdotgg/t3code#5556 * fix(web): update tooltip no longer dismisses when scrolling release notes by @t3dotgg in pingdotgg/t3code#5547 * fix(server): stop showing commit/push/PR notices as errors in the work log by @t3dotgg in pingdotgg/t3code#5559 * fix(web): show remote environment for non-Git projects by @t3dotgg in pingdotgg/t3code#5555 * fix(server): stopping a Claude thread no longer shows an ede_diagnostic error by @t3dotgg in pingdotgg/t3code#5557 * fix(web): show one toast when snoozing threads in bulk by @t3dotgg in pingdotgg/t3code#5560 **Full Changelog**: pingdotgg/t3code@v0.0.32-nightly.20260806.1018...v0.0.32-nightly.20260807.1019 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.32-nightly.20260807.1019

Bulk snoozing a selection produced one success toast per thread, flooding the notification stack.
Now the client waits for the batch and shows one summary toast with one Undo action for every successfully snoozed thread. Partial and total failures are summarized in one toast too.
Tested with the web typecheck, scoped lint and formatting, and the targeted snooze tests.
Built with GPT-5.6 Sol in the Codex harness.
Note
Low Risk
Sidebar UX refactor only; snooze API and navigation semantics are preserved, with clearer aggregated feedback for bulk actions.
Overview
Bulk snooze from the multi-select context menu no longer fires a separate success toast per thread. Snooze work is centralized in
performSnooze, which returns success/failure/skipped/interrupted outcomes while keeping the existing per-thread guard, forward navigation, andcoSnoozingKeysbatch behavior.The menu path
awaitsPromise.allover the selection, then shows a single toast: full success with one Undo that unsnoozes every thread that actually snoozed, a warning when only some succeed, or one error when none do. Single-thread snooze still goes throughattemptSnoozeand unchanged per-thread toasts.Reviewed by Cursor Bugbot for commit 55aae4a. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Show a single aggregated toast when snoozing multiple threads in bulk
performSnoozehelper in SidebarV2.tsx that handles re-entrancy guards, navigation, and returns a structured outcome (success|failure|interrupted|skipped).Macroscope summarized 55aae4a.