NYCPlanning/labs-community-profiles

Standardize how tooltips are provided

hannahkates opened this issue · 0 comments

Tooltips are currently provided in two ways:

  • Some are hardcoded in the front-end
  • Other are provided in the master data table, repeating for each CD row.

This makes the app confusing to maintain, since you have to sleuth around to figure out where tooltips are coming from. Relying on tooltips provided in the actual dataset has also proven overly rigid, when different sections of the app use different data sources and therefore need different tooltips. (I've had to create a second tooltip column as a hacky workaround) We should come up with a more standardized way of capturing and providing this info - maybe in a config file.