Repository navigation
Conversation
…it is The new top-level page (/prs) lists every open pull request in the team's installed repos, people's and CoderHelm's, grouped by who has the next move (you, CoderHelm, a person, machines, done). Each row says the one state the server decided and the sentence of what it needs and from whom, with the rule it comes from. CoderHelm shows with its own hexagon face, an AI label and the person it works for. The detail opens beside the list on a wide screen and over it otherwise (full screen on a phone): the path to merge, the wait ledger and the timeline with CoderHelm's runs folded. Saved views, the scope trail (org, then repo) and the filters live in the address. j and k move, Enter opens, Esc closes, / searches. Long lists draw only the rows near the screen, the list is read again only while the tab is visible, and a backend without the endpoint gets a plain note instead of an error. The shared list grows what the page needed: shapes for statuses (never colour alone), row attributes and an eyebrow line on ListRow, a windowed list hook, and a generic AvatarGroup that AvatarStack now uses.
…pe switcher - The needs sentence sits right under the title, above the metadata, and is never cut: on a phone it wraps and the title gives way instead. - The turn strip wraps its buttons, so every label is whole from 1024 to 1440 wide. - On a phone the saved views are one scrolling row with a fade and a chevron at the edge while more is off screen. - Each step of the org and repo trail is a bordered button that opens the choices at its level; the repo filter in the toolbar it duplicated is gone. - Stacked faces show one initial each, two at most, then "+n".
The phone navigation keeps "pull-requests" as the second place in its bottom bar; the section now uses that key, so the page takes it there when both are in.
coderhelm
Bot
dismissed
their stale review
December 5, 2026 17:15
Superseded by CoderHelm's latest review
- GET /api/prs's backfill shows quietly under the sync time while an organization's closed and merged pull requests are still being read: "Reading history: 9 of 14 months", with the pause and its reason when there is one, and each repo's count behind a disclosure. Nothing shows when it is done or absent. The wide data answers it, and the spec checks both. - docs: getting-started/pull-requests describes the list (coverage, turn groups, every state with its sentence and the rule behind it, CoderHelm on a row, saved views, the detail, the keyboard, history reading, the phone) with screenshots made from invented data.
coderhelm
Bot
dismissed
their stale review
December 5, 2026 18:19
Superseded by CoderHelm's latest review
Contributor
|
Auto-merge |
…in the phone bar The merge of main into this branch replaced the app shell (components/client-shell.tsx) with a different file that began with prose, so the dashboard no longer type-checked. The shell is main's again with this branch's two lines: the Pull requests icon in the icons import and in NAV_ICONS. Every other file of that merge matches a clean merge of main. With the phone's bottom bar from main, Pull requests now takes the place the bar keeps for it, as "PRs", and Security moves into the Menu sheet. The phone navigation spec says so.
With Pull requests in the menu, "Pull request" matched both the menu entry and the alert's link; the spec now asks for the exact name.
coderhelm
Bot
dismissed
their stale review
December 5, 2026 20:16
Superseded by CoderHelm's latest review
Main's phone bar keeps a "prs" place (Inbox, Runs, PRs, Chat); the Pull requests section now uses that key, so it fills the place with /prs, and the bar is main's as it is. The shell, nav and routes are main's plus this branch's additions: the Pull requests icon, its section after Runs and its route. With Inbox and Pull requests both in the menu, a short window (820px or less) takes the last of the air out of the menu's rows, so the whole menu still fits 1280x800.
| } | ||
|
|
||
| /** "1 d 4 h", "47 min": a ledger total. */ | ||
| export function longSecs(secs: number): string { |
Contributor
There was a problem hiding this comment.
🛑 Blocking (correctness): Near-identical helpers added together (scope)
dashboard/src/app/prs/model.ts adds longSecs next to shortSecs, added in the same change. Keep one helper with the shared logic (a parameter for what differs) and call it from both places. If the ticket truly needs it, say why on a line Wider than the ticket: dashboard/src/app/prs/model.ts: <why>.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A new top-level page, Pull requests (
/prs), lists every open pull request in the team's installed repos, people's and CoderHelm's, grouped by whose turn it is: you, CoderHelm, a person, machines, done. Each row shows the one state the server decided and a sentence saying what the pull request needs next, from whom, and which rule asks for it (repo rule, CODEOWNERS, required check). CoderHelm sits in the same rows as people, with its own hexagon face, an AI label and the person it works for ("for @octocat").It reads
GET /api/prsandGET /api/prs/detailfrom the platform change that adds them (CoderHelm/coderhelm-platform, the pull requests API). On a backend without them (a 404, before an install updates) the page says the list arrives with the next update and points to the Reviewer, and it stops asking.Changes
app/prs/page.tsx: the scope trail (All orgs, then the org, then the repo) is the address (?org=&repo=); each step is a bordered button that opens the choices at its level. Saved views (My turn, CoderHelm working, Needs decision, Ready, Stale) and a strip of counts per turn, each a filter sent to the server. On a phone the saved views are one scrolling row with a fade and a chevron at the edge while more is off screen; wider, they and the turn strip wrap, so every label is whole from 1024 to 1440. Search with/. Groups by turn, with each group's count and oldest wait, and Done folded.repo#number, the title, the needs sentence right under it (never cut: it wraps, and the title gives way on a phone), then (fromsm:up) the author or CoderHelm with "for @person", the last action, checks, approvals, CoderHelm's review, size, age and the modifiers (stale, stacked, large, agent-authored), with Next and the wait on the right and the people as at most two faces (one initial each) and "+n". On a phone a row is the state and where, the title on one line, and the whole sentence.app/prs/detail.tsx: beside the list from 1440px, over it below that (full screen on a phone). The needs sentence large, Next with the rule and since when, links to GitHub, CoderHelm's run and its review; the path to merge as a checklist (each mark has a shape and spoken words); the wait ledger as one bar and the same totals in words; the timeline with All / People / CoderHelm / Checks, CoderHelm's runs folded into blocks (the running one open); links to other pull requests with their state; the people and whose turn it is. It is read again every 15 s while the tab is visible.j/k(and the arrows on a row) move,Enteropens,Esccloses and returns focus to the row,/searches. Every row is named by its sentence ("acme/web 212, Round cart totals per currency. CoderHelm working. Checks fail on lint: CoderHelm is fixing them, round 2. Next: CoderHelm, waiting 4 min. Written by CoderHelm for @theo."), carriesaria-posinset/aria-setsize, and the overlay traps focus. Changes between reads are said once in a polite live region ("1 pull request changed: 1 now needs you."), never row by row.components/list/windowed.ts, window scroll, measured row heights); the keyboard reaches rows that weren't drawn.StatusLook.shapeandShapeIconinlist/status.tsx(statuses that read apart without colour);ListRowtakesrowProps/rowRef, aneyebrowline,oneLineTitle,metaOnPhoneandchipsOnPhone;ListtakeslistProps/listRef;AvatarGroupandCoderHelmAvatarinsupport.tsx, withAvatarStacknow built onAvatarGroup.need: "view"), its icon, and itsroutes.tsentry. Its section key isprs, the place main's phone bar (Inbox, Runs, PRs, Chat) keeps for it, so on a phone it fills that place with /prs. With Inbox and Pull requests both in the menu, a window 820px tall or less takes the last of the air out of the menu's rows, so the whole menu still fits 1280x800.backfillfromGET /api/prsshows quietly under the sync time while an organization's closed and merged pull requests are still being read ("Reading history: 9 of 14 months", with the pause and its reason when there is one), each repo's count behind a disclosure; nothing when it is done or absent.docs/content/docs/getting-started/pull-requests.mdx(listed in Getting started, recorded inpublished-pages.json) covers the list's coverage, turn groups, every state with its sentence and rule, CoderHelm on a row, saved views, the detail, the keyboard, history reading and the phone, with these screenshots indocs/public/images/pull-requests/.api.tstypes and calls for both endpoints.Verification
npm run lint(ui-lint, no-hosted-links, fixture words),npm run typecheck,npm run check:openapi; docs:npm run test:unit,npm run build,npm run typecheck,check:linksandcheck:output.e2e/prs.spec.ts(new, 20 tests, history reading included, all mocked with invented data): turn groups and needs sentences, the columns, CoderHelm's face and AI label with "for @person", Unknown shown; shapes per state and the sentence names; the detail's checklist, ledger and folded runs, and Esc returning focus; the split view andjcarrying it; saved views and turn filters in the address and the request; the scope trail; the keyboard; 500 rows windowed; polling only while visible; the change announcement; empty My turn, empty filter, a failed read with retry, the 404 fallback, a held source, a pull request that isn't the team's; a 375px phone (the needs sentence never cut, the title cut instead, no saved-view chip clipped without the scroll cue, full-screen detail, 44px targets, no sideways scroll), the turn strip's labels whole at 1024, 1280 and 1440, and the needs sentence placed between the title and the metadata.no-sideways-scroll,no-mid-word-breaksandreadable-textfor/prs(the wide data answers both new GETs, with the detail open),shell-menu,shell-nav,phone-nav,phone-inbox,audit-alertsand the support specs: passing; CI's four end-to-end shards pass on the head.The images live on the
prs-view-shotsbranch only, not in this change.