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/08/09 17:25:25 UTC

[GitHub] [incubator-superset] etr2460 opened a new pull request #8018: [Dashboard] Hide slice titles when they're empty

etr2460 opened a new pull request #8018: [Dashboard] Hide slice titles when they're empty
URL: https://github.com/apache/incubator-superset/pull/8018
 
 
   ### CATEGORY
   
   Choose one
   
   - [x] Bug Fix
   - [ ] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   After https://github.com/apache/incubator-superset/pull/7084 slices can no longer have whitespace as a name. This means that there's no way to remove the title from a slice in a dashboard. This PR removes the `<empty>` text from a slice when viewing it in a dashboard.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   Before:
   ![Screen Shot 2019-08-09 at 10 20 41 AM](https://user-images.githubusercontent.com/7409244/62797099-aef6a480-ba8f-11e9-9349-c4051bf71033.png)
   
   After:
   ![Screen Shot 2019-08-09 at 10 20 23 AM](https://user-images.githubusercontent.com/7409244/62797108-b28a2b80-ba8f-11e9-828d-759382ae21e6.png)
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   View slices with and without titles in dashboards. See titles when not set to NULL, but see no titles when the slice doesn't have one
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [x] 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 @john-bodley @kristw 

----------------------------------------------------------------
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