Skip to content

Search · Search params & storage

0 modules · 0 exports · 0 repositories · 2 e2e tests · 1 route

The state Search keeps in the URL and in the browser's storage. Every param has a default and never fails to decode, see Search params, and each definition should have an assertRoundTrips test. The definitions of the whole app are listed in the reference.

Search params

URL searchSearchParams

app/features/search/search-search-params.ts:6

ParamValueDefaultLoaderDescription
q v.pipe(v.string(), v.maxLength(100))""true
type v.picklist(SEARCH_TYPES)"users"true
limit v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(25))10true

Used in OrganizationSearch.tsxTeamSearch.tsxUserSearch.tsxGlobalSearch.tsxsearch.ts