Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic title #1591

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Automatic title #1591

wants to merge 4 commits into from

Conversation

ptbrowne
Copy link
Collaborator

@ptbrowne ptbrowne commented Jun 11, 2024

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.

  • 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

Copy link

vercel bot commented Jun 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant