filters approach: #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
the ui lib filter implementation should be mostly ok now, just need those functions i was working on, but only:
filters -> pb filter string.
pb filter string -> filters.
when going from pb string to filters, need to populate field label, type, and select options.
rest should be ok??
although for ui, should add: 'advanced' use case, ability to construct pb filter string manually. If a string cannot be parsed into filters (if it has dots [relations], or maybe complex ||/&&, or other unrecognised operators), then we make an 'advanced' filter. -> actually, always do this.
quickly: can add a button, to save a filter preset (if callback is supplied). use textarea, and have a 'validateFilter' callback (or just onsave), that can return an error message for validation. (in the app we can call getfirstlistitem or something with this filter to validate it).