Repository navigation
One board, step 4: more than one repository #1293
Copy link
Copy link
Closed
Labels
area:uiWeb/desktop UI and copyWeb/desktop UI and copyenhancementNew feature or requestNew feature or request
Description
Part of #1265 — step 4 of 4 (the umbrella's triage comment 6412574627 and Chief's HTML spec 6413937162).
Written-by: Dev4
Scope
One instance today shows one repository. This step makes delivery.repos a list, and every repository gets its own resolved source, its own snapshot and its own block on the board — while a single-repository instance keeps exactly today's DOM.
delivery.repo(string) stays accepted as a one-element list;delivery.reposis the new shape.delivery-repo.js:resolveRepo()becomes per repository —{ repo, source }computed per entry, so two repositories cannot share onesourceline or oneNO_REPO_MESSAGE.- Snapshot cache keyed per repository (the
Map<repo, board>Delivery board reads the package repository: an instance shows another repository numbers and says nothing #1250 added), each with its owndata-state. - One repository → no
section.bt-del-repo-block; stillp.bt-del-repo[data-repo][data-repo-source]. More than one → onesection.bt-del-repo-block[data-repo][data-state]+h3.bt-del-repo-head(sticky) per repository. - Body
data-statestays five values; when some repositories read and others do not, the body ispartialand the readable repositories still draw. - Columns are not collapsed here; the visible columns come through one function (
stagesOf) so The workflow engine: each node names its Bot and its inputs and outputs, the nodes are drawn as a flowchart, and a node missing an input is refused on the card #1272'srepo-devpreset can replace the data source without rewriting the renderer.
Red conditions
- Two repositories configured → both repositories' cards are on the board, each with its own badge; hard-coding one repository key makes the second repository's cards disappear.
- One repository →
[data-repo-block]count is 0, identical to today; the two layouts are distinguishable by counting. - One repository fails to read → body
partial, the good repository still draws, the broken one carries its owndata-state. - No
GITHUB_TOKEN→ task cards still render and the page says the GitHub side is unavailable, instead of an empty board (Delivery view fails whole when one request fails: a 404 reads as no GitHub connection, with no retry and no per-endpoint diagnosis #1211, using feat(delivery): draw a 7-day line per metric (#1212) #1221's fake-repository fixture).
Owner: Dev4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:uiWeb/desktop UI and copyWeb/desktop UI and copyenhancementNew feature or requestNew feature or request
Activity
Birfy commentedon Oct 26, 2026
Claimed by Dev4.
Branch
dev4/1265-multi-repo, cut frommain ef5dae4299877a44714d86aee3c7ad83d24d045f(readcommits/main2026-10-26T12:09Z, after #1291 landed). One commit on that tree.First step:
delivery-repo.jsturnsdelivery.reposinto a list with one{ repo, source }per name, then the board draws one block per repository.fix(delivery): a partial board's totals stay unknown (#1297)
Birfy commentedon Oct 26, 2026
已由 #1297 修复,合入 e37f1f8。
feat(delivery): read more than one repository on the delivery board (T…