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

UI filter refactor #1406

Merged
merged 28 commits into from
May 31, 2021
Merged

Conversation

WithoutPants
Copy link
Collaborator

This is a significant refactor of the UI filter code. The purpose is to try to reduce boilerplate and make it easier to add new filter criteria.

Included are the following changes:

  • filter criteria and sort by options are now internationalised and displayed in alphabetical order
  • modifier strings are now internationalised as well
  • en-GB is formalised as the default language, meaning that it will display from en-GB.json if the message ID is not found in the chosen language. en-US.json should now only contain overrides to values in en-GB.json. I've added a README file to document this. The json files are now sorted alphabetically as well.

@WithoutPants WithoutPants added the chore Pull requests for refactoring and admin work label May 20, 2021
@WithoutPants WithoutPants added this to the Version 0.8.0 milestone May 20, 2021
@gitgiggety gitgiggety mentioned this pull request May 22, 2021
9 tasks
@WithoutPants
Copy link
Collaborator Author

Good pickups, thanks!

@WithoutPants WithoutPants merged commit 3e81d45 into stashapp:develop May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for refactoring and admin work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants