Skip to content

Add search, sorting and device filters to Apps - #127

Merged
arnav-kr merged 2 commits into
mainfrom
codex/apps-search-filters
Dec 4, 2026
Merged

arnav-kr merged 2 commits into
mainfrom
codex/apps-search-filters

Conversation

@arnav-kr

@arnav-kr arnav-kr commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Changes

Adds search and filtering to the Apps catalog using the same search field and filter-menu UI as watchfaces.

  • Search across app names, authors and summaries, with case-insensitive matching of all search terms.
  • Sort by Newest (default), Most downloaded or Name A–Z.
  • Filter by All devices, Watch Pro 2 or Watch 3 Pro. Untagged legacy records retain the existing Watch Pro 2 fallback.
  • Preserve Apps search, sort, device selection and scroll position when returning from a detail page or another store section. Changing the search or filters returns the list to the top. State lasts for the current page session and stays separate from watchfaces.
  • Show a distinct empty-search state with a clear-filters action, and translate the new text into all five supported languages.

Filtering and browsing state live in the Effector model. Shared Input/SearchInput gain an optional accessible label, and Page exposes its scrolling element and scroll callback without changing existing callers. No backend schema, installation or firmware changes are required.

Validation

  • GitHub Actions on Linux/Chromium passes on f8a7979: 734 tests passed, 5 skipped across 103 test files (102 passed, 1 skipped). Lint, formatting and type checks pass.
  • Svelte/TypeScript checks and production build pass.
  • Project source lint passes with two existing warnings; changed-file formatting and whitespace checks pass.
  • Full Chromium browser suite: 300 tests passed across 66 files, including three new Apps catalog tests.
  • Unit suite: 433 passed, 5 skipped, 1 failed. The failure is the existing Windows path-separator mismatch in tests/typography.test.ts: its allowlist uses /, while node:path.join returns \ on Windows. Reproduced using the unchanged upstream test and the two unchanged allowlisted components. All four new Apps model tests pass.
  • Local browser sweep against the live catalog: search, empty results/reset, both device filters, alphabetical ordering, selection and scroll restoration after Back, keyboard Enter/Escape and focus restoration, mobile reflow, and light/dark appearance. Watch 3 Pro populated results are also covered by test fixtures; the current live app catalog is tagged Watch Pro 2.

Screenshots

Desktop catalog Desktop sort menu
Apps catalog on desktop Apps sort menu on desktop
Mobile catalog Mobile device filter
Apps catalog on mobile Apps device filter on mobile

@arnav-kr
arnav-kr marked this pull request as ready for review December 4, 2026 19:02
@arnav-kr
arnav-kr merged commit 96f1086 into main Dec 4, 2026
1 check passed
@arnav-kr
arnav-kr deleted the codex/apps-search-filters branch December 4, 2026 19:02
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