There are a lot of URL query parameters involved in this entire project
Would be better if we moved from the usual useSearchParams() hook to the nuqs library to manage type-safe URL query parameters
https://nuqs.dev/
https://nuqs.dev/docs/adapters#nextjs-app-router