Skip to content
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

Degrade gracefully when email is not configured #2119

Merged
merged 2 commits into from
May 25, 2023

Conversation

davidmreed
Copy link
Contributor

No description provided.

@davidmreed davidmreed marked this pull request as ready for review May 22, 2023 22:57
@davidmreed davidmreed requested a review from a team as a code owner May 22, 2023 22:57
Copy link
Contributor

@jstvz jstvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


Emoji Key
Emoji Meaning Blocking
± Requested change Yes
Query (Request for context or explanation) Yes
Query (Request for context or explanation) No
💭 Note/Question to myself or the @-mentioned user. No
"Here's another way to do this:" No
Aesthetic or stylistic quibble No

Comment on lines +133 to +144
window.GLOBALS.EMAIL_ENABLED
? [
<Checkbox
key="alert"
labels={{ label: checkboxLabel }}
className="slds-float_left slds-p-top_xx-small"
name={alertType}
checked={shouldAlertAssignee}
onChange={handleAlertAssignee}
/>,
]
: []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

↔️ : I know we use prettier to avoid this kind of review comment, but I apparently can't help myself: I find multiline ternaries way harder to read.

@davidmreed davidmreed merged commit 3c9d347 into main May 25, 2023
5 checks passed
@davidmreed davidmreed deleted the email-degrade-gracefully branch May 25, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants