You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refreshing a filtered list clears the active filter #97
Yes, I'm aware of this behavior, but I haven't specifically addressed it yet.
Implementing a reload feature for stateful lists requires careful consideration, and the best behavior often depends on the use case, so I haven't implemented any specific handling.
That said, as you pointed out, preserving filter and sort states would likely be preferable in many scenarios.
I tried to keep the change as narrow as possible, since reload behavior for stateful lists can get complicated quickly.
The root cause seemed to be that refresh rebuilds the list page, while the active filter and sort selection currently live inside that page, so they get reset unless they are explicitly restored.
With that in mind, this draft only preserves and restores:
the active filter text
the selected sort option
I did not try to preserve all list UI state globally.
While working on this, I also found that the bucket reload path needs some extra care when a multi-bucket view refreshes into a single bucket. Switching away from the existing BucketList too early can leave the app in a bad state if the follow-up object load fails, so this draft keeps the current list visible until that load succeeds. Zero-bucket and error cases also stay retryable.
I reviewed the flow carefully and verified it locally with cargo test, but this is meant as a draft idea rather than a request to merge as-is. If you have time, I'd really appreciate a quick behavior check and code review.
Thank you for your support.
I am still in the process of reviewing the finer details, but the basic policy seems fine. The necessary actions and points to consider also appear to be appropriate.
Activity
daewon commentedon Mar 11, 2026
Attached a screenshot.
Before
After Pressing
Rdaewon commentedon Mar 11, 2026
While testing this issue, I also noticed that the selected sort order is reset on refresh.
That looks related, since refresh appears to rebuild the list view state.
I saw the same behavior in both the bucket list and object list views.
lusingander commentedon Mar 12, 2026
Yes, I'm aware of this behavior, but I haven't specifically addressed it yet.
Implementing a reload feature for stateful lists requires careful consideration, and the best behavior often depends on the use case, so I haven't implemented any specific handling.
That said, as you pointed out, preserving filter and sort states would likely be preferable in many scenarios.
daewon commentedon Mar 12, 2026
I put together a draft PR here: #98
I tried to keep the change as narrow as possible, since reload behavior for stateful lists can get complicated quickly.
The root cause seemed to be that refresh rebuilds the list page, while the active filter and sort selection currently live inside that page, so they get reset unless they are explicitly restored.
With that in mind, this draft only preserves and restores:
I did not try to preserve all list UI state globally.
While working on this, I also found that the bucket reload path needs some extra care when a multi-bucket view refreshes into a single bucket. Switching away from the existing
BucketListtoo early can leave the app in a bad state if the follow-up object load fails, so this draft keeps the current list visible until that load succeeds. Zero-bucket and error cases also stay retryable.I reviewed the flow carefully and verified it locally with
cargo test, but this is meant as a draft idea rather than a request to merge as-is. If you have time, I'd really appreciate a quick behavior check and code review.lusingander commentedon Mar 12, 2026
Thanks for the PR. I'm not sure if I can look at it immediately, but I intend to review it as soon as possible.
lusingander commentedon Mar 20, 2026
Thank you for your support.
I am still in the process of reviewing the finer details, but the basic policy seems fine. The necessary actions and points to consider also appear to be appropriate.