diff options
| author | soryu <soryu@soryu.co> | 2026-01-19 19:59:50 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-19 19:59:50 +0000 |
| commit | 13345fa1e26c5d004f4fa89c4a9341fb3926a433 (patch) | |
| tree | d2eba5003bcab5574c6f62b77c10eb9613cedd17 /frontend/src/services | |
| parent | 0833fb1f30c0c3b920157deb882e0e902c3af02a (diff) | |
| download | soryu-13345fa1e26c5d004f4fa89c4a9341fb3926a433.tar.gz soryu-13345fa1e26c5d004f4fa89c4a9341fb3926a433.zip | |
Restore context menu for contract cards on workflow/board page
- Create ContractContextMenu component with options:
- Mark as Complete
- Mark as Active
- Archive
- Go to Supervisor Task (when available)
- Delete
- Add onContextMenu handler to WorkflowContractCard with e.preventDefault()
to prevent browser default context menu
- Pass onContextMenu through PhaseColumn and WorkflowBoard components
- Implement context menu state and handlers in workflow.tsx route
- Context menu appears at click position and closes on click outside or Escape
The key fix is calling e.preventDefault() in the card's onContextMenu handler
to prevent the browser's default context menu from appearing.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'frontend/src/services')
0 files changed, 0 insertions, 0 deletions
