You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/09/26 19:21:37 UTC

[GitHub] [incubator-superset] etr2460 opened a new pull request #8305: [SQL Lab] Improve autocomplete

etr2460 opened a new pull request #8305: [SQL Lab] Improve autocomplete
URL: https://github.com/apache/incubator-superset/pull/8305
 
 
   ### CATEGORY
   
   Choose one
   
   - [x] Bug Fix
   - [ ] Enhancement (new features, refinement)
   - [x] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   when a user would type `sel` into the autocomplete, we'd prioritize schemas containing `sel` as opposed to the SQL keyword `SELECT`. This fixes that bug, and also refactors some of the code to prevent a similar issue and be clearer (read more immutable).
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   ![image](https://user-images.githubusercontent.com/7409244/65718152-a73e8f80-e03e-11e9-8ae3-7e58ee0b3b60.png)
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   Type `sel` into the editor, and see `SELECT` as the autocomplete option
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   ### REVIEWERS
   @graceguo-supercat @michellethomas @betodealmeida 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org