kgabryje opened a new pull request #13575:
URL: https://github.com/apache/superset/pull/13575


   ### SUMMARY
   This PR implements creating adhoc metrics by dragging columns and saved 
metrics from datasource panel to metrics control. 
   When user drops a column or saved metric, a popover opens pre-filled with 
values - if a metric was dropped, a "Saved metrics" tab is open by default with 
a proper metric selected, otherwise "Simple" tab is open with a column selected.
   The old functionality of creating a metric by clicking a "plus" button has 
ben removed.
   To use the feature, enable `ENABLE_EXPLORE_DRAG_AND_DROP` feature flag and 
use changes from https://github.com/apache-superset/superset-ui/pull/1004.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
https://user-images.githubusercontent.com/15073128/110795291-f7330580-8276-11eb-95bc-5255d7f50c83.mov
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   
   ### 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
   
   CC: @villebro @junlincc @zhaoyongjie 


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to