Skip to content

Conversation

@VanessaGiannoni
Copy link

SUMMARY

Right-clicking a Timeseries/Area chart to open the drill menu caused ECharts tooltips to stop appearing until page refresh. Tooltips are gated by an “in context menu” state, but visibility was not restored on close.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After

echart-tooltip-not-hidden

Before

tooltip-failing.mov

TESTING INSTRUCTIONS

  1. Create an Area chart with tooltips enabled and add it to a dashboard.
  2. On the dashboard:
    • Right-click on the chart to open the drill menu.
    • Click anywhere to close the drill menu.
    • Hover the chart and confirm the tooltip appears again.

ADDITIONAL INFORMATION

  • Has associated issue:
  • 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

@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@bito-code-review
Copy link
Contributor

bito-code-review bot commented Jan 20, 2026

Code Review Agent Run #3bb82a

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 0a3bd87..0a3bd87
    • superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/EchartsTimeseries.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 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

@dosubot dosubot bot added the viz:charts:timeseries Related to Timeseries label Jan 20, 2026
@netlify
Copy link

netlify bot commented Jan 20, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 0a3bd87
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/696f7e8ab5869c0008e3414a
😎 Deploy Preview https://deploy-preview-37284--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI finished reviewing your PR.

@bito-code-review
Copy link
Contributor

The current change adds a workaround to restore tooltip visibility after drill menu interactions using a mousedown listener. For a higher-layer fix, consider modifying the drill menu logic to avoid hiding the tooltip altogether, perhaps by adjusting ECharts options or event handling in the menu component itself.

@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI Incremental review completed.

@VanessaGiannoni VanessaGiannoni requested a review from geido January 21, 2026 22:57
@github-actions github-actions bot removed the plugins label Jan 21, 2026
@bito-code-review
Copy link
Contributor

bito-code-review bot commented Jan 21, 2026

Code Review Agent Run #871c37

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 0a3bd87..2479846
    • superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.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 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

Copy link
Member

@msyavuz msyavuz left a comment

Choose a reason for hiding this comment

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

Can we add a regression test for this?

@VanessaGiannoni
Copy link
Author

Can we add a regression test for this?

Of course!

Copy link
Contributor

@bito-code-review bito-code-review bot left a comment

Choose a reason for hiding this comment

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

Code Review Agent Run #dcd3e1

Actionable Suggestions - 1
  • superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.test.tsx - 1
Review Details
  • Files reviewed - 2 · Commit Range: 2479846..debe7db
    • superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.test.tsx
    • superset-frontend/src/components/Chart/ChartContextMenu/ChartContextMenu.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 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

userEvent.click(menuItem);

await waitFor(() => {
expect(screen.getByTestId('tooltip-visible')).toBeInTheDocument();
Copy link
Contributor

Choose a reason for hiding this comment

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

Test assertion incorrect for restoration

The test expects tooltip visible when menu opens, but for restoration testing, it should be hidden.

Code suggestion
Check the AI-generated fix before applying
Suggested change
expect(screen.getByTestId('tooltip-visible')).toBeInTheDocument();
expect(screen.queryByTestId('tooltip-visible')).not.toBeInTheDocument();

Code Review Run #dcd3e1


Should Bito avoid suggestions like this for future reviews? (Manage Rules)

  • Yes, avoid them

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

Labels

size/L viz:charts:timeseries Related to Timeseries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants