Skip to content

feat(bignumber): add an alignment control - #44554

Merged
rusackas merged 8 commits into
masterfrom
feat/bignumber-alignment-control
Oct 6, 2026
Merged

rusackas merged 8 commits into
masterfrom
feat/bignumber-alignment-control

Conversation

@rusackas

Copy link
Copy Markdown
Member

SUMMARY

Fixes #37674.

Superset 5 let you center the Big Number value and subheader. The Emotion CSS-in-JS migration hardcoded align-items: flex-start on the shared BigNumberViz render component, and there's been no way to get centered (or right-aligned) text back since — a user hit exactly this in #37674, asking how to center the value in v6.

This adds a real header_alignment control (Left / Center / Right) to both Big Number and Big Number with Trendline, rather than just documenting a custom-CSS workaround. Default is Left, matching current behavior, so no dashboards change unless someone opts in.

#37794 attempted something in this area but its diff went well beyond alignment — dropped axis/grid config, the drill-to-detail context menu, conditional formatting, and forced date formatting along the way (confirmed by review). This PR is scoped to alignment only and doesn't touch any of that.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A — text-only style change, easiest to verify via the testing instructions below in Explore.

TESTING INSTRUCTIONS

  1. Create a Big Number or Big Number with Trendline chart.
  2. Under Chart Options, set Alignment to Center or Right.
  3. Confirm the metric value, kicker, subheader, and subtitle all shift together.
  4. Leave it on the default (Left) and confirm nothing changes from current behavior.

Automated:

cd superset-frontend
npx jest plugins/plugin-chart-echarts/src/BigNumber

34 tests pass across all 6 suites in that directory, including 3 new alignment-specific tests in BigNumberViz.test.tsx.

ADDITIONAL INFORMATION

  • Has associated issue: Fixes center big number v6 #37674
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

🤖 Generated with Claude Code

@netlify

netlify Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit e0b8119
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6abfefa0a64d060007ce445e
😎 Deploy Preview https://deploy-preview-44554--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@bito-code-review bito-code-review Bot 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.

Code Review Agent Run #e93aae

Actionable Suggestions - 1
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx - 1
Additional Suggestions - 1
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx - 1
    • Duplicated test setup · Line 122-185
      The three new tests repeat the same ~10-line JSX (width/height/bigNumber/formatters/fontSizes/subtitle/refs), differing only in `headerAlignment`. A shared `renderBigNumber(alignment?)` helper would remove the duplication and make the alignment intent clearer.
Review Details
  • Files reviewed - 11 · Commit Range: d9b2d8d..d9b2d8d
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/controlPanel.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/types.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Comment thread superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx Outdated
@codecov

codecov Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.18%. Comparing base (240a426) to head (1d31665).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #44554      +/-   ##
==========================================
+ Coverage   82.17%   82.18%   +0.01%     
==========================================
  Files        2995     2995              
  Lines      184993   185019      +26     
  Branches    42818    42819       +1     
==========================================
+ Hits       152025   152065      +40     
+ Misses      30209    30195      -14     
  Partials     2759     2759              
Flag Coverage Δ
hive 36.30% <ø> (-0.01%) ⬇️
javascript 77.80% <100.00%> (+0.01%) ⬆️
mysql 55.34% <ø> (-0.01%) ⬇️
postgres 55.34% <ø> (-0.01%) ⬇️
presto 38.17% <ø> (-0.01%) ⬇️
python 86.13% <ø> (+<0.01%) ⬆️
sqlite 55.07% <ø> (-0.01%) ⬇️
unit 79.10% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot added i18n Namespace | Anything related to localization i18n:spanish Translation related to Spanish language i18n:italian Translation related to Italian language i18n:french Translation related to French language i18n:chinese Translation related to Chinese language i18n:japanese Translation related to Japanese language i18n:russian Translation related to Russian language i18n:korean Translation related to Korean language i18n:dutch i18n:slovak i18n:ukrainian i18n:portuguese i18n:brazilian i18n:traditional-chinese i18n:persian i18n:czech i18n:latvian labels Sep 23, 2026
@bito-code-review

bito-code-review Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #b5a683

