Skip to content

fix(ui): consolidate session row actions into menu - #747

Merged
Astro-Han merged 5 commits into
mainfrom
fix/738-sidebar-row-menu
Jul 12, 2026
Merged

Astro-Han merged 5 commits into
mainfrom
fix/738-sidebar-row-menu

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • consolidate four inline session-row actions into one Base UI overflow menu
  • preserve pin, rename, archive, delete-confirmation, and single-flight behavior
  • keep hover, focus, Portal, and destructive-color states aligned with shared primitives and tokens

Why

The previous four-button overlay crowded the highest-frequency sidebar surface and required masking CSS to prevent actions from overlapping session titles and metadata.

A single overflow menu restores scanning space without removing management actions or keyboard access.

Closes #738

Scope

This PR does not add a context menu or change delete confirmation, persistence, or session lifecycle behavior. Pre-existing sidebar indicator-size cleanup is tracked separately in #743.

Verification

Session row overflow menu in the live Electron sidebar
  • npm run -w @maka/desktop typecheck — passed
  • npm run -w @maka/desktop test — 2320 tests passed
  • npm run -w @maka/desktop build-storybook — passed
  • node scripts/audit-alignment.mjs — all fixtures clean
  • Playwright E2E — 5 tests passed in the first CI run
  • live Electron checked at 1280px and 990px
  • CDP confirmed the destructive menu item resolves to --destructive-text
  • independent reviewer profile review using gpt-5.6-sol, max reasoning, and a read-only sandbox — PASS with no P0–P3 findings
  • GitHub Actions CI — typecheck, test, and e2e passed

Impact

Users get a quieter session list with the same management capabilities behind one familiar overflow menu. There are no migrations, compatibility changes, documentation updates, or release-note requirements.

Reviewer notes

Please focus on Portal focus restoration, metadata visibility while the menu is open, destructive contrast, and preservation of async action guards.

Ready for review

  • Verification is complete and the results above are current
  • Impact, compatibility, migration, documentation, and release-note needs are addressed
  • User-visible UI/UX changes include visual evidence, or Verification explains why it is not applicable

@Astro-Han
Astro-Han merged commit e78eb95 into main Jul 12, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the fix/738-sidebar-row-menu branch July 12, 2026 04:03
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.

fix(ui): consolidate sidebar row hover actions

1 participant