Skip to content

Add organization pagination and sorting with review fixes - #71

Open
rocco-zhang wants to merge 17 commits into
stagingfrom
rocco_11-07_TIG-308-org-seed
Open

rocco-zhang wants to merge 17 commits into
stagingfrom
rocco_11-07_TIG-308-org-seed

Conversation

@rocco-zhang

Copy link
Copy Markdown

Adds organization directory pagination and sorting, local design review fixtures, and development environment improvements. Supersedes closed PR #68 and addresses all four findings in its review.

  • Merge current staging and include loadOrganizationPage in the organization boundary test mock.
  • Derive pagination test expectations from the configured page size, accept PostgreSQL's unique-name index plan, and correct the 10-row review guide.
  • Reset direction when changing sort: name ascending, member count and date descending.
  • Recover from stale cursors with an enabled First button and a Back to first page empty-state action. Add a stale-cursor regression test.
  • Regenerate pagination indexes as migration 0009 after staging's migrations, and update fixture events for the required location-resolution field.

Related to TIG-308. This does not complete its Figma design deliverables.

Validation:

  • bun test apps: 106 passed, 27 database tests skipped.
  • Database and web type checks passed.
  • Biome checks and review fixture dry run passed.
  • Full bun test: 129 passed, 27 skipped, two InboxEngine pipeline tests failed because its database URL is unset.
  • PostgreSQL integration tests could not run: Docker daemon is unavailable on this machine. Browser checks were not run.

Apply migration 0009 before using the directory's pagination indexes.

@linear

linear Bot commented Nov 22, 2026

Copy link
Copy Markdown

TIG-308

@rocco-zhang rocco-zhang self-assigned this Nov 22, 2026
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.

1 participant