Load complete, balanced results in mobile Search #783

Closed
opened 2026-08-13 23:53:29 +00:00 by timmy · 0 comments
Owner

Problem

Global Search requests only page 1 from issues and pull requests, appends issues first, and truncates the combined list. Ten issue matches can hide every pull request, and mobile operators cannot reach work beyond the first page.

User flow

Search from a phone, receive a balanced first page across issues and pull requests, load additional pages in place, then preview or start the newly discovered item without leaving Stackchain.

Acceptance criteria

  • Search pages both issue and pull streams fairly and returns continuation/exhaustion metadata.
  • A touch-safe Load more results action appends and deduplicates later results.
  • Query changes cancel obsolete requests so old pages never enter a new query.
  • Partial upstream failure preserves healthy results and remains retryable.
  • Loaded results survive preview/back in the current Search session.
  • Focused behavioral tests and the full suite pass.

Non-duplication evidence

Historical Search issues #195, #197, #199, #317, #413, #547, and #781 cover initial bounded search, preview/actions, cancellation, keyboard layout, and resumable routes. None provides pagination or prevents issue-first truncation from starving pull requests. Current origin/main (fa3e5e3) still hard-codes upstream page=1 and limit=10.

## Problem Global Search requests only page 1 from issues and pull requests, appends issues first, and truncates the combined list. Ten issue matches can hide every pull request, and mobile operators cannot reach work beyond the first page. ## User flow Search from a phone, receive a balanced first page across issues and pull requests, load additional pages in place, then preview or start the newly discovered item without leaving Stackchain. ## Acceptance criteria - Search pages both issue and pull streams fairly and returns continuation/exhaustion metadata. - A touch-safe Load more results action appends and deduplicates later results. - Query changes cancel obsolete requests so old pages never enter a new query. - Partial upstream failure preserves healthy results and remains retryable. - Loaded results survive preview/back in the current Search session. - Focused behavioral tests and the full suite pass. ## Non-duplication evidence Historical Search issues #195, #197, #199, #317, #413, #547, and #781 cover initial bounded search, preview/actions, cancellation, keyboard layout, and resumable routes. None provides pagination or prevents issue-first truncation from starving pull requests. Current `origin/main` (`fa3e5e3`) still hard-codes upstream `page=1` and `limit=10`.
timmy self-assigned this 2026-08-14 00:04:05 +00:00
timmy closed this issue 2026-08-14 00:06:25 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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: stackchain/stackchain-dashboard#783
No description provided.