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

[Feature]: Implement category taxonomy priority #189

Open
Cidan opened this issue Feb 21, 2024 · 1 comment
Open

[Feature]: Implement category taxonomy priority #189

Cidan opened this issue Feb 21, 2024 · 1 comment
Assignees

Comments

@Cidan
Copy link
Owner

Cidan commented Feb 21, 2024

Describe the feature

Currently, the order in which item categories are evaluated is static in GetCategory(). Instead, the order by which categories are decided should be configurable.

Describe the implementation

A configuration with an ordered list of priority would exist in the database. Elements of that list contain a key for a hard coded category or a custom category. Categories that are added beyond the defaults are inserted at the end of the list.

The UI renders these items as a list of panels. The panels can be moved up or down the list, denoting priority. This list will replace the current categories view per bag, i.e.

The panels will have checkboxes to enable or disable the categories.

@SpareSimian
Copy link

While a static priority system is useful in most cases, it would be nice if a plugin could request a dependency: Run me before/after another named filter. If there's a conflict (eg. two addons insist on being before each other), report an error for the second registration that induces it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants