Skip to content

Feat/color axis and size of the font explorers#690

Open
Felipedino wants to merge 3 commits into
developfrom
feat/color-explorers
Open

Feat/color axis and size of the font explorers#690
Felipedino wants to merge 3 commits into
developfrom
feat/color-explorers

Conversation

@Felipedino

Copy link
Copy Markdown
Collaborator

This pull request enhances the plot layout forms in the DashAI frontend by adding new controls for customizing tick font size for both axes and colorbars, as well as improving support for colorbar customization across different heatmap types. It also updates translations to support these new features in all supported languages.

Plot customization improvements:

  • Added controls to set the tick font size for both X and Y axes in XAxisForm.jsx and YAxisForm.jsx. [1] [2]
  • Improved colorbar customization in TraceForm.jsx by:
    • Handling colorbar properties that may be stored either in the trace or in the layout (for shared coloraxes).
    • Adding controls for colorbar border color, border width, tick font color, and tick font size. [1] [2]

Internationalization updates:

  • Added new translation keys for axis tick font size and colorbar tick font color/size in all supported languages (English, German, Spanish, Portuguese, Chinese). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Copilot AI review requested due to automatic review settings June 7, 2026 18:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances DashAI’s plot layout customization UI in the notebook explorer by adding new font-size controls for axis ticks and expanding colorbar customization to work both for per-trace colorbars and shared layout.coloraxis colorbars.

Changes:

  • Added X/Y axis tick font size controls to the axis layout forms.
  • Improved heatmap colorbar customization by supporting colorbars defined either on the trace or on layout.coloraxis, and added tick font color/size controls.
  • Updated i18n locale strings across all supported languages for the new labels.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
DashAI/front/src/components/notebooks/explorer/plotLayout/forms/XAxisForm.jsx Adds a numeric control for X-axis tick font size.
DashAI/front/src/components/notebooks/explorer/plotLayout/forms/YAxisForm.jsx Adds a numeric control for Y-axis tick font size.
DashAI/front/src/components/notebooks/explorer/plotLayout/forms/TraceForm.jsx Adds/extends colorbar controls and supports colorbar config coming from layout.coloraxis when traces reference a shared coloraxis.
DashAI/front/src/utils/i18n/locales/en/datasets.json Adds translation keys for axis tick font size and colorbar tick font color/size.
DashAI/front/src/utils/i18n/locales/de/datasets.json Adds translation keys for axis tick font size and colorbar tick font color/size.
DashAI/front/src/utils/i18n/locales/es/datasets.json Adds translation keys for axis tick font size and colorbar tick font color/size.
DashAI/front/src/utils/i18n/locales/pt/datasets.json Adds translation keys for axis tick font size and colorbar tick font color/size.
DashAI/front/src/utils/i18n/locales/zh/datasets.json Adds translation keys for axis tick font size and colorbar tick font color/size.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants