fix: move overflow actions into popup menu so three-dot menu is always visible (#312) #323

Merged
guettlibot merged 3 commits from issue-312-fix into main 2026-05-28 05:19:12 +00:00
guettlibot commented 2026-05-28 05:18:44 +00:00 (Migrated from codeberg.org)

Summary

  • The email detail AppBar had 8 standalone icon buttons plus the PopupMenuButton (three-dot menu), totalling ~432dp — wider than most mobile screens (~360dp)
  • The PopupMenuButton was getting clipped off-screen on narrow devices, making "Show Mail Headers" and other menu items inaccessible
  • Moved 4 less-frequently-used actions (Forward, Move to folder, Snooze, Mark as spam) into the popup menu, leaving only Reply, Archive, Delete, and Flag as top-level icons (5 × 48dp = 240dp — fits comfortably on any screen)
  • Updated widget test: Mark as spam button is present in app bar → now verifies spam is in the popup menu, not a standalone button

Test plan

  • Open an email on a narrow-screen device; confirm the three-dot menu (⋮) is visible in the app bar
  • Tap the three-dot menu; confirm Forward, Move to folder, Snooze, Mark as spam, Mark as unread, Show Mail Headers, Show Mail Structure, Show Raw Email are all present
  • Reply, Archive, Delete, Flag buttons still appear as top-level icons
  • Widget tests pass: task test

🤖 Generated with Claude Code

## Summary - The email detail AppBar had 8 standalone icon buttons plus the `PopupMenuButton` (three-dot menu), totalling ~432dp — wider than most mobile screens (~360dp) - The `PopupMenuButton` was getting clipped off-screen on narrow devices, making "Show Mail Headers" and other menu items inaccessible - Moved 4 less-frequently-used actions (Forward, Move to folder, Snooze, Mark as spam) into the popup menu, leaving only Reply, Archive, Delete, and Flag as top-level icons (5 × 48dp = 240dp — fits comfortably on any screen) - Updated widget test: `Mark as spam button is present in app bar` → now verifies spam is in the popup menu, not a standalone button ## Test plan - [ ] Open an email on a narrow-screen device; confirm the three-dot menu (⋮) is visible in the app bar - [ ] Tap the three-dot menu; confirm Forward, Move to folder, Snooze, Mark as spam, Mark as unread, Show Mail Headers, Show Mail Structure, Show Raw Email are all present - [ ] Reply, Archive, Delete, Flag buttons still appear as top-level icons - [ ] Widget tests pass: `task test` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.