-
Notifications
You must be signed in to change notification settings - Fork 8
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
Show reason for challenge to admins when partnership already exists #4892
Conversation
Review app deployed to https://cpd-ecf-review-4892-web.test.teacherservices.cloud |
9e11008
to
6114d4a
Compare
6114d4a
to
3630a60
Compare
<% end %> | ||
<% summary_list.with_row do |row| %> | ||
<% row.with_key { "Challenge reason" } %> | ||
<% row.with_value { @wizard.existing_partnership.challenge_reason } %> |
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.
Could we translate these into plain English for display instead of underscored code-y values?
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.
Only super users will see this information, and they are likely to reach out to developers for support. So, I thought raw values would be easier for troubleshooting.
Happy to use the English translations instead, but I'll most likely run a search each time in the code to figure out the raw values :)
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.
Even something like @wizard.existing_partnership.challenge_reason.humanize
is better and probably enough?
To provide more context to super users why the partnership can't be created.
3630a60
to
db01c8f
Compare
Context
Enhance context for displaying the "This relationship already exists" page when Admins attempt to change participants' LP/DP in an already existing and challenged partnership.
Changes proposed in this pull request
Guidance to review