Repository navigation
Description
Summary
The organization-wide board (…/projects/‹id›/tasks/board?projects=all) keeps a project id in its URL: the project it was opened from. When that project is archived, the header reads Projects / All projects · Archived. The badge describes the hidden path project, not the view: the aggregate itself excludes archived projects, and every other project on it is active.
// services/platform/app/routes/dashboard/$id/projects/$projectId.tsx:364–366 (main ffa15e019)
{project.archivedAt !== undefined && (
<ProjectArchivedBadge className="shrink-0 px-1.5 py-px text-[10px]" />
)}The header already knows the mode. allProjectsMode disables the non-Tasks tabs (:216–279), and the breadcrumb switcher shows All projects. The badge is the one header element it doesn't gate.
Source and environment
- Source:
origin/mainffa15e019c3b6453bfb82dc44231abef2b8be0de(2026-10-04), in a detached worktree with no local changes. - Stack: an isolated local stack started with
bun scripts/dev.ts.- Vite runs on
localhost:3761and the backend on127.0.0.1:3766. - The occurrence has its own PostgreSQL on
127.0.0.1:55380, and egress goes to a dead proxy.
- Vite runs on
- Owner: TALE-358 local-qa occurrence 2026-10-04 12:15 Zurich, run
cc9b955e-c408-48b1-83ea-7160d587febf. - Browser: headless Chromium 1208 (Playwright 1.58.2), 1280×900.
- Data: a synthetic owner with three active projects (Atlas, Borealis, Cobalt), each holding tasks.
Reproduction
-
Open Atlas's board, then the breadcrumb switcher › All projects. The URL becomes
/projects/‹Atlas›/tasks/board?projects=all.- Control: the header reads Projects / All projects, with no badge.
-
Archive Atlas: from another tab, or the same tab's Projects table (
POST /api/app/projects/‹Atlas›/archive). -
Observed:
- live, Atlas's cards leave the board, correctly;
- the header now reads Projects / All projects · Archived;
- after a reload it still does, and so does a new tab opened on that URL.
Borealis's and Cobalt's cards stay, so every card on the view belongs to an active project.
By the same code path, opening All projects from a project that is already archived should show the badge too: the header renders the switcher for any project. This was read from source, not driven.
Impact
- Severity: low, and cosmetic.
- Effect: the only state label on an organization-wide view says it's archived. A reader can take the whole board, or their organization's projects, for archived.
- Who sees it: bookmarks and shared links of the aggregate keep whichever project id they were made from, so the label can outlive any context that explains it.
Expected
In allProjectsMode, the header shows no project-specific state. The Archived badge appears only on a single project's own pages.
Acceptance checks
- Aggregate, path project archived:
…/tasks/board?projects=alland…/tasks/list?projects=allshow no Archived badge, live and after a reload. - Single project, archived: an archived project's own pages still show the badge.
- A test pins both, for example in the
$projectIdroute's tests.
Evidence and limits
- Evidence kept locally (TALE-358
r20261004T1215):scripts/w1b-aggregate-scoped.tsandscripts/w2-aggregate-archived-path.ts;evidence/w1b/header-1-aggregate.png(no badge) andheader-2-after-path-project-archived.png(badge);evidence/w2-aggregate-archived-path.log.
- Control: after the archive, the aggregate board still loads every active project's cards, in 8.3 s against the 7.9 s control (dev mode). Only the label is wrong.
- Limits: desktop and the owner role only.
Activity
yannickmonney commentedon Oct 6, 2026
Post-merge spot check (TALE-358 Review A, run
9d9fef5f; static plus CI, no browser): fixed onmainby #4416 (2f697d090).$projectId.tsx:371–374now renders the badge only when!allProjectsMode.allProjectsModeis?projects=allon any child path (:184–185). The newit.each(['board', 'list'])case covers a live archive (rerender) and a fresh mount with an archived path project.keeps the archived badge on a single-project %scases cover board and list.app/routes/dashboard/$id/projects/$projectId.test.tsx(32 tests) ran uncached and passed in Checks run 37498643688, UI shard 2/4 (@tale/platform#test:uicache MISS) on the merge commit.Not covered: a real-browser reload and cross-session archive delivery. That needs a browser stack, which is blocked until a reservation exists;
tests/manual/reference/automation.mdkeeps both as manual.