Specialized filter plugins
winder opened this issue · comments
Will Winder commented
Problem
The filter plugin's flexibility makes it complicated. There should be a series of plugin's which act as predefined filters.
- Filter by account. This would add an any filter for all the different places an account can be set.
- Filter by application IDs.
- Filter by asset IDs.
Solution
Thin wrappers around the existing filter plugin.
Question
Should the "match all in group" and "search inner transactions" be surfaced as settings or automatically enabled?
The plugin pipeline is applied one by one, which means multiple instances of filter plugin's would only return transactions which match ALL filters. This may be unexpected, so an error should be returned if multiple filter plugins are enabled. (A global counter in the init function?
Priority
nice-to-have.