gadget/gadget-code/frontend/src/components
Rob Colbert 5c56f95cd6 Implement workspace mode switching with validation
- Add isProcessingWorkOrder flag to track Agent work order processing
- Update onRequestWorkspaceMode with mode transition matrix validation
  - Idle → User/Agent: Always allowed
  - User → Agent: Always allowed (file editor checks for future)
  - Agent → User: Only if !isProcessingWorkOrder
  - All other transitions: Rejected with reason
- Extend RequestWorkspaceModeCallback with optional reason parameter
- Update frontend socket client to capture rejection reason
- Update handleWorkspaceModeChange to display rejection reason in toast
- Update WorkspaceModeIndicator to allow mode transitions per matrix
- Fix FilesPanel RW/RO indicator swap bug
- Document mode transition matrix and behavior in workspace-management.md
2026-05-02 18:13:31 -04:00
..
Clock.tsx Implement dark industrial theme, Project Manager, and JWT authentication 2026-04-28 17:13:49 -04:00
FilesPanel.tsx Implement workspace mode switching with validation 2026-05-02 18:13:31 -04:00
GadgetGrid.tsx welcome to The Grid 2026-05-01 22:28:22 -04:00
Header.tsx theme enforced and correctly implemented; e2e tests added for theme 2026-04-28 17:43:05 -04:00
LogPanel.tsx workspace management progress 2026-05-02 16:38:49 -04:00
Navbar.tsx created by merging gadget-code and gadget-drone 2026-04-28 09:20:37 -04:00
StatusBar.tsx Implement dark industrial theme, Project Manager, and JWT authentication 2026-04-28 17:13:49 -04:00
WorkspaceModeIndicator.tsx Implement workspace mode switching with validation 2026-05-02 18:13:31 -04:00