Actionable Suggestions - 0
Additional Suggestions - 48
  • superset/translations/zh/LC_MESSAGES/messages.po - 4
    • Empty translation · Line 1807-1808
      Newly added `msgid "Alignment"` ships with an empty `msgstr ""`, so Chinese users will see the untranslated English label. Per BITO.md rule 12743, fill the translation before merging.
    • Empty translation · Line 3394-3395
      Newly added `msgid "Center"` ships with an empty `msgstr ""`, so zh users see the untranslated English label. Per BITO.md rule 12743, fill the translation before merging.
    • Empty translation · Line 8413-8414
      Newly added `msgid "Horizontal alignment of the metric value and supporting text"` ships with an empty `msgstr ""`, so zh users see untranslated English. Per BITO.md rule 12743, fill the translation before merging.
    • Empty translation · Line 17334-17337
      The `msgid` for the connection-move confirmation message was updated (added OAuth2 endpoint URIs / client secret) but its `msgstr` remains empty, so zh users see untranslated English. Per BITO.md rule 13343, fill the translation before merging.
  • superset/translations/it/LC_MESSAGES/messages.po - 3
    • Untranslated string · Line 2170-2171
      New msgid "Alignment" has an empty `msgstr`, so Italian users fall back to English. Fill in the translation (e.g. "Allineamento").
    • Untranslated string · Line 4104-4105
      New msgid "Center" has an empty `msgstr`, so Italian users fall back to English. Fill in the translation (e.g. "Centro").
    • Untranslated string · Line 10176-10177
      New msgid "Horizontal alignment of the metric value and supporting text" has an empty `msgstr`, so Italian users fall back to English. Fill in the translation.
  • superset/translations/zh_TW/LC_MESSAGES/messages.po - 3
    • Untranslated new string · Line 1879-1880
      New msgid `Alignment` (used as the `header_alignment` control label in `sharedControls.ts`) is added with an empty `msgstr`, so zh_TW users will see the English string. Add a translation.
    • Untranslated new string · Line 3578-3579
      New msgid `Center` (an option label in `sharedControls.ts` for `header_alignment`) is added with an empty `msgstr`, so zh_TW users see English. Add a translation.
    • Untranslated new string · Line 8979-8980
      New msgid `Horizontal alignment of the metric value and supporting text` (the `header_alignment` control description in `sharedControls.ts`) is added with an empty `msgstr`, so zh_TW users see English. Add a translation.
  • superset/translations/fr/LC_MESSAGES/messages.po - 4
    • Missing French translation · Line 1768-1769
      New msgid `Alignment` has an empty `msgstr`, so French users will see untranslated English. Fill in the French translation before merging (per BITO rules 12743/13343).
    • Missing French translation · Line 3382-3383
      New msgid `Center` has an empty `msgstr`, so French users will see untranslated English. Fill in the French translation before merging (per BITO rules 12743/13343).
    • Missing French translation · Line 8272-8273
      New msgid `Horizontal alignment of the metric value and supporting text` has an empty `msgstr`, so French users will see untranslated English. Fill in the French translation before merging (per BITO rules 12743/13343).
    • Missing French translation · Line 17156-17162
      The connection-move confirmation msgid was updated to mention OAuth2 endpoint URIs and client secret, but its `msgstr` remains empty, so French users see untranslated English. Provide the French translation (per BITO rules 12743/13343).
  • superset/translations/ta/LC_MESSAGES/messages.po - 2
    • Empty translation strings · Line 1761-1762
      New user-facing labels `Alignment`, `Center`, and `Horizontal alignment of the metric value and supporting text` are added with empty `msgstr` (lines 1761-1762, 3303-3304, 8108-8109). Tamil users will see untranslated English. Per BITO rule 12743, fill these translations before merge.
    • Untranslated confirmation · Line 16389-16392
      The connection-move confirmation msgid was expanded to mention OAuth2 endpoint URIs and client secret, but `msgstr` remains empty (line 16393). This user-facing confirmation dialog will render in English for Tamil users. Add the translation per BITO rule 13343.
  • superset/translations/pt/LC_MESSAGES/messages.po - 4
    • Empty translation added · Line 2257-2258
      New `msgid "Alignment"` is added with an empty `msgstr`, so pt users will see the untranslated English string. Per BITO.md rule 12743, fill the translation (e.g. "Alinhamento") before merging.
    • Empty translation added · Line 4322-4323
      New `msgid "Center"` is added with an empty `msgstr`, so pt users see the untranslated English string. Per BITO.md rule 12743, fill the translation (e.g. "Centro") before merging.
    • Empty translation added · Line 10563-10564
      New `msgid "Horizontal alignment of the metric value and supporting text"` is added with an empty `msgstr`, so pt users see the untranslated English string. Per BITO.md rule 12743, fill the translation before merging.
    • Untranslated error message · Line 22065-22068
      The connection-move error `msgid` was updated to mention OAuth2 endpoint URIs / client secret, but its `msgstr` (line 22069) is still empty, so pt users see untranslated English. Per BITO.md rule 13343, fill the translation before merging.
  • superset/translations/ru/LC_MESSAGES/messages.po - 4
    • Missing Russian translation · Line 1758-1759
      New `msgid "Alignment"` is added with an empty `msgstr`, so Russian users will see the untranslated English string. Fill in the Russian translation (e.g. `Выравнивание`) before merge, per BITO.md rule 12743.
    • Missing Russian translation · Line 3296-3297
      New `msgid "Center"` is added with an empty `msgstr`, so Russian users will see the untranslated English string. Fill in the Russian translation (e.g. `По центру`) before merge, per BITO.md rule 12743.
    • Missing Russian translation · Line 8048-8049
      New `msgid "Horizontal alignment of the metric value and supporting text"` is added with an empty `msgstr`, so Russian users will see the untranslated English string. Fill in the Russian translation before merge, per BITO.md rule 12743.
    • Missing Russian translation · Line 16555-16561
      The connection-move `msgid` text was changed (now mentions OAuth2 endpoint URIs and client secret) but its `msgstr` is still empty, so Russian users see untranslated English. Fill in the Russian translation before merge, per BITO.md rule 12743.
  • superset/translations/ca/LC_MESSAGES/messages.po - 4
    • Untranslated new message · Line 1824-1825
      New msgid `Alignment` is added with an empty `msgstr`, so Catalan users will see untranslated English. Per BITO.md rules [12743]/[13343], fill in the Catalan translation before merging.
    • Untranslated new message · Line 3497-3498
      New msgid `Center` is added with an empty `msgstr`, leaving it untranslated for Catalan users. Fill in the Catalan translation per BITO.md rules [12743]/[13343].
    • Untranslated new message · Line 8654-8655
      New msgid `Horizontal alignment of the metric value and supporting text` is added with an empty `msgstr`, leaving it untranslated for Catalan users. Fill in the Catalan translation per BITO.md rules [12743]/[13343].
    • Untranslated modified message · Line 17862-17866
      The msgid for the connection-move confirmation was reworded (added OAuth2 endpoint URIs / client secret) but its `msgstr` is empty, so Catalan users see untranslated English. Fill in the Catalan translation per BITO.md rules [12743]/[13343].
  • superset/translations/cs/LC_MESSAGES/messages.po - 3
    • Untranslated new string · Line 1813-1814
      New msgid `Alignment` was added with an empty `msgstr ""`, so Czech users will see the English source text. The same applies to the new `Center` (line 3386) and `Horizontal alignment of the metric value and supporting text` (line 8341) entries. Provide Czech translations for these new UI strings.
    • Untranslated new string · Line 3385-3386
      New msgid `Center` has an empty `msgstr ""`, so Czech users see the English source. Provide a Czech translation (e.g. "Střed").
    • Untranslated new string · Line 8340-8341
      New msgid `Horizontal alignment of the metric value and supporting text` has an empty `msgstr ""`, so Czech users see the English source. Provide a Czech translation.
  • superset/translations/th/LC_MESSAGES/messages.po - 4
    • Empty translation added · Line 2675-2676
      New msgid `Alignment` was added with an empty `msgstr ""`. Thai users will see the untranslated English string. Per BITO rule 12743, fill in the Thai translation before merging.
    • Empty translation added · Line 5307-5308
      New msgid `Center` was added with an empty `msgstr ""`. Thai users will see the untranslated English string. Per BITO rule 12743, fill in the Thai translation before merging.
    • Empty translation added · Line 13526-13527
      New msgid `Horizontal alignment of the metric value and supporting text` was added with an empty `msgstr ""`. Thai users will see the untranslated English string. Per BITO rule 12743, fill in the Thai translation before merging.
    • Empty error translation · Line 27899-27905
      The connection-move error `msgid` was updated to add OAuth2 endpoint URIs / client secret (synced with `messages.pot`), but its `msgstr` remains empty. Thai users see untranslated English for this error. Per BITO rule 13343, fill the translation before merging.
  • superset/translations/pl/LC_MESSAGES/messages.po - 1
    • Untranslated new strings · Line 1908-1909
      New `msgid "Alignment"` is added with an empty `msgstr`, so Polish UI will fall back to English for this string. Same for the new `"Center"` (line 3589) and `"Horizontal alignment of the metric value and supporting text"` (line 9060) entries. If these are intentionally awaiting translation, that's fine, but confirm they are covered by the backfill pass.
  • superset/translations/sl/LC_MESSAGES/messages.po - 4
    • Empty translation added · Line 1822-1823
      New entry `msgid "Alignment"` is added with an empty `msgstr ""`, so Slovenian users will see the untranslated English string. Fill in the translation before merge (BITO.md rule 12743 requires complete coverage).
    • Empty translation added · Line 3401-3402
      New entry `msgid "Center"` is added with an empty `msgstr ""`, so Slovenian users see the untranslated English string. Fill in the translation before merge (BITO.md rule 12743).
    • Empty translation added · Line 8312-8313
      New entry `msgid "Horizontal alignment of the metric value and supporting text"` is added with an empty `msgstr ""`, so Slovenian users see the untranslated English string. Fill in the translation before merge (BITO.md rule 12743).
    • Updated msgid untranslated · Line 17067-17070
      The `msgid` for the connection-move confirmation was updated (added OAuth2 endpoint URIs / client secret) but its `msgstr` is still empty, so Slovenian users see untranslated English. Provide the translation (BITO.md rule 12743).
  • superset/translations/sr/LC_MESSAGES/messages.po - 4
    • Untranslated string added · Line 2117-2118
      New msgid "Alignment" is added with an empty `msgstr`, so Serbian users will see the English fallback. Per BITO.md rule 12743, empty msgstr fields should be filled with translations before merge.
    • Untranslated string added · Line 4032-4033
      New msgid "Center" is added with an empty `msgstr`, so Serbian users see the English fallback. Per BITO.md rule 12743, empty msgstr fields should be filled with translations before merge.
    • Untranslated string added · Line 9986-9987
      New msgid "Horizontal alignment of the metric value and supporting text" is added with an empty `msgstr`, so Serbian users see the English fallback. Per BITO.md rule 12743, empty msgstr fields should be filled with translations before merge.
    • Untranslated error message · Line 20437-20440
      The connection-move error message msgid was updated (now mentions OAuth2 endpoint URIs / client secret) but its `msgstr` is empty, so Serbian users see untranslated English. Per BITO.md rule 13343, error messages must have complete translations before merge.
  • superset/translations/ja/LC_MESSAGES/messages.po - 3
    • Untranslated new string · Line 1633-1634
      New msgid "Alignment" is added with an empty `msgstr`, so Japanese users will see the English string. The file already has ~622 untranslated entries, but this PR introduces new UI strings that will render in English until translated.
    • Untranslated new string · Line 3056-3057
      New msgid "Center" is added with an empty `msgstr`, so Japanese users will see the English string. Note the sibling "Center value" (line 3059) is also untranslated, so this is consistent but still a user-facing gap.
    • Untranslated new string · Line 7545-7546
      New msgid "Horizontal alignment of the metric value and supporting text" is added with an empty `msgstr`, so Japanese users will see the English string. This is a new UI string introduced by the PR.
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx - 1
    • Misleading variable reuse · Line 251-251
      `justifyContent: alignItems` reuses a variable named for the `alignItems` axis (also used at lines 443/448/491/503). The values coincide, so behavior is correct, but the name misleads readers into thinking the cross-axis property is being set. Consider `justifyContent: ALIGN_ITEMS[headerAlignment]` or a neutral `alignment` name.
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

Review Details
  • Files reviewed - 33 · Commit Range: d9b2d8d..e12a34e
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
    • superset/translations/ar/LC_MESSAGES/messages.po
    • superset/translations/ca/LC_MESSAGES/messages.po
    • superset/translations/cs/LC_MESSAGES/messages.po
    • superset/translations/de/LC_MESSAGES/messages.po
    • superset/translations/en/LC_MESSAGES/messages.po
    • superset/translations/es/LC_MESSAGES/messages.po
    • superset/translations/fa/LC_MESSAGES/messages.po
    • superset/translations/fi/LC_MESSAGES/messages.po
    • superset/translations/fr/LC_MESSAGES/messages.po
    • superset/translations/it/LC_MESSAGES/messages.po
    • superset/translations/ja/LC_MESSAGES/messages.po
    • superset/translations/ko/LC_MESSAGES/messages.po
    • superset/translations/lv/LC_MESSAGES/messages.po
    • superset/translations/messages.pot
    • superset/translations/mi/LC_MESSAGES/messages.po
    • superset/translations/nl/LC_MESSAGES/messages.po
    • superset/translations/pl/LC_MESSAGES/messages.po
    • superset/translations/pt/LC_MESSAGES/messages.po
    • superset/translations/pt_BR/LC_MESSAGES/messages.po
    • superset/translations/ro/LC_MESSAGES/messages.po
    • superset/translations/ru/LC_MESSAGES/messages.po
    • superset/translations/sk/LC_MESSAGES/messages.po
    • superset/translations/sl/LC_MESSAGES/messages.po
    • superset/translations/sr/LC_MESSAGES/messages.po
    • superset/translations/sr_Latn/LC_MESSAGES/messages.po
    • superset/translations/ta/LC_MESSAGES/messages.po
    • superset/translations/th/LC_MESSAGES/messages.po
    • superset/translations/tr/LC_MESSAGES/messages.po
    • superset/translations/uk/LC_MESSAGES/messages.po
    • superset/translations/zh/LC_MESSAGES/messages.po
    • superset/translations/zh_TW/LC_MESSAGES/messages.po
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@rusackas
rusackas force-pushed the feat/bignumber-alignment-control branch from e12a34e to 33a57ab Compare September 23, 2026 13:25
@github-actions github-actions Bot added i18n:french Translation related to French language i18n:chinese Translation related to Chinese language i18n:japanese Translation related to Japanese language i18n:russian Translation related to Russian language i18n:korean Translation related to Korean language i18n:dutch i18n:slovak i18n:ukrainian i18n:portuguese i18n:brazilian i18n:traditional-chinese i18n:persian labels Sep 28, 2026
@bito-code-review

bito-code-review Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #87b4bd

Actionable Suggestions - 0
Additional Suggestions - 5
  • superset/translations/zh/LC_MESSAGES/messages.po - 1
    • Untranslated new strings · Line 1813-1813
      All newly added msgids (lines 1813, 3411, 5211, 5223, 7404, 8468, 10838, 12029, 12032, 16015, 17121) have empty `msgstr ""`, so zh users will see the English source text for these dashboard-export and alignment strings. Each msgid is confirmed present in `messages.pot`, so they are live translatable strings. Fill in the Chinese translations before shipping.
  • superset/translations/zh_TW/LC_MESSAGES/messages.po - 1
    • Untranslated new strings · Line 1885-1886
      All 13 newly added msgids carry an empty `msgstr`, so zh_TW users will see the English source text for these dashboard-export strings (e.g. `Dashboard has no charts to export.` from `dashboards/api.py`, `Preparing dashboard Excel export…` from `DownloadMenuItems/index.tsx`). Fill in the translations or run the backfill step before merging.
  • superset/translations/ko/LC_MESSAGES/messages.po - 1
    • Untranslated new strings · Line 2436-2436
      All 11 newly added msgids (lines 2435, 4839, 7435, 7451, 10662, 12215, 15797, 17660, 17663, 23463, 25106) have empty `msgstr`, so Korean users see English fallback. These strings are live in the dashboard Excel-export flow (`superset/dashboards/api.py`, `DownloadMenuItems/index.tsx`, `excel_export/email.py`). Add Korean translations before release.
  • superset/translations/nl/LC_MESSAGES/messages.po - 1
    • Untranslated new strings · Line 5490-5490
      All 11 newly added msgids (lines 1864, 3603, 5490, 5504, 7855, 8959, 11398, 12633, 12636, 16877, 18170) have empty msgstr. These strings are live in source (`api.py`, `email.py`, `DownloadMenuItems/index.tsx`, `sharedControls.ts`), so gettext falls back to English for Dutch users. Add translations or the new UI ships untranslated.
  • superset/translations/ar/LC_MESSAGES/messages.po - 1
    • Untranslated new strings · Line 1985-1986
      The 11 newly added msgids all ship with empty `msgstr ""`, so Arabic users will see the English source text for these dashboard-export toasts and alignment labels (e.g. `Preparing dashboard Excel export…`, `Dashboard data exported to Excel`). Fill in Arabic translations (or mark them fuzzy) before release so the new UI strings are localized.
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

Review Details
  • Files reviewed - 31 · Commit Range: 4fa5364..065a7a5
    • superset/translations/ar/LC_MESSAGES/messages.po
    • superset/translations/ca/LC_MESSAGES/messages.po
    • superset/translations/cs/LC_MESSAGES/messages.po
    • superset/translations/de/LC_MESSAGES/messages.po
    • superset/translations/en/LC_MESSAGES/messages.po
    • superset/translations/es/LC_MESSAGES/messages.po
    • superset/translations/fa/LC_MESSAGES/messages.po
    • superset/translations/fi/LC_MESSAGES/messages.po
    • superset/translations/fr/LC_MESSAGES/messages.po
    • superset/translations/it/LC_MESSAGES/messages.po
    • superset/translations/ja/LC_MESSAGES/messages.po
    • superset/translations/ko/LC_MESSAGES/messages.po
    • superset/translations/lv/LC_MESSAGES/messages.po
    • superset/translations/messages.pot
    • superset/translations/mi/LC_MESSAGES/messages.po
    • superset/translations/nl/LC_MESSAGES/messages.po
    • superset/translations/pl/LC_MESSAGES/messages.po
    • superset/translations/pt/LC_MESSAGES/messages.po
    • superset/translations/pt_BR/LC_MESSAGES/messages.po
    • superset/translations/ro/LC_MESSAGES/messages.po
    • superset/translations/ru/LC_MESSAGES/messages.po
    • superset/translations/sk/LC_MESSAGES/messages.po
    • superset/translations/sl/LC_MESSAGES/messages.po
    • superset/translations/sr/LC_MESSAGES/messages.po
    • superset/translations/sr_Latn/LC_MESSAGES/messages.po
    • superset/translations/ta/LC_MESSAGES/messages.po
    • superset/translations/th/LC_MESSAGES/messages.po
    • superset/translations/tr/LC_MESSAGES/messages.po
    • superset/translations/uk/LC_MESSAGES/messages.po
    • superset/translations/zh/LC_MESSAGES/messages.po
    • superset/translations/zh_TW/LC_MESSAGES/messages.po
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@bito-code-review

bito-code-review Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #4a7682

Actionable Suggestions - 0
Additional Suggestions - 1
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx - 1
    • Misleading flex alignment reuse · Line 251-251
      `justifyContent: alignItems` reuses a variable named for the cross-axis property as the main-axis value. It works because flex-start/center/flex-end are valid for both, but the name is misleading and a future edit to `ALIGN_ITEMS` could silently break the header-line alignment. A neutral name like `alignment` (or a dedicated `justifyContent` map) would read correctly.
Review Details
  • Files reviewed - 11 · Commit Range: b867395..00d2d1b
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/controlPanel.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/types.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@bito-code-review

bito-code-review Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #c651a4

Actionable Suggestions - 0
Additional Suggestions - 28
  • superset/translations/pt/LC_MESSAGES/messages.po - 3
    • Untranslated UI label · Line 2258-2259
      New UI label `Alignment` is added with an empty `msgstr` (present in `superset/translations/en/.../messages.po:1621`). Portuguese users will see untranslated English. Add the translation.
    • Untranslated UI label · Line 4336-4337
      New UI label `Center` is added with an empty `msgstr` (present in `superset/translations/en/.../messages.po:3047`). Portuguese users will see untranslated English. Add the translation.
    • Untranslated UI label · Line 10641-10642
      New UI label `Horizontal alignment of the metric value and supporting text` is added with an empty `msgstr`. Portuguese users will see untranslated English. Add the translation.
  • superset/translations/lv/LC_MESSAGES/messages.po - 4
    • Untranslated new error entry · Line 1759-1759
      New entry `Alert query must not contain the file-transfer command(s): %(commands)s` (used in `superset/exceptions.py:505`) has an empty `msgstr`, so Latvian users see untranslated English on this error path. Fill in the translation per BITO rule 12743.
    • Untranslated new entry · Line 1807-1807
      New entry `Alignment` (used in `sharedControls.ts:121` as a BigNumber control label) has an empty `msgstr`, so Latvian users see English. Fill in the translation per BITO rule 12743.
    • Untranslated new entry · Line 3368-3368
      New entry `Center` (used in `sharedControls.ts:127` as a BigNumber alignment option) has an empty `msgstr`, so Latvian users see English. Fill in the translation per BITO rule 12743.
    • Untranslated new entry · Line 8266-8266
      New entry `Horizontal alignment of the metric value and supporting text` (used in `sharedControls.ts:131`) has an empty `msgstr`, so Latvian users see English. Fill in the translation per BITO rule 12743.
  • superset/translations/ro/LC_MESSAGES/messages.po - 4
    • Empty error translation · Line 1865-1865
      Newly added error message `Alert query must not contain the file-transfer command(s): %(commands)s` has an empty `msgstr`, so Romanian users will see the English fallback. Per BITO rule 13343, user-facing error messages must ship with complete translations.
    • Empty UI translation · Line 1916-1916
      New `msgid "Alignment"` has an empty `msgstr`, so Romanian UI shows the English fallback. Per BITO rule 12743, all user-facing messages need complete translations before merge.
    • Empty UI translation · Line 3572-3572
      New `msgid "Center"` has an empty `msgstr`, so Romanian UI shows the English fallback. Per BITO rule 12743, all user-facing messages need complete translations before merge.
    • Empty UI translation · Line 8839-8839
      New `msgid "Horizontal alignment of the metric value and supporting text"` has an empty `msgstr`, so Romanian UI shows the English fallback. Per BITO rule 12743, all user-facing messages need complete translations before merge.
  • superset/translations/ru/LC_MESSAGES/messages.po - 1
    • Untranslated new msgids · Line 1720-1722
      Newly added msgids have empty `msgstr`, so Russian users will see untranslated English fallback. This affects the file-transfer alert message (1720-1722), "Alignment" (1769-1770), "Center" (3320-3321), and "Horizontal alignment of the metric value and supporting text" (8136-8137). Please provide Russian translations per BITO.md rule 12743.
  • superset/translations/fa/LC_MESSAGES/messages.po - 4
    • Empty error translation · Line 1797-1797
      New error msgid 'Alert query must not contain the file-transfer command(s): %(commands)s' (raised in `alert.py:200`) has an empty `msgstr`, so Persian users see untranslated English. Per BITO rule 13343, user-facing error messages need complete translations before merge.
    • Empty label translation · Line 1844-1844
      New UI label msgid 'Alignment' (from `sharedControls.ts:121`) has an empty `msgstr`, so Persian users see English. Per BITO rule 12743, all user-facing messages need complete translations; fill the fa msgstr.
    • Empty label translation · Line 3506-3506
      New UI label msgid 'Center' (from `sharedControls.ts:127`) has an empty `msgstr`, so Persian users see English. Per BITO rule 12743, all user-facing messages need complete translations; fill the fa msgstr.
    • Empty label translation · Line 8768-8768
      New description msgid 'Horizontal alignment of the metric value and supporting text' (from `sharedControls.ts:131`) has an empty `msgstr`, so Persian users see English. Per BITO rule 12743, fill the fa msgstr.
  • superset/translations/it/LC_MESSAGES/messages.po - 4
    • Missing Italian translation · Line 2094-2096
      New user-facing error string added with an empty `msgstr`, so Italian users will see the English `msgid` (gettext falls back to the source string). The string is raised in `alert.py` via `_()` and is a real runtime path. Add the Italian translation per BITO.md rule 12743.
    • Missing Italian translation · Line 2171-2172
      New `msgid "Alignment"` added with an empty `msgstr`, so Italian users see the English source string. This is a user-facing UI label (present in the en catalog at line 1621). Add the Italian translation per BITO.md rule 12743.
    • Missing Italian translation · Line 4118-4119
      New `msgid "Center"` added with an empty `msgstr`, so Italian users see the English source string. This is a user-facing UI label (present in the en catalog at line 3047). Add the Italian translation per BITO.md rule 12743.
    • Missing Italian translation · Line 10256-10257
      New `msgid "Horizontal alignment of the metric value and supporting text"` added with an empty `msgstr`, so Italian users see the English source string. This is a user-facing UI label (present in the en catalog at line 7610). Add the Italian translation per BITO.md rule 12743.
  • superset/translations/ta/LC_MESSAGES/messages.po - 1
    • Empty error translation · Line 1716-1716
      New error message from `superset/commands/report/alert.py` (`AlertQueryError`) is added with an empty `msgstr ""`, so Tamil users see untranslated English on the alert-validation error path. Per BITO.md [13343], error messages must ship with complete translations. Please fill in the Tamil `msgstr`.
  • superset/translations/uk/LC_MESSAGES/messages.po - 3
    • Untranslated UI label · Line 1824-1824
      Newly added UI label `Alignment` has an empty `msgstr`. It is a user-facing control label (present in the en base PO at line 1621). Fill in the Ukrainian translation so uk users don't see English.
    • Untranslated UI label · Line 3371-3371
      Newly added UI label `Center` has an empty `msgstr`. It is a user-facing control label (present in the en base PO at line 3047). Fill in the Ukrainian translation so uk users don't see English.
    • Untranslated UI label · Line 8276-8276
      Newly added UI label `Horizontal alignment of the metric value and supporting text` has an empty `msgstr`. It is a user-facing control description (present in `superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts:131`). Fill in the Ukrainian translation.
  • superset/translations/sl/LC_MESSAGES/messages.po - 4
    • Missing error translation · Line 1781-1781
      New user-facing error message `Alert query must not contain the file-transfer command(s): %(commands)s` (source in `superset/commands/report/alert.py:200`) is added with an empty `msgstr`. Slovenian users will see untranslated English text. Per BITO.md rule 13343, fill in the translation before merge.
    • Missing UI translation · Line 1828-1828
      New UI label `Alignment` (source `t('Alignment')` in `superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts:121`) is added with an empty `msgstr`. Slovenian users will see untranslated English. Per BITO.md rule 12743, fill in the translation.
    • Missing UI translation · Line 3420-3420
      New UI label `Center` (source `t('Center')` in `sharedControls.ts:127`) is added with an empty `msgstr`. Slovenian users will see untranslated English. Per BITO.md rule 12743, fill in the translation.
    • Missing UI translation · Line 8396-8396
      New UI label `Horizontal alignment of the metric value and supporting text` (source in `sharedControls.ts:131`) is added with an empty `msgstr`. Slovenian users will see untranslated English. Per BITO.md rule 12743, fill in the translation.
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

