Skip to content

fix: run dropdown menu item actions#117

Merged
cxymds merged 1 commit into
mainfrom
codex/fix-dropdown-menu-actions
May 13, 2026
Merged

fix: run dropdown menu item actions#117
cxymds merged 1 commit into
mainfrom
codex/fix-dropdown-menu-actions

Conversation

@cxymds
Copy link
Copy Markdown
Member

@cxymds cxymds commented May 13, 2026

Summary

  • Replace Radix-style onSelect handlers on Base UI DropdownMenuItem with onClick so selected menu actions actually run.
  • Fix language switching, theme switching, user menu actions, and site replication action menu items.

Test Plan

  • source ~/.nvm/nvm.sh && nvm use v22 && pnpm tsc --noEmit
  • source ~/.nvm/nvm.sh && nvm use v22 && pnpm lint
  • source ~/.nvm/nvm.sh && nvm use v22 && pnpm prettier --check components/language-switcher.tsx components/theme-switcher.tsx components/user/dropdown.tsx app/(dashboard)/site-replication/page.tsx
  • curl -L -s -o /tmp/events-after-menu-fix.html -w '%{http_code}' http://localhost:3000/rustfs/console/events/ returned 200

@cxymds cxymds merged commit 5e03f64 into main May 13, 2026
11 checks passed
@cxymds cxymds deleted the codex/fix-dropdown-menu-actions branch May 13, 2026 02:33
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