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/12/02 22:55:29 UTC

[GitHub] [incubator-superset] betodealmeida opened a new pull request #8718: Import `filter_immune_slice_fields` when importing dashboards

betodealmeida opened a new pull request #8718: Import `filter_immune_slice_fields` when importing dashboards
URL: https://github.com/apache/incubator-superset/pull/8718
 
 
   ### CATEGORY
   
   Choose one
   
   - [X] Bug Fix
   - [ ] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   
   When we import a dashboard we currently ignore `filter_immune_slice_fields`. I added logic to import the field as well.
   
   This PR fixes https://github.com/apache/incubator-superset/issues/8489.
   
   <!-- ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF -->
   <!--- Skip this if not applicable -->
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   
   Exported dashboard with the following JSON metadata:
   
   ```json
   {
     "filter_immune_slices": [324, 65, 92],
     "expanded_slices": {},
     "filter_immune_slice_fields": {
       "177": ["country_name", "__time_range"],
       "32": ["__time_range"]
     },
     "timed_refresh_immune_slices": [324]
   }
   ```
   
   Imported it, and verified that the new dashboard has `filter_immune_slice_fields`.
   
   ### 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
   

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