Conversation
Add @oncontextmenu handler to the session-item div in SessionListItem.razor that opens the same actions menu as the ⋯ button. The browser's default context menu is suppressed via @oncontextmenu:preventDefault. The handler only opens the menu if it isn't already open, preventing accidental close on repeated right-clicks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PR #286 Review — "feat: open ⋯ menu on right-click/contextual click on session items"CI Status: Consensus Findings (flagged by 3+ of 5 models)🟡 MODERATE —
|
| # | Severity | Location | Finding |
|---|---|---|---|
| 1 | 🟡 MODERATE | mode-switch-scenarios.json step 3 |
Missing wait step after synthetic contextmenu event before asserting DOM state |
Recommended action:
Review by 5-model parallel dispatch (claude-opus-4.6 ×2, claude-sonnet-4.6, gemini-3-pro-preview, gpt-5.3-codex) with 2+ model consensus filter.
PR Review Squad — PR #286 Re-Review Round 2CI Status: Previous Findings
🟡 MODERATE
🟢 MINOR
Recommended Action:
|
- Add 200ms wait between dispatchEvent and .session-menu check in right-click-opens-session-menu scenario (Blazor renders async) - Add @oncontextmenu:stopPropagation to rename input to preserve native text-selection context menu when right-clicking inside rename field Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Summary
Right-clicking (contextual click) on a session in the left sidebar now opens the same ⋯ actions menu that the ellipsis button opens. The browser's default context menu is suppressed.
Changes
@oncontextmenuhandler withpreventDefaulton the session-item div. TheOpenContextMenumethod only opens the menu if it isn't already open (prevents accidental close on repeated right-clicks).right-click-opens-session-menuwith CDP test steps.Testing