feat: unify workspace routing through tab-based URLs and remove legacy per-type routes

This commit is contained in:
Mohamed Boudra
2026-03-03 21:14:15 +07:00
parent 74ac17f910
commit f3796e2ba5
25 changed files with 204 additions and 569 deletions
@@ -9,7 +9,7 @@ describe("keyboard-shortcut-routing", () => {
it("allows the shortcut on selected-agent routes", () => {
const canToggle = canToggleFileExplorerShortcut({
selectedAgentId: "server-1:agent-1",
pathname: "/h/server-1/workspace/workspace-1/agent/agent-1",
pathname: "/h/server-1/workspace/workspace-1/tab/agent_agent-1",
toggleFileExplorer,
});
@@ -27,7 +27,7 @@ describe("keyboard-shortcut-routing", () => {
it("allows the shortcut on workspace terminal routes", () => {
const canToggle = canToggleFileExplorerShortcut({
pathname: "/h/server-1/workspace/workspace-1/terminal/terminal-1",
pathname: "/h/server-1/workspace/workspace-1/tab/terminal_terminal-1",
toggleFileExplorer,
});