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(files): Properly reset all file list filters on view change #49261

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Nov 13, 2024

Summary

Ensure that by design all file list filters are reset on view change.
This is now implemented in the interface rather than manually listening to event by every filter.

Also refactored the filters store to store-setup style as this allows to run an init function.

Checklist

@susnux susnux added 3. to review Waiting for reviews feature: files labels Nov 13, 2024
@susnux susnux added this to the Nextcloud 31 milestone Nov 13, 2024
@susnux susnux requested review from a team, artonge, Pytal and szaimen and removed request for a team November 13, 2024 16:12
@susnux susnux requested a review from skjnldsv as a code owner November 13, 2024 16:12
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Code makes sense

@susnux
Copy link
Contributor Author

susnux commented Nov 18, 2024

/backport to stable30

@susnux susnux force-pushed the fix/file-list-filters-reset branch from cb5c499 to 82e6814 Compare November 19, 2024 13:53
@susnux
Copy link
Contributor Author

susnux commented Nov 19, 2024

/compile

@susnux susnux force-pushed the fix/file-list-filters-reset branch 3 times, most recently from 1f76148 to 3ff1c10 Compare November 20, 2024 18:13
Replace the mixin with a composable, this is better typed and works in
both: Options- and Composition API.
Also added component tests for it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/file-list-filters-reset branch from 3ff1c10 to 9d80a7e Compare November 20, 2024 18:50
@blizzz blizzz mentioned this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants