fix(web): remove the Tasks panel from the workspace rail - #4352
Conversation
|
Signed-off-by: Hubert Zub <hubert.zub@gmail.com>
The Tasks tab removal deleted todosSupported/todosCompleted/todosTotal from WorkspacePanelProps, but the test still passed them, breaking tsc -b. Remove them so the build is green. Co-authored-by: Isaac Signed-off-by: Hubert Zub <hubert.zub@gmail.com>
OMNI-2350 removes the Tasks tab from the right-side workspace panel entirely: the desktop rail tab, the mobile Tasks drawer + FAB entry, and the TodoPanel component. Drops the "todos" RightRailTab member and its persisted-state allow-list entry (sessions that had it stored fall back to Files). The chatStore.todos SSE data slice is left intact — it is the harness data contract, not the panel UI. Co-authored-by: Isaac Signed-off-by: Hubert Zub <hubert.zub@gmail.com>
3791a6c to
697d317
Compare
|
/review |
|
Related issue
Closes OMNI-2350
Summary
Removes the Tasks tab from the right-side workspace panel entirely — desktop and mobile:
TodoPanelcontent branch) fromWorkspacePanel.AppShell/ChatHeader.TodoPanelcomponent and its test."todos"member ofRightRailTaband its entry in the persisted-workspace-state allow-list, so a session that had the Tasks tab stored falls back to Files on next load.The
chatStore.todosSSE data slice (session_todosevents) is intentionally left in place — it's the harness data contract, not the panel UI.Test Plan
tsc -b— passes.oxlint --deny-warnings— clean.vitest run— full suite green (5374 passed, 0 failed). UpdatedAppShell/ChatHeader/WorkspacePanelsuites and removed the two Tasks-drawer tests.Demo
Type of change
Test coverage
Coverage notes
Existing
AppShell/ChatHeader/WorkspacePanelsuites were updated to drop the removed props and the Tasks-drawer/menu tests; the remaining tests assert the rail and mobile FAB render correctly without Tasks. Manual verification: confirmed the Tasks tab is absent from the desktop rail and the Tasks entry is absent from the mobile FAB, and that the other tabs/entries still render and switch correctly.Changelog
[UI] Remove the Tasks panel from the workspace rail