Repository navigation
fix(explore): hide SQL Lab links for semantic views - #46336
Merged
mikebridge merged 1 commit intoNov 19, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #46336 +/- ##
=======================================
Coverage 65.43% 65.43%
=======================================
Files 3102 3102
Lines 213946 213951 +5
Branches 50537 50542 +5
=======================================
+ Hits 139996 140000 +4
- Misses 70731 70732 +1
Partials 3219 3219
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
mikebridge
marked this pull request as ready for review
November 19, 2026 00:18
mikebridge
requested review from
aminghadersohi,
fitzee,
gabotorresruiz and
rebenitez1802
November 19, 2026 00:18
Contributor
aminghadersohi
approved these changes
Nov 19, 2026
aminghadersohi
left a comment
Contributor
There was a problem hiding this comment.
Both SQL Lab actions are hidden for semantic views, and each new semantic-view case fails if its gate is reverted.
Nit: DatasourceControl.test.tsx: the menu never reads form_data.slice_id, so its saved/unsaved cases run the same code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explore now hides the SQL Lab actions for semantic views, where those actions are not applicable. SQL datasets and query datasources keep their existing actions, including on unsaved charts.
SUMMARY
Hide “Run in SQL Lab” in the Explore actions menu and “View in SQL Lab” in the datasource menu when the datasource is a semantic view. Keep “View query” available. Add coverage for semantic views, tables and query datasources on saved and unsaved charts.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
No browser check has been performed for this PR, and no screenshot is available yet. This is a draft pending that verification.
TESTING INSTRUCTIONS
Automated validation: both affected component suites pass (94 tests); changed-file pre-commit checks, including frontend type checking, pass.
Manual verification pending:
ADDITIONAL INFORMATION