-
Notifications
You must be signed in to change notification settings - Fork 25
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: coliseum preferences issues - allow optional description & generic decline #1267
Conversation
✔️ Deploy Preview for clever-edison-cd22c1 ready! 🔨 Explore the source changes: 51b7c29 🔍 Inspect the deploy log: https://app.netlify.com/sites/clever-edison-cd22c1/deploys/60ae5d98e36acc0008d1f82c 😎 Browse the preview: https://deploy-preview-1267--clever-edison-cd22c1.netlify.app |
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 to me!
</p> | ||
</ExpandableContent> | ||
</div> | ||
{!(option.description === false) && ( |
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.
Maybe use option.description !== false
?
@@ -184,132 +184,138 @@ const ApplicationPreferencesAll = () => { | |||
|
|||
<Form onSubmit={handleSubmit(onSubmit)}> | |||
<> | |||
<div className="form-card__group px-0 pb-0"> |
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.
Big diff! The only thing I did was move this into the map - nothing else :) git's "hide whitespace" setting helps this a bunch
ac2927e
to
51b7c29
Compare
Pull Request Template
Issue
Addresses #1199
Description
The new preference request out of Coliseum requires that we be able to have preferences that don't have a description, that we don't automatically always show the "I don't want these preferences" option, and that we can have custom select text.
Below are two screenshots of the Coliseum OHA preference before this change and after this change. You can see in the before, the issues are that "read more" shows for the
None of these preferences apply to me...
andI don't want to be considered...
options but there actually isn't a description to show for those, that theI don't want these preferences
still shows even though we don't want it to, and that it reads "If you have one of these housing preferences...".I added three new optional fields on preference to set the description to false for an individual preference, to hide the generic decline text from a preference set, and to add custom select text.
Type of change
How Can This Be Tested/Reviewed?
You will need to import the Coliseum listing. You can find it here.
Checklist: