diff options
| author | soryu <soryu@soryu.co> | 2026-01-19 22:40:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-19 22:40:42 +0000 |
| commit | 9aac84bb20c4ca73f113fe74b9a293e4d20cdc93 (patch) | |
| tree | 9b380bcfd1fc922110d1dacd3813696eafa83c10 | |
| parent | 7d5af3d817cf8aa62c9ee12b7f78a17730182e1d (diff) | |
| download | soryu-9aac84bb20c4ca73f113fe74b9a293e4d20cdc93.tar.gz soryu-9aac84bb20c4ca73f113fe74b9a293e4d20cdc93.zip | |
Add right-click context menu for contracts on contracts and board pages (#11)
Implement a reusable ContractContextMenu component that provides:
- Mark as Complete/Active/Archive status actions (conditionally shown)
- Go to Supervisor Task link (when supervisor exists)
- Delete action with confirmation
Integrate context menu into:
- ContractList.tsx on the contracts page
- WorkflowBoard on the workflow/board page via PhaseColumn and WorkflowContractCard
Features match ElementContextMenu patterns:
- Fixed positioning with z-50
- Click outside and Escape key close handlers
- Viewport overflow prevention
- Dark theme colors (#0a1628, #0d1b2d, #75aafc, #9bc3ff)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 files changed, 0 insertions, 0 deletions
