Skip to content

LG-5372 Minor content and styling update for IAL2 welcome and agreement steps.#5617

Merged
amathews-fs merged 4 commits intomainfrom
LG-5372_content_update_welcome_step
Nov 18, 2021
Merged

LG-5372 Minor content and styling update for IAL2 welcome and agreement steps.#5617
amathews-fs merged 4 commits intomainfrom
LG-5372_content_update_welcome_step

Conversation

@amathews-fs
Copy link
Contributor

LG-5372 - Updating the content and styling of the welcome step based on UX user research.

Figma here

Translations here

<%= render 'shared/maintenance_window_alert' do %>
<h1><%= t('doc_auth.headings.welcome') %></h1>
<p class='mt-tiny margin-bottom-0'><%= t('doc_auth.info.welcome_html') %></p>
<p class='mt-tiny margin-bottom-0'><%= t('doc_auth.info.welcome_html', sp_name: decorated_session.sp_name) %></p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Since sp_name might not always be available (e.g. local development, or after password recovery), should we keep around the old texts as a backup for those situations?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Herm, I thought about this but was just thinking about local development...but you're right in the password recovery there wouldn't be an sp_name either.

I'll probably go with a default of "The agency" (translated) for simplicity in the rare cases where the public will encounter the page without an SP. Seem reasonable?

@anniehirshman-gsa thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, from my perspective, that could work 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

I think the current text is "The agency you are trying to access...", so if that exists with translations already, we can use it as the back-up if no SP name is enabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, added.

@amathews-fs amathews-fs changed the title LG-5372 Minor content and styling update for IAL2 welcome step. LG-5372 Minor content and styling update for IAL2 welcome and agreement steps. Nov 18, 2021
<h2><%= t('doc_auth.instructions.privacy') %></h2>
<p>
<h3><%= t('doc_auth.instructions.privacy') %></h3>
<p class="padding-bottom-2">
Copy link
Contributor

@aduth aduth Nov 18, 2021

Choose a reason for hiding this comment

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

Poking around some of the other flow designs, I wonder if we could update the "Cancel" partial to have margin-top-4 to achieve this same effect?

cc @anniehirshman-gsa do you think this makes sense? In other words, using 2rem top margin wherever we have "Cancel" link at the bottom of a page, where currently it is 1rem by default. We already do this with the "Start Over or Cancel" variation.

Copy link
Contributor Author

@amathews-fs amathews-fs Nov 18, 2021

Choose a reason for hiding this comment

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

Yeah, that definitely crossed my mind but I also didn't know what the impact would be of that across all the places it is used. It seemed like this was mostly because of the lack of a "start over" to go with it so I figured it could just be a one off. But if it's safe that's fine, I'll change it. That's just a much larger effect than the rest of this change set...

Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we could update the "Cancel" partial to have margin-top-4 to achieve this same effect?

Hm, one challenge is that the Start Over or Cancel partial composes the "Cancel" link, where we'd not want 2rem between "Start Over" and the Cancel link's border 🤔

Copy link
Contributor

@anniehirshman-gsa anniehirshman-gsa Nov 18, 2021

Choose a reason for hiding this comment

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

Yes, a consistent 2 rem space above the start over/cancel/back component would be great, but not sure how to best achieve that or if it's possible to make that change more widely without creating spacing issues elsewhere

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I worry adding it globally here would create some oddities elsewhere that'll be a bit hard to nail down quickly.

Copy link
Contributor Author

@amathews-fs amathews-fs Nov 18, 2021

Choose a reason for hiding this comment

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

Given the limited scope of this ticket and change set, it would make more sense to me to split off the global change of styling for the start over/cancel/back component to another ticket.

@amathews-fs amathews-fs marked this pull request as ready for review November 18, 2021 21:27
@amathews-fs amathews-fs requested a review from aduth November 18, 2021 21:57
verify_identity: We’ll ask for your personal information. We’ll use, keep and
share some of your personal information to verify your identity against
public records.
verify_identity: We'll ask for your personal information to verify your identity
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why make normalize_yaml isn't enforcing this as smart quotes like existed before .

I can follow-up to see if it's a bug with the normalization.

Copy link
Contributor

Choose a reason for hiding this comment

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

Follow-up fix at: #5621

@amathews-fs amathews-fs merged commit 84d989c into main Nov 18, 2021
@amathews-fs amathews-fs deleted the LG-5372_content_update_welcome_step branch November 18, 2021 22:10
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.

3 participants