Review Details
  • Files reviewed - 31 · Commit Range: 00d2d1b..3d9e8c8
    • superset/translations/ar/LC_MESSAGES/messages.po
    • superset/translations/ca/LC_MESSAGES/messages.po
    • superset/translations/cs/LC_MESSAGES/messages.po
    • superset/translations/de/LC_MESSAGES/messages.po
    • superset/translations/en/LC_MESSAGES/messages.po
    • superset/translations/es/LC_MESSAGES/messages.po
    • superset/translations/fa/LC_MESSAGES/messages.po
    • superset/translations/fi/LC_MESSAGES/messages.po
    • superset/translations/fr/LC_MESSAGES/messages.po
    • superset/translations/it/LC_MESSAGES/messages.po
    • superset/translations/ja/LC_MESSAGES/messages.po
    • superset/translations/ko/LC_MESSAGES/messages.po
    • superset/translations/lv/LC_MESSAGES/messages.po
    • superset/translations/messages.pot
    • superset/translations/mi/LC_MESSAGES/messages.po
    • superset/translations/nl/LC_MESSAGES/messages.po
    • superset/translations/pl/LC_MESSAGES/messages.po
    • superset/translations/pt/LC_MESSAGES/messages.po
    • superset/translations/pt_BR/LC_MESSAGES/messages.po
    • superset/translations/ro/LC_MESSAGES/messages.po
    • superset/translations/ru/LC_MESSAGES/messages.po
    • superset/translations/sk/LC_MESSAGES/messages.po
    • superset/translations/sl/LC_MESSAGES/messages.po
    • superset/translations/sr/LC_MESSAGES/messages.po
    • superset/translations/sr_Latn/LC_MESSAGES/messages.po
    • superset/translations/ta/LC_MESSAGES/messages.po
    • superset/translations/th/LC_MESSAGES/messages.po
    • superset/translations/tr/LC_MESSAGES/messages.po
    • superset/translations/uk/LC_MESSAGES/messages.po
    • superset/translations/zh/LC_MESSAGES/messages.po
    • superset/translations/zh_TW/LC_MESSAGES/messages.po
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@bito-code-review

bito-code-review Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #e5274b

Actionable Suggestions - 0
Additional Suggestions - 1
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx - 1
    • Duplicated render setup · Line 307-327
      The new `test.each` re-inlines the full `BigNumberVis` JSX that `renderViz` (lines 255-269) already factors out. If a shared prop (e.g. `headerFontSize`, `refs`) changes, both copies must be updated in lockstep. Consider a helper that accepts optional trendline props.
Review Details
  • Files reviewed - 1 · Commit Range: 3d9e8c8..b824ad2
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@bito-code-review

bito-code-review Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #3b30d6

Actionable Suggestions - 0
Additional Suggestions - 1
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/controlPanel.tsx - 1
    • Misplaced control in section · Line 239-239
      `headerAlignmentControl` is added at line 239, after the 'Y Axis' subsection header (line 180) and all Y-axis controls, so it renders under the 'Y Axis' subsection even though it controls header alignment. Relocate it near the header controls (e.g. after `metricNameFontSizeWithVisibility`) so the panel groups it correctly.
Review Details
  • Files reviewed - 11 · Commit Range: f95f487..561ef72
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/controlPanel.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/types.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

rusackas and others added 6 commits October 1, 2026 21:23
Superset 5 centered the Big Number value and subheader; the Emotion
CSS-in-JS migration hardcoded align-items: flex-start on the shared
BigNumberViz component, and there's been no way back since (#37674).

Adds a header_alignment control (Left/Center/Right, default Left to
match current behavior) to both BigNumberTotal and BigNumberWithTrendline,
threaded through transformProps into BigNumberVizProps. BigNumberViz
applies it as align-items on the outer container and text-container, and
text-align on each text line (metric name, kicker, header, subheader,
subtitle), so multi-line wrapped text aligns internally too.

Scoped to alignment only: doesn't touch axis/grid config, context menu
wiring, conditional formatting, or aggregation logic.

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
header-line is a flex container, so text-align never affected the big
number's own position (only justify-content does); fix by aligning
via justify-content instead, and update the alignment tests to match.
Also regenerate messages.pot/po catalogs to pick up the new alignment
control strings and a pre-existing drift from master.

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Extracts a renderViz helper for the three headerAlignment test cases
in BigNumberViz.test.tsx, per bito-code-review's suggestion, so the
~13-prop render call lives in one place instead of three.

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Forces the text-container overflow path (block display) and confirms
the header value and subheader stay centered via their own inline
styles rather than the parent's disabled alignItems.

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… layouts

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bito-code-review

bito-code-review Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #e0573d

Actionable Suggestions - 0
Additional Suggestions - 2
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx - 1
    • Duplicated render prop blocks · Line 310-328
      The full `BigNumberVis` prop block is declared three times: `renderViz` (lines 257-268), the `test.each` render (lines 310-328), and the overflow test (lines 352-370). Extending `renderViz` with an overrides parameter would keep future prop additions (e.g. a new required `BigNumberVizProps` field) single-sourced instead of requiring three synchronized edits.
  • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.test.ts - 1
    • any type in new test code · Line 78-78
      The new callback annotates `control` as `any`, but `.cursor/rules/dev-standard.mdc` bans `any` types in new TypeScript code. Let TypeScript infer the row-element union and narrow with `typeof control === 'object'` before reading `name`, avoiding the untyped escape hatch while keeping the same lookup behavior.
Review Details
  • Files reviewed - 11 · Commit Range: 1d8bd32..d0b58dc
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/controlPanel.tsx
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.test.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/sharedControls.ts
    • superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/types.ts
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful
    • Eslint (Linter) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

rusackas and others added 2 commits October 2, 2026 10:53
# Conflicts:
#	superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.test.tsx
Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bito-code-review

bito-code-review Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #06c89b

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: d0b58dc..1d31665
    • superset/translations/messages.pot
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Namespace | Anything related to localization plugins preset-io risk:chart-metadata size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

center big number v6

2 participants