-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fixed spacing in alert modal #22066
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22066 +/- ##
==========================================
+ Coverage 66.87% 66.89% +0.01%
==========================================
Files 1847 1850 +3
Lines 70558 70703 +145
Branches 7735 7750 +15
==========================================
+ Hits 47183 47294 +111
- Misses 21374 21393 +19
- Partials 2001 2016 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
/testenv up |
@lyndsiWilliams Ephemeral environment spinning up at http://34.216.6.154:8080. Credentials are |
@lyndsiWilliams This looks great!! Can we also left align it to either match up with the dashboard/chart select box or the email select box? Maybe @yousoph or a designer my have more opinions there. |
@lyndsiWilliams @yousoph will there be any more actions happening on this PR, or should we merge it as-is? |
More actions for sure! @yousoph , @eschutho , Karan, and I all got together on zoom to check this out together and discuss the styling. We decided to, for now, just get everything aligned with the 16px border to clean it up a little more. I just pushed up the changes in |
/testenv up |
@lyndsiWilliams Ephemeral environment spinning up at http://34.212.220.189:8080. Credentials are |
@@ -1300,7 +1309,7 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({ | |||
placeholder={t('Time in seconds')} | |||
onChange={onTimeoutVerifyChange} | |||
/> | |||
<span className="input-label">seconds</span> | |||
<span className="input-label">{t('seconds')}</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I totally liked what you did here: https://github.com/apache/superset/pull/22262/files#diff-bbf91464669d98b9e120f57ce26155804f7238a277fcc30c0d805a943f6c73edR98 , could we do the same for these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You got it! Done in this commit
. (I think I got them all!)
/testenv up ALERT_REPORTS=true |
@lyndsiWilliams Ephemeral environment spinning up at http://35.88.163.217:8080. Credentials are |
/testenv up FEATURE_ALERT_REPORTS=true |
@lyndsiWilliams Ephemeral environment spinning up at http://18.237.171.173:8080. Credentials are |
Closing and reopening to reset the ephemeral environment, things aren't showing up properly 🤔 |
Ephemeral environment shutdown and build artifacts deleted. |
/testenv up FEATURE_ALERT_REPORTS=true |
@lyndsiWilliams Ephemeral environment spinning up at http://34.221.178.82:8080. Credentials are |
Ephemeral environment seems to be running OK, but I spotted a couple of styling issues there. I can't seem to upload an image here for some reason at the moment, so I'll Slack ya. |
/testenv up FEATURE_ALERT_REPORTS=true |
@lyndsiWilliams Ephemeral environment spinning up at http://54.244.206.8:8080. Credentials are |
1c4743d
to
74e5fb5
Compare
Do we still have build/ephemeral concerns here, or is this ready for the final once-over? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
I'm not sure what's going on with the ephemeral, I'd be happy to zoom and show this locally if that would increase confidence in this. I feel (and hope) that this is just a case of the ephemeral not working correctly. |
@@ -1044,14 +1051,50 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({ | |||
setIsHidden(false); | |||
} | |||
|
|||
const SAVE_TEXT = t('Save'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyndsiWilliams are we going to move these into a TRANSLATIONS
object?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely! Done in this commit
.
…m/apache/superset into lyndsi/fix-spacing-in-alert-modal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
This PR fixes the spacing under the "Message content" section of the alert modal.
Note: When I adjusted the spacing I noticed a few spots in the component that needed translating/cleanup so I added that to this PR as well.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE:
AFTER:
AFTER (extended)
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION