Skip to content

fix(ui): make update toast capsule a full button - #45

Merged
nakulbh merged 1 commit into
mainfrom
feat/update-capsule-button
Jul 31, 2026
Merged

fix(ui): make update toast capsule a full button#45
nakulbh merged 1 commit into
mainfrom
feat/update-capsule-button

Conversation

@nakulbh

@nakulbh nakulbh commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Turn the update toast capsule into a full hit-target button with hover/press feedback
  • Wire install/restart clicks from the button Response instead of the parent Area
  • Fixes the passive “Updated to … · Restart required” pill so it reads and acts as a button

Closes #39

Test plan

  • cargo clippy -p rmux-app --all-targets -- -D warnings
  • cargo test -p rmux-app help_menu
  • Manually: Check for Updates → install path → confirm “Restart required” capsule hover/press and click reopens restart dialog
  • Manually: “Update Available” capsule click starts install

The update pill was a non-interactive Frame+Label, so clicks only worked
via the parent Area and there was no hover/press feedback. Allocate the
entire capsule with Sense::click and paint button states so install and
restart actions feel like real buttons.

Closes #39
Copilot AI review requested due to automatic review settings July 30, 2026 17:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@nakulbh
nakulbh merged commit b3a7bfd into main Jul 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make the update capsule a full button

2 participants