Skip to content

fix(desktop): make session notices dismissible, align archive undo, and wrap approval text - #339

Merged
ch55secake merged 3 commits into
mainfrom
fix/dismissible-notices-toast-and-approval-wrap
Nov 26, 2026
Merged

ch55secake merged 3 commits into
mainfrom
fix/dismissible-notices-toast-and-approval-wrap

Conversation

@ch55secake

Copy link
Copy Markdown
Collaborator

Description

Addresses three transcript and notification UI issues:

  • Session and connection error notices in the transcript could not be dismissed.
  • The Undo button in the "Session archived" toast was pinned to the top edge because ui::Button::build applies .self_start().
  • Long unbroken tokens in approval command descriptions overflowed past the code box and approval card border.

Changes in this pull request

  • Add Workspace::dismiss_session_error in crates/caelum-core/src/application/workspace.rs and add a dismiss (×) button to the "Session needs attention" and "Connect …" notices in apps/desktop/src/live/transcript.rs.
  • Center the Undo button vertically in the archive toast with .self_center() in apps/desktop/src/live/menus.rs.
  • Switch approval summary and command description text in apps/desktop/src/live/transcript.rs to .wrap_anywhere().w_full() with .min_w(0.0) on parent columns.
  • Add regression tests in apps/desktop/src/tests/provider_errors.rs, apps/desktop/src/tests/sessions.rs, and apps/desktop/src/tests/approval_rules.rs.

@github-actions github-actions Bot added bug Something isn't working desktop Tauri desktop application and frontend core Shared Rust core and application logic labels Nov 26, 2026
@ch55secake
ch55secake enabled auto-merge November 26, 2026 20:37
@ch55secake
ch55secake merged commit 3c83315 into main Nov 26, 2026
20 checks passed
@ch55secake
ch55secake deleted the fix/dismissible-notices-toast-and-approval-wrap branch November 26, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core Shared Rust core and application logic desktop Tauri desktop application and frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant