e-mission / op-admin-dashboard

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

Support both humanized and raw values in the exported csv #52

Open shankari opened 1 year ago

shankari commented 1 year ago

I have a comment indicating this in one of my commits https://github.com/e-mission/op-admin-dashboard/commit/e0b368d790757a5cd5cc30e921b744058c408bfa#diff-1c6b8e6d103286796ce21a8276c4a4d8b258e29d6b9cc6df516a92accf4674d1R78

but I don't see it addressed in the follow-on code

shankari commented 9 months ago

@achasmita will work on this

achasmita commented 9 months ago

I started working on it but I still cannot figure out how to display both humanized and raw data. One of the option I see is:

achasmita commented 9 months ago

I initially attempted to implement subtabs for displaying humanized and raw value in the table. However it is like repeating same table twice. I further explored alternative solutions and found hidden column option:

shankari commented 9 months ago

That sounds like a promising option. Do you have a link for the "hidden column" option and/or screenshots of what it might look like?

achasmita commented 9 months ago

I tried with some random data, here's what it looks like:

Screenshot 2024-01-18 225357 Screenshot 2024-01-18 225434
achasmita commented 9 months ago

That sounds like a promising option. Do you have a link for the "hidden column" option and/or screenshots of what it might look like?

https://community.plotly.com/t/how-do-i-hide-a-column-of-a-data-table-from-being-displayed-but-use-that-column-for-filtering-and-sorting/67777/2