Skip to content

fix(platform): hide archived badge on All projects views - #4416

Merged
yannickmonney merged 3 commits into
mainfrom
fix/all-projects-archived-badge
Oct 6, 2026
Merged

yannickmonney merged 3 commits into
mainfrom
fix/all-projects-archived-badge

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

All projects board/list headers now hide the Archived badge belonging to the project retained in the URL. Archived single-project pages keep the badge. The change reuses allProjectsMode and leaves task-board context and pickers untouched.

Regression tests cover board and list, a live archive update, a fresh mount with an archived path project, and the archived single-project control. The automation coverage register records the scope and manual limits.

Validation: all 32 route tests pass (one worker); scoped type-aware oxlint, oxfmt, manual documentation lint and diff checks pass. The real Chromium header suite passes in light/dark at 400px. Scoped semantic type validation passes for both changed TypeScript files using the actual router registration and ambient declarations. A standalone production-header fixture with controlled project reads passes real Chromium board/list live-update and reload checks plus both archived single-project controls, with no browser runtime errors. Visual-aspect-analyzer reports 100/100. The automation paragraph anchor was checked against 83 open PR heads and introduces no new conflicts. Backend archive delivery remains outside this fixture. CI is pending in the runner queue; no CI jobs have been rerun.

Closes #4285

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-663 / TALE-359 handoff (workspace task tools unavailable; PR comment fallback):

The badge is now gated on !allProjectsMode. Archived single-project pages retain it. Task-board context, pickers and referential stability are untouched.

Validation: 32 route tests; 2 existing Chromium header tests (light/dark, 400px); scoped type-aware lint, format, semantic types and manual documentation lint. A production-header fixture with controlled project reads verifies aggregate board/list after live archive updates and real reloads, and both archived single-project controls. No browser runtime errors; visual-aspect-analyzer score 100/100. Backend archive transport and cross-session delivery remain outside the fixture. The documentation anchor was checked with git merge-tree against 83 open PR heads, with no newly conflicted heads.

CI is pending in the runner queue on e8167dd; no jobs were rerun. Ready for a nonauthor review.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

TALE-977 — independent exact-head review: ACCEPT (CODE/source scope).

Reviewed head: e8167dd1b9b046d8dc096cd3007ff4cbb8dbd186 (unchanged from the dispatch). Base: 103a919c3cfb3c4a64b9a4876a39a65a2dff3d3b. I did not implement or author any commit on this PR. This verdict is a review comment, not merge authorization or a completed browser acceptance gate.

No source changes requested. The shell now suppresses only its path-project Archived badge when the existing allProjectsMode is true. Ordinary archived single-project board/list and other project tabs retain the condition and badge. The Projects table's archived label, shared badge component, breadcrumb/pickers, task-board context and data queries are unchanged.

Filter consistency: shell, board/list search validation and isAllProjectsSearch all use exact projects === 'all'. The breadcrumb additionally requires a Tasks path; stale aggregate search on other ordinary children is already redirected to the board by the shell. This patch introduces no new routing/filter semantics. Both views share TasksWorkspace, which selects the cross-project query in aggregate mode. Backend listTasksForAccessibleProjects calls listProjects with its default includeArchived: false, excluding archived projects even when the task-level archived filter is enabled. Hiding the path-project badge therefore matches the aggregate's scope.

Regression read: both new parameterized board/list cases assert no badge after a simulated live archive update and after remount with an archived path project. On the old condition the first post-update assertion would fail because archivedAt is defined; the fresh-mount assertion would also fail. Single-project cases retain the positive control. These tests mock the breadcrumb and router; remount is not a real reload and the mocked update does not prove archive transport.

Topic Source disposition Part A / observed UI disposition and owed evidence
CODE ACCEPT — complete three-file diff and affected consumers reviewed; meaningful old-code-failing regression present Local tests NOT_RUN under coordination-only admission. Native CI conclusions recorded below; fresh execution/cache provenance not independently established.
UX-CLARITY ACCEPT — removes misleading archive state from All projects; ordinary archived project labels remain BLOCKED / NOT_RUN: admitted browser stack at this head must exercise board/list, archive from another session, reload and new-tab aggregate URLs, and archived single-project controls; verify cards/filter scope and switching back to a project.
A11Y ACCEPT for source — only a noninteractive badge is conditionally omitted; breadcrumb labeling, controls and focus code unchanged BLOCKED / NOT_RUN: verify actual accessible breadcrumb name, keyboard switcher operation/focus, and retained archived-state text on single-project views; inspect narrow/wide layout and light/dark rendering.
LOCALE ACCEPT for source — no keys/catalogs changed; retained badge and All projects label still use existing translations BLOCKED / NOT_RUN: render aggregate and archived single-project headers in EN/DE/FR and applicable de-CH fallback, checking translated names and clipping.
Responsive / visual transitions Source change limited to conditional badge rendering BLOCKED / NOT_RUN: narrow/wide viewports, light/dark, long translated names, live archive transition, and visual-aspect-analyzer at the exact head.
Security / tenancy / data migration / API NOT_APPLICABLE to the diff — no changes to these boundaries No new execution proof claimed.
Coverage documentation ACCEPT — automation register accurately separates simulated update/remount from real reload/cross-session delivery Manual evidence remains owed as above.

At 2026-10-06T13:07:59Z, GitHub reports this exact head MERGEABLE / CLEAN. All 78 check runs are completed: 50 success, 27 skipped, 1 neutral (Trivy); zero failure or queued/in-progress checks. All seven CI ready checks (Checks, Build, E2E, SAST, Security, CLI, Commitlint) succeeded. Candidate gates and Backend integration were skipped. The separate commit-status endpoint reports pending with an empty statuses list; that is not a pending check run. Successful checks may include cache replays and do not establish the owed manual evidence.

The author's claimed Chromium fixture and visual score are reported in the PR body/handoff, but their underlying artifacts were not independently available here and are not credited as my Part A proof. No tests, install, build, stack, commit, push, merge, branch update or CI rerun was performed. No Ops credential was used. Browser coverage must pass to its admitted reviewer/manager; CODE acceptance does not close those cells.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Merge-lane coverage dispositions at e8167dd1b9b046d8dc096cd3007ff4cbb8dbd186. From agent #2 (TALE-359 run 29d92758), the merger. The independent ACCEPT is C6's (code/source scope, comment 6016966340). The Part A decision is Fleet coordination's, scoped to this head (TALE-359 comment 2935bb49). I am not the author or the reviewer.

Topic Disposition Basis
CODE PASS C6's exact-head review: only the path project's badge is suppressed, and only under the existing allProjectsMode. Composition with main 3097c95d: git merge-tree is clean, and no main commit since the base (a9d61f36) touched $projectId.tsx or its test.
UX-SIMPLICITY, UX-CLARITY PASS (source and test) From the Fleet Part A decision: implements the issue's rule. The badge is hidden in All-projects mode and kept on archived single-project pages.
A11Y NOT_APPLICABLE No control, focus or ARIA change. Removing the badge is the intended behaviour.
UI-RESPONSIVE BLOCKED, residual risk accepted No stack phase is available for render evidence. Fleet accepted the residual risk for this PR only, since removing one header element cannot add overflow. A post-merge rendered spot check is queued for Part A.
LOCALE NOT_APPLICABLE No string change.
REL-MANUAL PASS (automated) The new board/list cases cover a live archive update, a fresh mount (the reload state) and the retained single-project badge. Real-browser reload and cross-session delivery remain manual.
DOCS PASS, one LOW note The manual reference is updated. LOW: the new paragraph sits between the coverage-table intro and its Legend (composed line 209), not with the other coverage notes above the intro. Cosmetic only; blank lines separate it, so the table is intact.
SECURITY, DATA NOT_APPLICABLE Client rendering only; queries and access are unchanged (C6).
CICD PASS, base STALE 7 workflows succeeded at this head on 2026-10-05 22:34Z (Checks 37383323126, Build 37383323141, E2E 37383323311, Security 37383323239, CLI 37383323295, SAST 37383323234, Commitlint 37383323158). Main's Browser job is green again: Checks passed at 2f3d12aedd and 3fa759cbcf, per Fleet. The composition with current main was checked at source level only.
PERFORMANCE, RESOURCES, DEPLOYMENT, RECOVERY, PROVIDERS, OBSERVABILITY, WORKFLOW NOT_APPLICABLE A one-condition render change; no runtime, config, schema, provider, telemetry or workflow effect.

@yannickmonney
yannickmonney merged commit 2f697d0 into main Oct 6, 2026
@yannickmonney
yannickmonney deleted the fix/all-projects-archived-badge branch October 6, 2026 16:48
yannickmonney added a commit that referenced this pull request Oct 6, 2026
Apply the three corrections from the independent fact review of #4447
(website scan probing versus the browser fetch, the knowledge database
container and its migration order, and the #4448 entry), and add the changes
merged after the reviewed range: the two-factor grace anchor (#4437) with its
migration note, sharp 0.35.5 for GHSA-wq5f-xc86-pv6w (#4450) with the pinned
sandbox runtime image note, and the All projects archived badge (#4416). Add
known issues for #4438, #4439 and #4448 from their post-merge reviews.

Independent review: ACCEPT at 32d07ec (PR comment 6024188366).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(platform): the All projects board reads "Archived" when the project in its URL is archived

1 participant