Skip to content

Page "Your signups" so every signup in a workspace can be reached - #871

Merged
richshaw merged 10 commits into
mainfrom
claude/issue-848-dashboard-paging
Nov 18, 2026
Merged

richshaw merged 10 commits into
mainfrom
claude/issue-848-dashboard-paging

Conversation

@richshaw

@richshaw richshaw commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Fixes #848.

The problem

The organizer dashboard listed only the newest 200 signups (WORKSPACE_LIST_LIMIT), so a workspace with more had no way to reach its oldest ones. Its heading counted the rows that came back, so it said "200 total" no matter how many signups there really were.

The fix

  • listSignupSummaryPageForWorkspace (src/services/signups.ts) returns one page of up to 200 live signups, its offset in the list, nextBefore (the id to page older from) and prevAfter (the id to page newer from). It uses keyset paging ordered by (created_at, id) descending, so signups with the same created_at keep a single order. Same guard and scoping as before: requireWorkspaceAccess, workspace_id, deleted signups left out, archived ones kept.
    • The first page runs one query, reading 201 rows to tell whether an older page follows.
    • A page reached from a cursor (before for older, after for newer) runs one more query. It counts the live signups on either side of the page, which gives its offset and both links exactly.
  • A cursor is a signup id. Postgres looks up its (created_at, id) in a row-value subquery. The issue suggested putting (created_at, id) in the URL, but created_at keeps microseconds and a JavaScript Date keeps only milliseconds. A timestamp sent through the URL would be rounded, and signups made within the same millisecond would be skipped. The subquery is also limited to the workspace, so another workspace's id matches nothing.
  • countSignupsForWorkspace: one count(*) over the same workspaceSignupsWhere. This is Count every signup on the dashboard, not just the 200 listed #851's version.
  • Dashboard (src/app/app/(chrome)/page.tsx): reads ?before= or ?after=. A missing or garbled cursor, or one that matches nothing here, shows the first page and never an error.
    • No count line under the heading (the owner's call): it isn't something an organizer needs. This also drops the old "200 total" line, and the empty state still invites a first signup.
    • More than 200: the list card gets a footer (dashboard-pager.tsx). It shows the range out of the real total ("201–400 of 420") and Newer / Older buttons; the one with nowhere to go is dimmed and inert. The count query runs only then, so a dashboard that fits on one page makes a single query.
    • The footer follows the design system: the table-header bg-surface-raised bar, a hairline divider, and secondary buttons with Lucide chevrons, 44 px tall on phones and 36 px from md.
    • Newer from page 2 links to plain /app.
    • Everything is plain <Link>s, so the page adds no client JavaScript.
  • The cursor parsing, range label and links live in dashboard-paging.ts, with unit tests.
  • GET /api/signups, the MCP list_signups tool and the existing list functions are unchanged, as the issue scoped.
  • CHANGELOG entry under Fixed. affected-articles.mjs finds no help article affected: the articles name only the "Your signups" heading.

Tests

  • signups.db.test.ts, with plain inserted rows:
    • 201 signups (the oldest archived) plus one deleted. The count is 201. The first page is the newest 200 with offset 0 and a nextBefore. The next page is just the archived oldest one, at offset 200. Newer from there gives back the first page exactly.
    • 405 signups over three pages, with a run sharing one created_at across a page edge. The offsets are 0, 200 and 400, every signup appears exactly once, and Newer from page 3 gives back page 2 row for row.
    • 205 signups where 10 share one created_at across the page boundary: each signup appears exactly once.
    • 203 signups a microsecond apart within one millisecond: none is skipped or repeated.
    • A before or after that names no signup in the workspace returns an empty page.
    • A non-member is refused by both functions.
  • dashboard-paging.test.ts: cursor parsing (both params, precedence, missing, empty, repeated, wrong prefix, garbled, too long), the range label, and the Newer / Older links.
  • Ran and passed: pnpm lint, pnpm format:check, pnpm typecheck, pnpm knip, pnpm test (2204). pnpm test:db (682) and pnpm build && pnpm budgets passed at b96f3d7; the later commits only change the page and its helpers. axe (WCAG A/AA and best practice) finds nothing on the first, middle and last pages.

🤖 Generated with Claude Code

https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh

The dashboard stopped at the newest 200 signups and counted only the
rows it showed. It now pages 200 at a time by (created_at, id), with
"Show older signups" and "Back to newest signups" links, and shows the
workspace's real total. The cursor is the last row's id, looked up in
Postgres, because created_at keeps microseconds a JavaScript Date drops.

Fixes #848.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YZ9SSFBkFcnugautFNVZD
@richshaw richshaw added pipeline:ux Changes what a person using OpenSignup sees or does pipeline:working A session is working on it right now labels Nov 12, 2026 — with Claude
@richshaw
richshaw requested a balanced review from Copilot November 12, 2026 01:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@richshaw richshaw added pipeline:tophat pipeline:working A session is working on it right now and removed pipeline:working A session is working on it right now labels Nov 12, 2026 — with Claude

richshaw commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner Author

Tophat: passed

I ran 25dcf8b locally with pnpm dev, using Postgres 16 and Chromium at 1280×900 and 390×844, with made-up data only. One organizer's workspace held 210 live signups: one made in the app, plus 209 inserted with SQL. The oldest of those was archived, and one more was soft-deleted. A second organizer had an empty workspace.

Check Result What I saw
Before (base f01240d): the dashboard with 210 signups ✅ reproduced "200 total", 200 rows, nothing below the list. The 10 oldest can't be reached (871-before-dashboard)
After, page 1 ✅ "210 total", the newest 200 rows, and Show older signups → /app?before=<last id on the page> (871-after-dashboard-page1)
Show older signups ✅ The other 10, archived one included, deleted one left out. Still says "210 total". Only Back to newest signups shows, and it returns to page 1 (871-after-dashboard-page2)
Ties across the page boundary: 16 signups given one created_at, with the page break inside the group ✅ Pages of 200 and 10: 210 titles, 210 distinct, none missing
Bad cursors: garbled (not-an-id';), repeated before, and the oldest signup's id (nothing older) ✅ Each shows page 1 with the real total. No error
Another workspace's signup id as before, as the empty-workspace organizer ✅ "No signups yet. Start one below.", no paging links, and none of the other workspace's titles (871-after-empty-workspace)
A deleted signup's id as before ✅ Paging continues from where that signup was (099 down to 001). If the last row on a page is deleted before someone clicks Show older signups, they still get the right next page
Phone: both pages, then open a signup from page 2 ✅ The links sit under the list with nothing cut off. Tapping "Seeded signup 001" opens its signup page (871-after-phone-page1, 871-after-phone-page2)
pnpm test dashboard-paging, pnpm test:db src/services/signups.db.test.ts ✅ 11 and 92 passed
Console and server log ✅ No console errors. The only server error was the health check looking for pgboss.job, because I didn't run the worker

For the owner (UX): "Your signups" now gives the workspace's real total (it used to stop at "200 total"). A workspace with more than 200 signups gets a Show older signups link under the list, and on older pages a Back to newest signups link. A workspace with 200 or fewer looks the same as before. 871-before-dashboard and 871-after-dashboard-page1/-page2 show the difference.

Screenshots are in https://claude.ai/code/session_016YZ9SSCjB2K7182f3MEd1C. (Link corrected: the first version of this comment pointed at a session that doesn't exist.)


Generated by Claude Code

@richshaw richshaw added pipeline:review pipeline:working A session is working on it right now and removed pipeline:tophat pipeline:working A session is working on it right now labels Nov 12, 2026 — with Claude

@richshaw richshaw left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: passed (round 1)

This PR pages "Your signups" with a keyset cursor and shows the workspace's real total, as #848 asks. The new service function runs requireWorkspaceAccess first and builds its filter from workspaceSignupsWhere, so workspace_id scoping and the deleted/archived rules match the old list. The cursor subquery is limited to the same workspace, so another workspace's id gives an empty page, and the dashboard then falls back to page 1. Postgres compares created_at against itself, so microseconds are kept and nothing passes through a JavaScript Date. The (created_at, id) order gives ties a fixed order. Each item in "Done when" is covered: the db tests for 201 rows with one archived and one deleted, a tie group across the page boundary (rows 0–9 share a time and the break falls at row 5), the label and link unit tests, and CI.

Blocking (0)
Optional (2):

  • src/app/app/(chrome)/page.tsx:29: the dashboard calls the services directly, not through signups.cached.ts. It did that before this PR, and nothing else on the page reads the same data, so per-request dedupe would change nothing.
  • src/services/signups.ts:647: listSignupSummariesForWorkspace, which MCP list_signups still uses, orders by created_at alone with no id tie-break. That's harmless while it returns a single capped page, but whoever pages that tool later should reuse the new function.

Earlier threads: none. Copilot couldn't review (quota).
Checks: CI is green on 25dcf8b (lint-type-test, e2e, CodeQL). The branch merges cleanly into current main (6629400). The tophat on 25dcf8b passed, and nothing has changed since.

Why the owner: this is UX. The dashboard heading now shows the real count, and workspaces with more than 200 signups get Show older signups / Back to newest signups links. Screenshots 871-before-dashboard, 871-after-dashboard-page1 and -page2 are in the tophat comment's session. Workspaces with 200 or fewer signups look the same as before.

https://claude.ai/code/session_016YZ9SV6EaeCHhqr4zfs7qK


Generated by Claude Code

@richshaw richshaw added pipeline:owner Passed; waits for the owner (UX or high-risk) and removed pipeline:review pipeline:working A session is working on it right now labels Nov 12, 2026 — with Claude
The empty state below the heading already invites a first signup, so the
line under "Your signups" repeated it. signupCountLabel now returns null
for an empty workspace and the page renders no line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh

Copy link
Copy Markdown
Owner Author

Tophat: passed (after the owner's change)

The owner asked to drop the "No signups yet. Start one below." line under the title of an empty dashboard, because the empty state below it already invites a first signup. 6c1cbf3 makes that change:

  • signupCountLabel returns null for 0, and the page renders no line.
  • The unit test now expects null.
  • The CHANGELOG entry mentions it.

I ran 6c1cbf3 locally with pnpm dev (Postgres 16, Chromium), on the same data as the earlier tophat:

Check Result What I saw
Empty workspace, desktop ✅ Only "Your signups" and New signup in the header, then the empty state with Create your first signup (871-empty-workspace-no-line)
Workspace with 210 signups, phone ✅ "210 total" under the title, as before
pnpm lint, format:check, typecheck, knip, test ✅ All pass (2199 tests)

The paging code didn't change, so the paging checks in the tophat above still hold.

Screenshots are in https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh.


Generated by Claude Code

The two text links under a 200-row list gave no sense of position and sat
where only someone who scrolled to the end would find them. Past one page
the list card now has a bar above and below it, in the table-header style
the organizer pages already use: the range showing ("201-400 of 420") and
Newer / Older buttons, the dead end dimmed. It is still plain links, so
/app adds no client JavaScript.

Newer is a real previous page: listSignupSummaryPageForWorkspace takes an
`after` cursor beside `before`, and a page reached by a cursor counts the
signups either side of it for its offset and both links. The first page
still runs one query. The count line under the heading only shows when
everything fits on one page, since the bar says it otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh

Copy link
Copy Markdown
Owner Author

Tophat: passed (new pager, at the owner's request)

The owner asked for a better paging experience than two text links. b96f3d7 replaces them with a pager bar in the design system's table-header style, which appears above and below the list once a workspace has more than one page. The bar shows the range ("201–400 of 420") and Newer / Older buttons. Newer is a real previous page: there's a new after cursor, and a page reached from a cursor counts what's on either side of it. The PR description has the details.

I ran b96f3d7 locally with pnpm dev, using Postgres 16 and Chromium at 1280×720 and iPhone 13 size. The workspace held 420 live signups, so three pages, with the oldest archived and one soft-deleted.

Check Result What I saw
Page 1 ✅ "1–200 of 420" in the bars above and below the list. Newer is dimmed, Older is live. No count line under the heading (871-pager-desktop-page1-top)
Older (top bar) → page 2, then Older (bottom bar) → page 3 ✅ "201–400 of 420", then "401–420 of 420". Page 2 runs from 221 to 021, with the deleted one left out. On page 3, Older is dimmed in both bars (871-pager-desktop-page2-top, 871-pager-phone-page3-top)
Newer from page 3, then from page 2 ✅ Page 3 → ?after=… shows exactly page 2's rows. Page 2 → plain /app
Phone ✅ The range and both buttons fit on one line, and the buttons are 44 px tall. The bottom bar closes the card (871-pager-phone-page2-top, 871-pager-phone-page2-bottom)
Another workspace's id as after, from an empty workspace ✅ Empty state, no bars, no line under the title, nothing from the other workspace
axe (WCAG A/AA and best practice) on pages 1, 2 and 3 ✅ No violations. The two bars have distinct landmark names, and a dimmed button is a link with no href and aria-disabled
pnpm lint, format:check, typecheck, knip, test (2206), test:db (682), build && budgets ✅ All pass. /app adds no client JavaScript
Console and server log ✅ No console errors

For the owner (UX): a workspace with 200 or fewer signups looks as before ("N total", and no line when it's empty). Past 200, the line under the heading goes, and the list card gets the bar at its top and bottom. You can see where you are and step either way from both ends of the list.

Screenshots are in https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh.


Generated by Claude Code

The owner preferred the pager as a footer rather than a bar at both ends.
With nothing at the top, the "N total" line under the heading shows on
every page again, as it did before the pager.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh

Copy link
Copy Markdown
Owner Author

Tophat: passed (pager as a footer only)

The owner asked for the pager as a footer rather than a bar at both ends. a7c5dec drops the top bar, and the bottom bar is now the only pager (one nav, "Signup pages"). With nothing at the top, the "N total" line under the heading is back on every page.

I ran a7c5dec locally with pnpm dev, using Postgres 16 and Chromium at 1280×720 and iPhone 13 size, with the same 420 signups over three pages:

Check Result What I saw
Pages 1, 2 and 3, desktop and phone ✅ "420 total" under the heading. One footer at the bottom of the list card, reading "1–200", "201–400" and "401–420 of 420". Newer is dimmed on page 1 and Older on page 3 (871-footer-phone-page2-top, 871-footer-desktop-page2-bottom)
axe (WCAG A/AA and best practice) on pages 1, 2 and 3 ✅ No violations
pnpm lint, format:check, typecheck, knip, test (2206) ✅ All pass

Note for the review stage: the review marker above passed 25dcf8b, the original two-link version. Since then the PR has a new after cursor and position count in listSignupSummaryPageForWorkspace, and the pager component, so I've sent it back to review.

Screenshots are in https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh.


Generated by Claude Code

@richshaw richshaw added pipeline:review and removed pipeline:owner Passed; waits for the owner (UX or high-risk) labels Nov 12, 2026 — with Claude
…total

The owner's call: the total isn't something an organizer needs at the top.
A list longer than one page still says "201-400 of 420" in its footer, and
the count query now runs only for such a list, so a dashboard that fits on
one page (most of them) makes one query instead of two.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh

Copy link
Copy Markdown
Owner Author

Tophat: passed (count line removed)

The owner asked to drop the count under the heading: the total only needs to be in the pager's footer. ebce062 removes the line on every dashboard, along with its signupCountLabel helper and that helper's tests. The count query now runs only when the list has more than one page.

I ran ebce062 locally with pnpm dev, using Postgres 16 and Chromium at iPhone 13 size, with the same 420 signups over three pages:

Check Result What I saw
Pages 1, 2 and 3 ✅ The header holds only "Your signups" and New signup. The footers read "1–200", "201–400" and "401–420 of 420" (871-final-phone-page2-top)
A garbled cursor (?after=nope) ✅ Page 1, "1–200 of 420"
Empty workspace ✅ Heading, then the empty state. No line and no footer
axe (WCAG A/AA and best practice) on all four ✅ No violations
pnpm lint, format:check, typecheck, knip, test (2204) ✅ All pass

This still needs a fresh review: the last review marker is for 25dcf8b.

Screenshots are in https://claude.ai/code/session_016YZ9SMvnCH9GDDXmwQWcQh.


Generated by Claude Code

@richshaw richshaw added the pipeline:working A session is working on it right now label Nov 12, 2026 — with Claude

@richshaw richshaw left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: passed (round 2)

Since round 1 (25dcf8b), the PR has gained an after cursor, a position count, and a footer pager, and it no longer shows the count line. listSignupSummaryPageForWorkspace still calls requireWorkspaceAccess first and still filters with workspaceSignupsWhere. Both cursor subqueries (placeOf) are limited to workspace_id, so another workspace's id compares against NULL and matches nothing, and the page then falls back to page 1. The newer/older counts use the same strict (created_at, id) comparison as the page query, so the offset and both links stay right when signups share a created_at. The after page reads ascending and then reverses, so it comes back in the same order as the before page. newerSignupsHref sends any page whose offset is ≤ 200 to plain /app, so deletions can't leave a short first page. The count runs only when there is more than one page. Each claim in the description has a test: 201 rows with one archived and one deleted, ties across the boundary, a run within one millisecond, three pages walked older and back newer, an unknown cursor in both directions, and a non-member being refused. The unit tests cover parsing, the label and the links. No help article mentions the old "N total" or "No signups yet" lines, and neither does any e2e spec. The CHANGELOG entry describes the final state.

Blocking (0)
Optional (2):

  • src/app/app/(chrome)/page.tsx:44: an Older link whose remaining rows were all deleted before the click lands on page 1, not on an empty last page. That's reasonable, just worth knowing.
  • src/services/signups.ts: listSignupSummariesForWorkspace (the API and MCP list_signups) still orders by created_at alone. This carries over from round 1 and is harmless while it returns a single capped page.

Earlier threads: none. Copilot couldn't review (quota).
Checks: CI is green on ebce062 (lint-type-test, e2e, CodeQL). The branch is behind main but merges cleanly. The tophat passed on ebce062, the head, so runtime code hasn't changed since. Locally I read the diff, the tests and the help and e2e references; I didn't need to run anything to prove a finding.

Why the owner: this is UX. The count line under "Your signups" is gone on every dashboard. Past 200 signups, the list card gets a footer with the range ("201–400 of 420") and Newer / Older buttons. Workspaces with 200 or fewer signups look the same as before, minus the count line. Screenshots: 871-final-phone-page2-top and the 871-footer-* / 871-pager-* shots in the tophat sessions linked above.

https://claude.ai/code/session_016YZ9STxu21edYpyA6cQQPd


Generated by Claude Code

@richshaw richshaw removed the pipeline:review label Nov 12, 2026 — with Claude
@richshaw richshaw added pipeline:fix pipeline:working A session is working on it right now and removed pipeline:merge labels Nov 18, 2026 — with Claude
…board-paging

# Conflicts:
#	src/app/(organizer)/app/(chrome)/page.tsx

Copy link
Copy Markdown
Owner Author

Conflict with #1057 resolved in 49e609e, in runtime code

#1057 replaced the dashboard row's hard-coded `/app/signups/${r.id}/build` with signupTabPath(r.id, 'build') (src/lib/organizer-paths.ts). This PR wraps the same list in a card with the pager. I kept this PR's card and pager and took main's signupTabPath import and href. Both give the same URL. Git merged signups.ts and signups.db.test.ts without conflicts.

Ran and passed: pnpm lint && pnpm format:check && pnpm typecheck && pnpm knip && pnpm test (248 files, 3539 tests), pnpm test:db (867), pnpm build && pnpm budgets.

The conflict was in runtime code (an import and a link), so the owner's approval at 8b74d03 doesn't carry over. Once CI is green this goes back to tophat.

https://claude.ai/code/session_016YZ9SS4b2JyQWWncBM5gvi


Generated by Claude Code

@richshaw richshaw added pipeline:tophat pipeline:working A session is working on it right now and removed pipeline:fix pipeline:working A session is working on it right now labels Nov 18, 2026 — with Claude

Copy link
Copy Markdown
Owner Author

Tophat: passed (after the merge of #1057 and #1058)

I ran 49e609e locally with pnpm dev, on Postgres 16, with Chromium at 1280×900 and 390×844. All data was made up, with three organizers:

  • pat@example.com, with 420 live signups ("Snack duty — week NNN", inserted with SQL). The oldest is archived, one (week 100) is soft-deleted, and weeks 215–224 share one created_at, with the page-1/page-2 edge inside that group.
  • kim.sv@example.com, whose account stores Swedish, with 205 Swedish signups.
  • lee.empty@example.com, with an empty workspace.

Since the last tophat (8b74d03), the only runtime change is the row link, which now comes from signupTabPath(r.id, 'build'). I checked the whole dashboard again anyway.

Check Result What I saw
Page 1 → Older → Older, by real clicks ✅ The footer reads "1–200", "201–400", "401–420 of 420". Page 1 runs 421…222, page 2 runs 221…021 without the deleted week 100, and page 3 runs 020…001. That's 420 rows with no gaps and no repeats. Newer is aria-disabled on page 1 (871-desktop-page1, 871-desktop-page2, 871-desktop-page3)
Ties across the page edge ✅ Page 1 ends at 222 and page 2 starts at 221, both inside the tied group. Nothing is skipped or repeated
Newer from page 3, then from page 2 ✅ ?after=… shows exactly page 2's rows (221…021). Newer from page 2 goes to plain /app
Row link (the code this merge changed) ✅ Clicking "Snack duty — week 215" on page 2 opens /app/signups/sig_…215/build
Bad cursors: garbled (not-an-id';), and another workspace's signup id ✅ Each shows page 1, "1–200 of 420", with no error and nothing from the other workspace
Phone, English ✅ The range and both buttons fit on one line. The buttons are 44 px tall, and the page doesn't scroll sideways (scrollWidth 390) (871-phone-page2-footer)
Swedish organizer, phone ✅ <html lang="sv">. The footer reads "1–200 av 205 · Nyare · Äldre", and its landmark is named "Sidor med anmälningslistor". Äldre goes to "201–205 av 205". No English in the footer (871-sv-phone-page1-footer, 871-sv-phone-page2)
Empty workspace, even with a before cursor ✅ Heading, New signup, and the empty state with Create your first signup. No footer and no count line (871-empty-workspace)
pnpm test 'src/app/(organizer)/app/(chrome)' ✅ 15 files, 123 tests passed
Browser console, server log ✅ No console errors. The only server error was the health check's pgboss.job query, because I didn't run the worker

For the owner (UX): nothing changed from what you approved at 8b74d03. "Your signups" has no count line under the heading. A workspace with more than 200 signups gets a footer on its list card, showing the range out of the real total, with Newer and Older buttons ("Nyare" and "Äldre" in Swedish). A workspace with 200 or fewer gets no footer. 871-phone-page2-footer and 871-sv-phone-page1-footer show it.

Screenshots are in https://claude.ai/code/session_016YZ9SU1jgBBDg5dRsLFudD.


Generated by Claude Code

@richshaw richshaw added pipeline:review pipeline:working A session is working on it right now and removed pipeline:tophat pipeline:working A session is working on it right now labels Nov 18, 2026 — with Claude

@richshaw richshaw left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: passed (round 4)

Round 3 passed this PR at 8b74d03, and the owner approved that head. Since then the only change is 49e609e, which merges main in and resolves a conflict with #1057. I compared the PR's own diff against main at 8b74d03 with its diff now. The only differences are on the dashboard row link: it now uses signupTabPath(r.id, 'build') and imports it from src/lib/organizer-paths.ts, and main's copy of const locale = … in generateMetadata is no longer a hunk in this PR. signupTabPath returns /app/signups/${signupId}/${tab}, so the URL is the same as before. The paging service, cursor handling, pager, catalogs and tests are byte-for-byte what round 3 reviewed. listSignupSummaryPageForWorkspace and countSignupsForWorkspace still call requireWorkspaceAccess first and filter with workspaceSignupsWhere.

Blocking (0)
Optional (0): round 3's note on a soft-deleted id as a cursor still applies. No link the app makes produces one.
Earlier threads: none. Copilot couldn't review (quota).
Checks: CI is green on 49e609e (lint-type-test, e2e, CodeQL), and mergeable_state is clean against main (03a1190). The tophat passed on 49e609e, the head, so no runtime code has changed since. Locally I diffed the PR's own changes at 8b74d03 against the head. Nothing needed running to prove a finding.

Why the owner: this is UX. The approval at 8b74d03 doesn't carry over, because the merge after it resolved a conflict in runtime code (the address stage said the same). What you'd see is what you approved: no count line under "Your signups", and past 200 signups a footer on the list card with the range and Newer / Older ("Nyare" / "Äldre" in Swedish). The latest tophat's screenshots are 871-phone-page2-footer and 871-sv-phone-page1-footer.

https://claude.ai/code/session_016YZ9SUr6GgW5w1PihuqFi5


Generated by Claude Code

@richshaw richshaw added pipeline:owner Passed; waits for the owner (UX or high-risk) pipeline:merge pipeline:working A session is working on it right now and removed pipeline:review pipeline:working A session is working on it right now pipeline:owner Passed; waits for the owner (UX or high-risk) labels Nov 18, 2026 — with Claude

Copy link
Copy Markdown
Owner Author

Approved by the owner at 49e609e.

The owner approved this head in a live session and asked for it to be brought up to date and merged. The branch is only behind main by #1050, which changes src/components/magic-compose/Compose.tsx and none of this PR's files, so updating it adds no commits of the PR's own and this approval carries over. Every other gate passes at 49e609e: CI green, review round 4 verdict=pass, tophat result=pass, no open threads, and main is green. Updating the branch now; it merges once CI passes on the new head.

https://claude.ai/code/session_016YZ9SUTbBzWCJ45BqmkVnV


Generated by Claude Code

@richshaw
richshaw merged commit 555d7e5 into main Nov 18, 2026
5 checks passed
@richshaw
richshaw deleted the claude/issue-848-dashboard-paging branch November 18, 2026 23:00
@richshaw richshaw removed pipeline:merge pipeline:ux Changes what a person using OpenSignup sees or does pipeline:working A session is working on it right now labels Nov 18, 2026 — with Claude
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.

"Your signups" stops at the newest 200, with no way to reach older ones

3 participants