fix: Apply context-menu actions to bulk selection #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/bulk-context-menu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the Obsidian report Context menu does not work with bulk selection.
The context-menu handler always opened the clicked message and used single-message actions, ignoring the checked selection. Right-clicking a checked row now offers bulk Star/Unstar, read/unread, Archive, junk/not-junk and Delete through the existing bulk action path. Opening this menu neither opens nor marks a message read, and preserves the selection. Reply/Forward remain single-message actions only. Right-clicking outside the selection retains the ordinary single-message menu.
Verification
bun run test,bun run build,bun run lint,git diff --check origin/main...HEAD— all passed.Scope / risk
Frontend event routing only; uses the existing bulk backend API. Separate from the Ctrl/Cmd-click selection fix. No deployment or Obsidian note edits.