asiripanich / emdash

An e-mission deployer's dashboard. See https://github.com/e-mission/e-mission-docs.
https://emdash.amarin.dev
Other
6 stars 3 forks source link

Restore the user_name to the participant table #36

Closed shankari closed 3 years ago

shankari commented 3 years ago

The program managers plan to use the dashboard to view travel patterns. But if they need to follow up with individual people, they need to know who they are, and the UUID doesn't give that information. Displaying the "user_name" (a random token in our case) allows them to make that linkage.

This should be displayed at least in the participant table, but may be added to the trip table as well for greater ease of use.

shankari commented 3 years ago

@allenmichael099 Is this as simple as removing this? https://github.com/asiripanich/emdash/blob/3cf120124f61ad3d0566940cce31c35c1afe7916/R/utils_tidy_data.R#L26

allenmichael099 commented 3 years ago

@shankari You're right, removing that leads the dashboard to display user_email in the participant table.

shankari commented 3 years ago

Great! Can you submit the PR for it? If @asiripanich can merge it, I can update the dashboard for two real deployers today!

asiripanich commented 3 years ago

We should add this as an option in the config file. #32