Refactor array query params from ?filter=[1,2] to ?filter=1&filter=2. This is more in line with how URLSearchParams works
Replace orderConfig query param with postgrest style e.g. ?order=created_at or ?order=created_at.asc/desc (defaults to descending since we mostly have newest first)
Add new ?search shortcut param that adds a full-text style search filter behind the scenes
Do not add new query params with default values to the URL. Only add when they are overwritten
More goals
Refactor and extract the query params handling across base-channel.js, base-channels.js, explore + tracks pages
Allow "pages" to set default query params values??
Goals
?filter=[1,2]
to?filter=1&filter=2
. This is more in line with howURLSearchParams
worksorderConfig
query param with postgrest style e.g.?order=created_at
or?order=created_at.asc/desc
(defaults to descending since we mostly have newest first)?search
shortcut param that adds a full-text style search filter behind the scenesMore goals
base-channel.js
,base-channels.js
,explore
+tracks
pages