diverent2 / flagfinder

A webapp to learn about queer identity symbols 🌈
https://prideflags.info/
4 stars 2 forks source link

[Dev] Make search state global #55

Closed diverent2 closed 3 years ago

diverent2 commented 4 years ago

💡 feature request

Currently the site has a per component state for the search.

Depending on where the user comes from this can cause issues like "ghost checkboxes" (seemed to be toggled but aren't)

Task

Turn search filters into global state.

References

https://svelte.dev/docs#svelte_store

diverent2 commented 3 years ago

Resolved by https://github.com/diverent2/flagfinder/commit/feef7d2bcbf359ce9ba47913db29a46ab5cec5c5