feat(search): fill the empty search page with rows instead of three #9

Merged
techfather merged 2 commits from feat/search-more-rows into main 2026-10-18 14:07:32 -07:00
Owner

The empty /search state rendered a heading plus three rows, which still reads as a mostly empty page.

  • Picks now lead with the personal rows (recommended, more-like repeats, unexpected picks) and continue with the shared catalog rows, capped at eight rows, empty rows still dropped.
  • The personal/discovery split moved into lib/rails.ts and is shared by the feed and the search page, so the two cannot drift apart again (the numbered more-like repeats were the source of the earlier mismatch: two of the three related rows were being classified as Explore rows).

Tests: Vitest 196/196 (5 new in reads: lib/rails.test.ts plus a row-order/count case in Search), tsc -b clean, Biome clean.

The empty /search state rendered a heading plus **three** rows, which still reads as a mostly empty page. - Picks now lead with the personal rows (recommended, more-like repeats, unexpected picks) and continue with the shared catalog rows, capped at eight rows, empty rows still dropped. - The personal/discovery split moved into `lib/rails.ts` and is shared by the feed and the search page, so the two cannot drift apart again (the numbered more-like repeats were the source of the earlier mismatch: two of the three related rows were being classified as Explore rows). Tests: Vitest 196/196 (5 new in reads: lib/rails.test.ts plus a row-order/count case in Search), tsc -b clean, Biome clean.
feat(search): fill the empty search page with rows instead of three
All checks were successful
gate / e2e (pull_request) Successful in 28s
security / advisories (pull_request) Successful in 14s
gate / container-smoke (pull_request) Successful in 29s
gate / check (pull_request) Successful in 1m58s
307e7e6634
Landing on /search showed a heading plus three rows, which still reads as a
mostly empty page. The picks now lead with the personal rows and continue with
the shared catalog rows, up to eight rows, skipping empty ones.

The personal/discovery split moved into lib/rails.ts so the feed and the search
page cannot drift apart again (the numbered "more-like" repeats were the source
of the earlier mismatch).
forgejo-review-bot left a comment

Local automated review (forgejo-autocheck).

Required checks are green on 307e7e6634: 3/3.

  • gate / e2e (pull_request): success
  • security / advisories (pull_request): success
  • gate / container-smoke (pull_request): success
  • gate / check (pull_request): success

Detected stack: repo, python, container.
Approving so the change is not blocked on a second human reviewer.

Local automated review (forgejo-autocheck). Required checks are green on 307e7e6634: 3/3. - gate / e2e (pull_request): success - security / advisories (pull_request): success - gate / container-smoke (pull_request): success - gate / check (pull_request): success Detected stack: repo, python, container. Approving so the change is not blocked on a second human reviewer.
Merge branch 'main' into feat/search-more-rows
All checks were successful
gate / e2e (pull_request) Successful in 32s
gate / container-smoke (pull_request) Successful in 44s
security / advisories (pull_request) Successful in 15s
gate / check (pull_request) Successful in 1m59s
3f9c0a5143
techfather referenced this pull request from a commit 2026-10-18 14:07:34 -07:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
techfather/tasterr!9
No description provided.