Skip to content

LG-7254 - Add 'We are retrieving' page#7090

Merged
holytoastr merged 5 commits intomainfrom
lg-7254-we-are-retrieving-ui
Oct 6, 2022
Merged

LG-7254 - Add 'We are retrieving' page#7090
holytoastr merged 5 commits intomainfrom
lg-7254-we-are-retrieving-ui

Conversation

@holytoastr
Copy link
Contributor

@holytoastr holytoastr commented Oct 5, 2022

This PR is for the UI only. Tasks to connect this view to the Inherited Proofing flow will follow in this sprint.

Why:
User needs to be notified that their data is being retrieved and be given an indicator on how long it could take

changelog: Internal, Inherited Proofing, We are retrieving page

🎫 Ticket

LG-7254

👀 Screenshots

Screen Shot 2022-10-05 at 12 46 04 PM

Why:
User needs to be notified that their data is being retrieved and be given an indicator on how long it could take

changelog: Internal, Inherited Proofing, We are retrieving page
@holytoastr holytoastr added the inherited proofing Pull Requests for the Inherited Proofing feature label Oct 5, 2022
@holytoastr holytoastr self-assigned this Oct 5, 2022
Comment on lines +5 to +6
<div class="shield-spinner margin-y-4" id='spinner'>
<div class='text-center'>
Copy link
Contributor

Choose a reason for hiding this comment

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

Couple remarks:

  • Is the ID used for anything, and if not, can we remove it?
  • Can we flatten the divs?
  • Is there any reason we need a custom CSS class here if we're already using the utility class to center content?
Suggested change
<div class="shield-spinner margin-y-4" id='spinner'>
<div class='text-center'>
<div class="margin-y-4 text-center">

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The class was to maintain the size and styling of the gif, but I can look into alternatives if we prefer to not use use custom classes here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ID - removed
Divs - flattened
CSS - removed

Hopefully that addresses all your concerns!

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Couple comments, but looks good overall 👍

<div class='margin-y-4 text-center'>
<%= image_tag(
asset_url('shield-spinner.gif'),
alt: t('inherited_proofing.headings.retrieval'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this text alternative provided by UX / design artifacts? I notice elsewhere we tend to use an empty text alternative for spinners, so I'm not sure what's intended to be standard practice. If anything, could be worth following-up on.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alt text was not provided. I can take it out if that's not standard here.

Copy link
Contributor

Choose a reason for hiding this comment

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

We'll want to have the attribute (usually enforced by automated accessibility tests), but it can be set as empty to at least make it consistent with others:

Suggested change
alt: t('inherited_proofing.headings.retrieval'),
alt: '',

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

continue: Continuer
headings:
lets_go: to be implemented
retrieval: Nous récupérons vos informations depuis My HealtheVet.
Copy link
Contributor

Choose a reason for hiding this comment

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

The other languages don't include a period at the end of this sentence. Should they be consistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I defer to the designers on this one.

@holytoastr holytoastr merged commit cf71806 into main Oct 6, 2022
@holytoastr holytoastr deleted the lg-7254-we-are-retrieving-ui branch October 6, 2022 13:30
jskinne3 pushed a commit that referenced this pull request Oct 12, 2022
* Add 'We are retrieving' page (LG-7254)

Why:
User needs to be notified that their data is being retrieved and be given an indicator on how long it could take

changelog: Internal, Inherited Proofing, We are retrieving page

* Adjust styling

* Clean up

* Update spec/views/idv/inherited_proofing/retrieval.html.erb_spec.rb

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>

* Remove alt text from spinner

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inherited proofing Pull Requests for the Inherited Proofing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants