Closed ivan-aksamentov closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/hodcroftlab/covariants/5pDZvJ3FyEbjJ5MX8riHHPcGsx9A
✅ Preview: https://covariants-git-regioncountry-hodcroftlab.vercel.app
Thank you Ivan, this is very cool!
Adds continent checkboxes to the filtering sidebar, such that countries can be toggled en masse by continent.
The two-directional updates between country and continent checkboxes required changing the underlying state structure. So I moved a lot of things around, And while on it I decided to improve the code of everything that touches this state. So now the codebase should hopefully a little bit better, at the expense of non-reviewable huge diff in this PR.
Example: everything is deselected and then Europe is selected: