You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(search): show default cards on empty search state (#79)
* fix(search): show default cards on empty search state
Card search page showed nothing on initial load when no query,
colors, or types were set. Now calls getDefaultCards() to return
25 alphabetically-ordered cards from the DB, cached for a day.
- Add getDefaultCards() to lib/search/card-search.ts with 'use cache' + cacheLife("days")
- Call it in SearchResults when all filters are empty
- Pass isDefault flag to SearchForm; shows "showing popular cards — search to filter" hint
* no-mistakes(review): rename label and guard default badge in AI mode
* no-mistakes(document): update runbook EXPLAIN battery for getDefaultCards
0 commit comments