Skip to content
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

[explore] Include "Autocomplete Query Predicate" field to Table Editor #6171

Merged
merged 2 commits into from Oct 29, 2018

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Oct 24, 2018

  1. Bringing "Autocomplete Query Predicate" to table editor
  2. Show loading spinner while values are getting fetched

screen shot 2018-10-24 at 12 36 26 am

@betodealmeida

@mistercrunch mistercrunch changed the title Improvements around filters [explore] Include "Autocomplete Query Predicate" field to Table Editor Oct 24, 2018
@codecov-io
Copy link

codecov-io commented Oct 24, 2018

Codecov Report

Merging #6171 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6171      +/-   ##
==========================================
+ Coverage   76.91%   76.91%   +<.01%     
==========================================
  Files          47       47              
  Lines        9362     9363       +1     
==========================================
+ Hits         7201     7202       +1     
  Misses       2161     2161
Impacted Files Coverage Δ
superset/connectors/sqla/models.py 80.79% <100%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47b1a08...f39be7c. Read the comment docs.

Copy link
Contributor

@xtinec xtinec left a comment

Choose a reason for hiding this comment

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

LGTM. Just a small unit test suggestion.

@@ -336,6 +336,18 @@ export class DatasourceEditor extends React.PureComponent {
descr={t('Whether to populate autocomplete filters options')}
control={<CheckboxControl />}
/>
{this.state.isSqla &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps a quick unit test for the conditional rendering? :)

@mistercrunch
Copy link
Member Author

Addressed comments, merging

@mistercrunch mistercrunch merged commit 5403f31 into apache:master Oct 29, 2018
@mistercrunch mistercrunch deleted the fetch_values_predicate branch October 29, 2018 17:33
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Oct 29, 2018
apache#6171)

* Improvements around filters

* Adding simple test

(cherry picked from commit 5403f31)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Nov 2, 2018
apache#6171)

* Improvements around filters

* Adding simple test

(cherry picked from commit 5403f31)
(cherry picked from commit 2e3e063)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Nov 2, 2018
apache#6171)

* Improvements around filters

* Adding simple test

(cherry picked from commit 5403f31)
(cherry picked from commit 2e3e063)
bipinsoniguavus pushed a commit to ThalesGroup/incubator-superset that referenced this pull request Dec 26, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0 labels Feb 27, 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 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants