lyndsiWilliams opened a new pull request, #22360:
URL: https://github.com/apache/superset/pull/22360

   <!---
   Please write the PR title following the conventions at 
https://www.conventionalcommits.org/en/v1.0.0/
   Example:
   fix(dashboard): load charts correctly
   -->
   
   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   This PR fixes an issue where the alert/report modal was rendering both the 
dashboard and chart dropdowns in the Message Content section. I fixed this by 
changing the dropdown conditional to use javascript instead of css.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   #### BEFORE:
   
![arModalBefore](https://user-images.githubusercontent.com/55605634/206267220-3d2f519b-a077-44a5-aa7a-472f7dc3d413.png)
   
   #### AFTER:
   
![arModalAfter](https://user-images.githubusercontent.com/55605634/206267253-09a91a74-747e-4d71-8d60-c009285c2edf.png)
   
   
   ### TESTING INSTRUCTIONS
   <!--- Required! What steps can be taken to manually verify the changes? -->
   - Go to settings -> Alerts & Reports
   - Click on the "+ALERT" button
   - Observe that there is only one dropdown under the "Message content" section
   - Select both "Dashboard" and "Chart" in this section and ensure that the 
appropriate dropdown is displayed
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


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

To unsubscribe, e-mail: [email protected]

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