visualization-tool icon indicating copy to clipboard operation
visualization-tool copied to clipboard

Automatic title

Open ptbrowne opened this issue 1 year ago • 1 comments

An idea to potentially explore having an automatic title when we add a new chart. Right now the implementation does it at UI level, but this is problematic since we need to have the dimensionsByIri (right now dimensions are fetched at tabs level), and they are refetched, leading to potential problems. I think it would be better to do it when we add the chart.

  • [x] POC to see feasibility
  • [ ] Moving generation of title to the reducer when we add the chart
  • [ ] Translations
  • [ ] Show in UI that title was automatically generated ? Provide a way for the user to accept the automatically generated title ?

Examples

chartType fields title
column x: year, y: emissions Emissions of CO2 per Year
line x: year, y: emissions Evolution of the Emissions of CO2
pie y: emissions, segment: gastype Shares of Emissions of CO2 by Type of Gas

ptbrowne avatar Jun 11 '24 09:06 ptbrowne

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 10:09am

vercel[bot] avatar Jun 11 '24 09:06 vercel[bot]