Skip to content

fix(web): show one toast when snoozing threads in bulk - #5560

Merged
t3dotgg merged 1 commit into
mainfrom
t3code/bulk-snooze-single-toast
Aug 7, 2026
Merged

fix(web): show one toast when snoozing threads in bulk#5560
t3dotgg merged 1 commit into
mainfrom
t3code/bulk-snooze-single-toast

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Aug 7, 2026

Copy link
Copy Markdown
Member

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, and coSnoozingKeys batch behavior.

The menu path awaits Promise.all over 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 through attemptSnooze and 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

  • Extracts a performSnooze helper in SidebarV2.tsx that handles re-entrancy guards, navigation, and returns a structured outcome (success | failure | interrupted | skipped).
  • Multi-select snooze now runs all selected threads concurrently and shows one summary toast: success if all succeed, a warning with counts if some fail, or an error if all fail.
  • The Undo action in the bulk toast reverses only the threads that were successfully snoozed.
  • Single-thread snooze behavior is unchanged; errors now surface via a standardized error toast.

Macroscope summarized 55aae4a.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8c9c51be-1b73-4bb7-a35c-da31665976e5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Aug 7, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment thread apps/web/src/components/SidebarV2.tsx
@macroscopeapp

macroscopeapp Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: 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.

@t3dotgg
t3dotgg merged commit 6da9224 into main Aug 7, 2026
17 checks passed
@t3dotgg
t3dotgg deleted the t3code/bulk-snooze-single-toast branch August 7, 2026 01:16
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 7, 2026
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant