ni / nimble

The NI Nimble Design System
https://nimble.ni.dev
MIT License
30 stars 8 forks source link

Research table filtering #1924

Open m-akinc opened 6 months ago

m-akinc commented 6 months ago

Gather requirements and investigate possible API/implementation options. Output should be HLD. Might require pre-HLD conversations about cost-benefit of various options.

Options could include nimble table providing APIs or pushing all logic into client.

Considerations include the following (Fred will be working to nail down requirements):

mollykreis commented 5 months ago

Some key takeaways from looking into TanStack's filtering API:

rajsite commented 5 months ago

API-wise, one approach we discussed was avoiding having the search logic in nimble table itself. Instead expose features from nimble to filter the set of rows and to calculate the presentation strings for rows. At a high-level, conceptually:

Maybe we can also export algorithms (i.e. diacrtic search, etc) to help with searching across the strings.