Closed lart2150 closed 2 years ago
So this needs big fat warnings on load that the old filters have been restored or this produces tons of bug reports. Yes even if the setting is disabled by default.
Honestly having the filters encoded in the URL might be less of a support issue and more useful as people can bookmark various filter combinations.
Could you make a warning with two buttons "Disable Filters" and "Hide this" or along those lines that shows in the main map area?
On a whole other topic: It would be great to have the html for the aircraft details on the left generated somehow. Or something along those lines so it's easy to have a secondary two row (current single row) display of the aircraft details that could fill the lower area of a smartphone. Presenting the picture and some info side by side. Just if you're looking for something to work on.
What if the checkbox is "include filters in share link". I would then likely break out each filter into separate parameter.
Yeah that would certainly work well!
I updated the PR to add the filters as get params and changed the setting to add the params to the share link but not the address bar.
Nice!! Thank you.
This will add a setting (disabled by default) to persist the filters to local storage.
This should resolve #14
I tested with all tracks enabled and then enabled a filter and it cleared all non selected plans that don't match.