Add Search to Game List Pages #853

Open
opened 2026-07-30 13:00:00 -05:00 by Veilor · 0 comments
Member

Game list pages should let members search within their list so they can quickly find a specific game without paging through status tabs and incremental loading.

The current game list view is status-tab driven and rendered through GameListSections. Each section is cursor-paginated and load-more URLs only carry status, section, and cursor state. Search should filter list entries by game/list title while still fitting that incremental loading model.

Scope

  • Signed-in user game list page and public user game list page.
  • Status tabs, All view sections, and selected-status partial responses.
  • GameListSections query filtering and cursor pagination.
  • Load-more URLs and AJAX responses for searched results.
  • Desktop table and mobile card empty/populated states.
  • Existing owner-only edit/delete actions and public read-only views.

Acceptance Criteria

  • Members can search game list entries by game/list title.
  • Search works on the signed-in owner list and public user list pages.
  • Search combines correctly with status tabs, including the All view.
  • Load-more requests preserve the active search query.
  • Empty searched sections show a clear no-results state without hiding the surrounding list UI.
  • Search input preserves the submitted query after navigation or partial reloads.
  • Existing status counts, owner actions, and incremental loading behavior continue to work for non-search views.

Test Coverage Required

  • Extend GameListPageTest to cover searched results on the owner game list page.
  • Cover searched results on a public user game list page.
  • Cover search combined with at least one status tab and the All view.
  • Cover load-more URL/query preservation for searched results.
  • Cover empty search results and escaping of special characters or markup-like input.
  • Preserve existing coverage for status tabs, preloaded panels, load-more responses, and owner actions.
  • Run focused GameListPageTest coverage before closing the issue.
  • Run vendor/bin/pint --dirty --format agent before implementation closeout if PHP files change.

Progress Checklist

  • Define the accepted game-list search query parameter and validation rules
  • Add search filtering to GameListSections queries
  • Add accessible search controls to the game list page
  • Preserve search state across status tabs and load-more requests
  • Add searched empty-state messaging for desktop and mobile views
  • Add focused game-list search regression coverage
  • Run focused GameListPageTest coverage
  • Run vendor/bin/pint --dirty --format agent if PHP files changed
  • Move the issue out of Codex review once verification is complete
Game list pages should let members search within their list so they can quickly find a specific game without paging through status tabs and incremental loading. The current game list view is status-tab driven and rendered through `GameListSections`. Each section is cursor-paginated and load-more URLs only carry status, section, and cursor state. Search should filter list entries by game/list title while still fitting that incremental loading model. ## Scope - Signed-in user game list page and public user game list page. - Status tabs, All view sections, and selected-status partial responses. - `GameListSections` query filtering and cursor pagination. - Load-more URLs and AJAX responses for searched results. - Desktop table and mobile card empty/populated states. - Existing owner-only edit/delete actions and public read-only views. ## Acceptance Criteria - Members can search game list entries by game/list title. - Search works on the signed-in owner list and public user list pages. - Search combines correctly with status tabs, including the All view. - Load-more requests preserve the active search query. - Empty searched sections show a clear no-results state without hiding the surrounding list UI. - Search input preserves the submitted query after navigation or partial reloads. - Existing status counts, owner actions, and incremental loading behavior continue to work for non-search views. ## Test Coverage Required - Extend `GameListPageTest` to cover searched results on the owner game list page. - Cover searched results on a public user game list page. - Cover search combined with at least one status tab and the All view. - Cover load-more URL/query preservation for searched results. - Cover empty search results and escaping of special characters or markup-like input. - Preserve existing coverage for status tabs, preloaded panels, load-more responses, and owner actions. - Run focused `GameListPageTest` coverage before closing the issue. - Run `vendor/bin/pint --dirty --format agent` before implementation closeout if PHP files change. ## Progress Checklist - [ ] Define the accepted game-list search query parameter and validation rules - [ ] Add search filtering to `GameListSections` queries - [ ] Add accessible search controls to the game list page - [ ] Preserve search state across status tabs and load-more requests - [ ] Add searched empty-state messaging for desktop and mobile views - [ ] Add focused game-list search regression coverage - [ ] Run focused `GameListPageTest` coverage - [ ] Run `vendor/bin/pint --dirty --format agent` if PHP files changed - [ ] Move the issue out of Codex review once verification is complete
Codex changed title from Add search function for the list to Add Search to Game List Pages 2026-07-30 19:09:13 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
MyVideoGameList/myvideogamelist.com#853
No description provided.