Replies: 5 comments 1 reply
-
#812 moves (almost) everything relevant into the new module |
Beta Was this translation helpful? Give feedback.
-
We discussed defining a contract for
A
I think with those methods we can already do a lot Filters can then be defined as a json field in postgres and be given a name. It is up to the implementation of the FilterBackend to define the schema of this json field. |
Beta Was this translation helpful? Give feedback.
-
Swap-points: Our homemade spaghetti
Complex filtersCurrently, Logic for combining Maybe there should be a The ComplexFilter for todays solution would then just be: operand is AND, no m2m to other ComplexFilters, but m2m to Filter. Fine-dining via django-filter
Needed: a |
Beta Was this translation helpful? Give feedback.
-
Frontend-wise, one template for the entire "filter"-section in the incident-list page, which is backed by a view somehow and who knows how many other views and templates with htmx. But the top view and template fragment needs to be swappable. |
Beta Was this translation helpful? Give feedback.
-
Concerning strategies for swapping out FilterWrappers We could perhaps leverage customization of the AppConfig for the argus or argus filter app |
Beta Was this translation helpful? Give feedback.
-
Place to discuss, braindump, think about filters. Which to have, how to combine, how to make them pluginable etc.
incident_fits
andevent_fits
, they do NOT depend on django-filter and are in general messy.The pull request #812 decouples filter-magic from everywhere in the code. Not sure if it should be merged as is now just to have an easier time going forward or if it should also have pluginable filters.
Beta Was this translation helpful? Give feedback.
All reactions