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

Decouple category filter modal #879

Closed
wants to merge 4 commits into from

Conversation

anttimaki
Copy link
Collaborator

No description provided.

Some of the filters in manager page are managed via a modal. Having the
modal inside the Manager page makes it difficult to move towards route
based navigation. But before the modal can be moved out of the manager
page, we need to move the management of filter state to make them
universally accessible.

Refs TS-1309
Continue making Manager page less of a god-class component.

This also partially fixes the problem where "allow NSFW" checkbox
didn't react correctly to dark/light theme. The value is now read from
correct place, so the checkbox is themed based on the theme that was
active when user entered Manager page. However, if user changes the
theme while on manager page, the checkbox theme is not updated yet. I
wasn't sure how this should be solved, and it falls outside the scope
of the ticket, so I just marked the issue with TODO comment.

Refs TS-1309
anttimaki and others added 2 commits November 22, 2022 16:04
This way TSMM can easily overwrite parts of the store without having to
duplicate the whole definition.

Refs TS-1206
Export main Vuex store definition as object
@MythicManiac
Copy link
Collaborator

Closing in favor of #885

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.

2 participants