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

Search queries when enter is pressed #6043

Merged
merged 4 commits into from Oct 7, 2018
Merged

Conversation

betodealmeida
Copy link
Member

The query search form has an input field for text search:

screen shot 2018-10-05 at 10 20 34 am

I added an event handler so that when pressing enter a search is executed, since I saw many users trying to do this while teaching Superset at work.

@codecov-io
Copy link

codecov-io commented Oct 5, 2018

Codecov Report

Merging #6043 into master will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6043      +/-   ##
==========================================
+ Coverage   77.79%   77.85%   +0.05%     
==========================================
  Files          46       46              
  Lines        9398     9400       +2     
==========================================
+ Hits         7311     7318       +7     
+ Misses       2087     2082       -5
Impacted Files Coverage Δ
superset/utils.py 88.39% <0%> (-0.9%) ⬇️
superset/connectors/sqla/views.py 64.34% <0%> (ø) ⬆️
superset/connectors/sqla/models.py 81.2% <0%> (+0.82%) ⬆️
superset/db_engine_specs.py 55.7% <0%> (+0.87%) ⬆️

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 8fe6f12...5cdb9b1. 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.

Change looks good.

A unit test to accompany it would be lovely before submitting. 🙂

@betodealmeida betodealmeida merged commit 96952d0 into apache:master Oct 7, 2018
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.

Sorry for being slow to respond. Love the new tests!

betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 11, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Oct 17, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
mistercrunch pushed a commit to lyft/incubator-superset that referenced this pull request Oct 29, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
betodealmeida added a commit to lyft/incubator-superset that referenced this pull request Oct 30, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Nov 2, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
youngyjd pushed a commit to lyft/incubator-superset that referenced this pull request Nov 2, 2018
* Search queries when enter is pressed

* Add unit test

* Remove line

* Improve test

(cherry picked from commit 96952d0)
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.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.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants