-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Art/96497] - updating POA request list to use cards instead of a table design #33002
base: main
Are you sure you want to change the base?
Conversation
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.
Icon found
Icons can be decorative, but sometimes they are used to convey meaning. If there are any semantics associated with an icon, those semantics should also be conveyed to a screen reader.
What you can do
Review the markup and see if the icon provides information that isn't represented textually, or wait for a VSP review.
Note:
Font Awesome is deprecated. Please use va-icon instead. For more information, visit the migration documentation: Migrate from font awesome to va-icon
<div className="poa-requests__col"> | ||
<p className="poa-requests__card-label"> | ||
{attributes.status === 'Declined' && ( | ||
<va-icon |
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.
icon found
class="poa-requests__card-icon--red poa-requests__card-icon" | ||
/> | ||
)} | ||
{attributes.status === 'Accepted' && ( |
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.
icon found
</div> | ||
|
||
<div className="poa-requests__col"> | ||
<p className="poa-requests__card-label"> |
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.
icon found
src/applications/accredited-representative-portal/actions/user.js
Outdated
Show resolved
Hide resolved
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.
Icon found
Icons can be decorative, but sometimes they are used to convey meaning. If there are any semantics associated with an icon, those semantics should also be conveyed to a screen reader.
What you can do
Review the markup and see if the icon provides information that isn't represented textually, or wait for a VSP review.
Note:
Font Awesome is deprecated. Please use va-icon instead. For more information, visit the migration documentation: Migrate from font awesome to va-icon
/> | ||
)} | ||
{attributes.status === 'Accepted' && ( | ||
<va-icon |
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.
icon found
|
||
<div className="poa-requests__col"> | ||
<p className="poa-requests__card-label"> | ||
<va-icon |
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.
icon found
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.
@jquispe-oddball It looks like a change to 2 different applications snuck into this PR.
I will review the change to our application code in a second review I'm conducting now, but figured I'd notify you of this part first.
src/applications/my-education-benefits/config/chapters/33/contactInfo/mailingAddress.js
Outdated
Show resolved
Hide resolved
src/applications/survivor-dependent-education-benefit/22-5490/config/form.js
Outdated
Show resolved
Hide resolved
b12c760
to
625d017
Compare
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.
Excellent.
Requested changes:
- indentation and new line in
scss
poaRequest
variable name
Nitpick / optional changes:
What do you think of the following suggestions for class names to reflect the hierarchy and significance of elements precisely and consistently?
poa-requests__card-name -> poa-requests__card-title
poa-requests__card-group -> poa-requests__card-subtitle
poa-requests__row -> poa-requests__card-content
poa-requests__col -> poa-requests__card-field
poa-requests__card-label -> poa-requests__card-field-label
poa-requests__card-data -> poa-requests__card-field-value
It doesn't feel like an exact science to me, so I don't feel too strongly either way.
...lications/accredited-representative-portal/components/POARequestsTable/POARequestsTable.scss
Outdated
Show resolved
Hide resolved
...lications/accredited-representative-portal/components/POARequestsTable/POARequestsTable.scss
Outdated
Show resolved
Hide resolved
...plications/accredited-representative-portal/components/POARequestsTable/POARequestsTable.jsx
Outdated
Show resolved
Hide resolved
2658ad6
to
bef4451
Compare
@nihil2501 updated pr based on feedback |
@jquispe-oddball For the variable name update, |
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.
LGTM
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.
@jquispe-oddball It looks like unit tests are failing due to a syntax error somewhere
removed commented out code
74621a8
to
2cd8c1b
Compare
Updating the existing request list to use
va-card
instead ofva-table
to match the current figma.Related ticket
Previous design using
va-table
:Updated design using
va-card
: