Proposal: datatables refactor (UI)
Looking for pre-approval before starting to work on such PR
I think the thing I like the least in DD is the UX in the "list" template (followed by deduplication performance).
I'd like to try to tackle that (or start somewhere).
Refactor "list" templates (findings, engagements, products, etc) where datatables is used
- Fetch page via AJAX
- Quick search via AJAX endpoint using Postgres FULLTEXT search on all results (rather than current page as now)
After a first iteration, idea would be to tackle the filters UI as well
@fopina Sounds like it good be a nice step forward. In the end I think we want to end up with having the UI use the API and not the Django views. But we're not completely sure yet on what the desired end result is. Whether we want a rewrite to an SPA, or rewrite to something still partially serverside rendered but with AJAX data retrieval. The latter could be easier to maintain for the community. So I guess we would welcome a PR as long as you keep in mind it shouldn't make maintenance harder or more complicated :-D
Definitely keeping maintenance in mind and changes to a minimum. Thanks for the feedback, I’ll take a look then and probably share draft PR just to confirm direction is aligned