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

Add MatchCategory() #39

Open
veechs opened this issue Jan 13, 2025 · 0 comments
Open

Add MatchCategory() #39

veechs opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request pending release Available on a development branch rule function Additions or changes to included rule functions
Milestone

Comments

@veechs
Copy link
Owner

veechs commented Jan 13, 2025

What will your feature request solve?

Having a way for Categories to make matching decisions based on the outcome of others can unlock some interesting possibilities.

  • A custom Category can exclude or include the matches of a built-in Category.
  • Categories would become reusable functions, so if one had a list using Zone(), multiple other Categories could use that list without needing to maintain it multiple places.

Describe the solution you'd like

MatchCategory(<CategoryID>)

  • Will require exposing IDs in the UI somewhere.
  • Also will need protection against loops (1 references 2 references 1…).

Additional context

I don’t know for sure whether anyone will use this, but it also just seems like a natural addition.

@veechs veechs added the enhancement New feature or request label Jan 13, 2025
@veechs veechs added this to the Bagshui 1.4 milestone Jan 13, 2025
@veechs veechs self-assigned this Jan 13, 2025
@veechs veechs changed the title [Rule Function] MatchCategory() Add MatchCategory() Jan 13, 2025
@veechs veechs added the rule function Additions or changes to included rule functions label Jan 13, 2025
@veechs veechs added the pending release Available on a development branch label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending release Available on a development branch rule function Additions or changes to included rule functions
Projects
None yet
Development

No branches or pull requests

1 participant