e-mission / op-admin-dashboard

An admin/deployer dashboard for the NREL OpenPATH platform
0 stars 9 forks source link

Mode-specific filters #54

Open shankari opened 1 year ago

shankari commented 1 year ago

One of the most useful features of emdash was the ability to color/filter by mode in the map so that you could see where people were biking versus driving.

It would be great to restore that in op-admin-dash as well. Again, the field(s) to use for the filter can be in the dynamic config

Also, is there a reason why we don't have a filter in the data table, only a sort?

shankari commented 9 months ago

@achasmita this is what I would like you to work on next

shankari commented 9 months ago
  1. Highlight that this is in the map
  2. We can have the column name in the dynamic config and default to mode_confirm if there is nothing specified
  3. You should then be able to get the set of unique mode_confirms and then filter or color by them

Since we are looking at filtering anyway, my question was on filtering in the tables - can we support hiding/showing columns or filtering in the datatable? Let us file an issue for this, so that we can have incremental changes that are easier to work with.