-
Notifications
You must be signed in to change notification settings - Fork 408
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
741 default instance-wide optout message #882
Conversation
…ts, new api query and resolver
…api/organization and out of view
src/containers/Settings.jsx
Outdated
@@ -1,5 +1,6 @@ | |||
import PropTypes from 'prop-types' | |||
import React from 'react' | |||
import TextField from 'material-ui/TextField' |
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.
Can we remove this unused import?
|
||
<Form.Field | ||
label='Default Opt-Out Message' | ||
name='optOutMessage' |
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.
can we add the prop fullWidth
here so the user can see the full message (versus having to scroll within the form field) ?
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.
Thanks! Some changes requested - specifically adding a small improvement to the UI experience
Added a new place to edit org-specific optout message in org settings, and if set, it'll override both the env var instance-wide setting OPT_OUT_MESSAGE and also the hard coded default "I'm opting you out of texts immediately. Have a great day." Test this by going into your name (in top right) -> your org -> settings and then editing the "Default opt-out message" setting. #741