-
Notifications
You must be signed in to change notification settings - Fork 14k
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
fix: Custom SQL filter control #29260
Merged
john-bodley
merged 1 commit into
apache:master
from
michael-s-molina:fix-sql-filter-control
Jun 14, 2024
Merged
fix: Custom SQL filter control #29260
john-bodley
merged 1 commit into
apache:master
from
michael-s-molina:fix-sql-filter-control
Jun 14, 2024
Conversation
This file contains 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
dosubot
bot
added
explore:filter
Related to filters in Explore
frontend:refactor
Related to refactoring the frontend
labels
Jun 14, 2024
@@ -95,11 +90,6 @@ export default class AdhocFilterEditPopoverSqlTabContent extends Component { | |||
render() { | |||
const { adhocFilter, height, options } = this.props; | |||
|
|||
const clauseSelectProps = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to the component declaration.
justinpark
approved these changes
Jun 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the RTL migration too
john-bodley
added
v4.0
Label added by the release manager to track PRs to be included in the 4.0 branch
review:checkpoint
Last PR reviewed during the daily review standup
labels
Jun 14, 2024
michael-s-molina
added a commit
that referenced
this pull request
Jun 14, 2024
michael-s-molina
added a commit
that referenced
this pull request
Jun 14, 2024
john-bodley
removed
the
review:checkpoint
Last PR reviewed during the daily review standup
label
Jun 17, 2024
mistercrunch
added
🍒 4.0.2
🏷️ bot
A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels
labels
Jul 24, 2024
eschutho
pushed a commit
that referenced
this pull request
Jul 24, 2024
3 tasks
irublev
pushed a commit
to HighviewPower/superset
that referenced
this pull request
Oct 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🏷️ bot
A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels
explore:filter
Related to filters in Explore
frontend:refactor
Related to refactoring the frontend
size/L
v4.0
Label added by the release manager to track PRs to be included in the 4.0 branch
🍒 4.0.2
🚢 4.1.0
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.
SUMMARY
This PR fixes a number of problems with the Custom SQL filter control:
Where
clause was actually being applied asHAVING
. This bug was introduced in chore: make TS enums strictly PascalCase #26875.This PR also reimplements the tests using RTL and creates a helper function to interact with the
Select
component in tests.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Screen.Recording.2024-06-14.at.13.13.32.mov
Screen.Recording.2024-06-14.at.09.41.17.mov
TESTING INSTRUCTIONS
Check the videos for instructions.
ADDITIONAL INFORMATION