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

Use persisted sorting/query information when loading table #616

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

carlhoerberg
Copy link
Member

WHAT is this pull request doing?

Fixes #599

HOW can this pull request be tested?

Open a table view, eg queues, sort on eg. ready msgs, click on the Queue menu item again, the sorting should be the same.

@carlhoerberg carlhoerberg requested a review from spuun December 18, 2023 09:49
Copy link
Member

@spuun spuun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know RabbitMQ mgmt works like this but IMO this goes against how "web" works. E.g. if i click "Queues" in the menu I expect to end up with a "fresh view", not a view with some old filters active. With this change there is no way to "reset" the view without fiddling with the url in the url bar.

However, the referenced issue should be fixed.

Maybe we can change or URLs in the menu to contain a default filter? Like, add #page=1? Or is it better with some kind of reset filter button?

@carlhoerberg
Copy link
Member Author

carlhoerberg commented Jan 5, 2024

I don't know if that's what is expected, if i pull up a google sheet i expect the sheet to be sorted the way when i left it.

@carlhoerberg carlhoerberg force-pushed the persist-table-sorting branch from 486c3e3 to dae5a82 Compare January 8, 2024 09:52
@carlhoerberg
Copy link
Member Author

I'll merge this as I think it makes the situation better than what it currently is at least

@carlhoerberg carlhoerberg merged commit 585e26f into main Jan 8, 2024
26 checks passed
@carlhoerberg carlhoerberg deleted the persist-table-sorting branch January 8, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Persist sorting information after deleting queue
2 participants