Skip to content

feat(ui): use popover_menu for host right-click context menu - #202

Merged
Cleboost merged 2 commits into
masterfrom
feat/host-context-menu
Nov 26, 2026
Merged

Cleboost merged 2 commits into
masterfrom
feat/host-context-menu

Conversation

@Cleboost

Copy link
Copy Markdown
Owner

Summary

  • Replaced the default egui resp.context_menu on host cards with the custom popover_menu component.
  • Added MenuEntry::DangerItem to src/ui/popover_menu.rs for destructive actions (styled with theme::DANGER).
  • Added render_context_menu to src/ui/popover_menu.rs to position the animated menu at the pointer location (clamped to screen bounds) and close on outside click or Escape.
  • Updated src/ui/host_grid.rs to render Connect, Edit, and Delete with Phosphor icons (TERMINAL_WINDOW, PENCIL_SIMPLE, TRASH).

Test plan

  • Verified compilation with cargo check (0 errors, 0 warnings).

@Cleboost
Cleboost merged commit 33b7d46 into master Nov 26, 2026
@Cleboost
Cleboost deleted the feat/host-context-menu branch November 26, 2026 17:52
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.

1 participant