Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix configuration settings for track sorting in the track selector #4483

Merged
merged 7 commits into from
Jul 22, 2024

Conversation

cmdcolin
Copy link
Collaborator

A change in v2.11.1 changed the way sorting/collapsing was stored in the track selector, and makes it remember it across closing/re-opening the track selector, but broke the ability for admins to configure the sort behavior

This fixes that by making it so the fetching of the setting from the users localStorage becomes "undefined" rather than default false.

@cmdcolin cmdcolin force-pushed the fix_hier_sorting_config branch 2 times, most recently from 6f45b48 to 0f66a64 Compare July 17, 2024 15:56
@cmdcolin
Copy link
Collaborator Author

tried to make a variety of unit tests now that exercises the cases of "configuration supplied" and "localstorage supplied" settings

@cmdcolin cmdcolin merged commit 951ba17 into main Jul 22, 2024
9 checks passed
@cmdcolin cmdcolin deleted the fix_hier_sorting_config branch July 23, 2024 00:57
@cmdcolin cmdcolin added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant