Skip to content

Make sidebar context menu selection-aware#129

Open
bholmesdev wants to merge 1 commit into
mainfrom
codex/issue-86-selection-aware-sidebar-context-menu
Open

Make sidebar context menu selection-aware#129
bholmesdev wants to merge 1 commit into
mainfrom
codex/issue-86-selection-aware-sidebar-context-menu

Conversation

@bholmesdev

Copy link
Copy Markdown
Owner

Closes #86

Summary:

  • Preserve existing multi-selection when right-clicking a selected sidebar row.
  • Reset selection to the clicked row when right-clicking outside the current selection.
  • Hide single-item-only actions for multi-selection and show counted bulk delete for file/folder selections.

Checks:

  • pnpm --filter @hubble.md/ui exec vitest run src/components/sidebarSelection.test.ts
  • pnpm exec biome check packages/ui/src/components/Sidebar.tsx
  • pnpm build:desktop
  • pnpm check
  • git diff --check

E2E:

  • Ran HUBBLE_DESKTOP_ENABLE_CDP=1 pnpm dev:desktop.
  • Verified multi-file selection right-click shows only "Delete 2 items".
  • Verified right-clicking outside selection resets selection and shows normal single-file menu.
  • Verified mixed folder/file selection shows only "Delete 2 items".

Notes:

  • Desktop build warns that apps/web wants Node 22.x while current runtime is Node v24.14.0; build/check still pass.

Co-Authored-By: Oz <oz-agent@warp.dev>
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hubble-md-web Ready Ready Preview, Comment Jun 30, 2026 9:20pm

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.

Selection-aware sidebar context menu

1 participant