From 6d81734c66da0b063f444df129201c1cb5f92c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Flor=C3=AAncio?= Date: Mon, 6 Apr 2026 12:52:42 +0100 Subject: [PATCH] fix(web): reset stale topbar branch when navigating between tasks (#546) --- .../components/task/branch-path-popover.tsx | 4 +- apps/web/e2e/fixtures/backend.ts | 2 +- apps/web/e2e/fixtures/test-base.ts | 11 ++ .../tests/kanban/stale-topbar-branch.spec.ts | 112 ++++++++++++++++ .../domains/session/use-session-resumption.ts | 122 ++++++++++++++---- 5 files changed, 223 insertions(+), 28 deletions(-) create mode 100644 apps/web/e2e/tests/kanban/stale-topbar-branch.spec.ts diff --git a/apps/web/components/task/branch-path-popover.tsx b/apps/web/components/task/branch-path-popover.tsx index 8efdca4af1..f0708404d4 100644 --- a/apps/web/components/task/branch-path-popover.tsx +++ b/apps/web/components/task/branch-path-popover.tsx @@ -174,7 +174,9 @@ function BranchPillTrigger({ return (
- {displayBranch} + + {displayBranch} + {canRename && (