department-of-veterans-affairs / va-mobile-library

https://department-of-veterans-affairs.github.io/va-mobile-library/
ISC License
0 stars 0 forks source link

[Feature] Add mobile-only Nav and Form icons to mobile-assets #333

Closed narin closed 4 weeks ago

narin commented 1 month ago

Description of Change

Adds the following icons which are mobile-only and therefore not added to the icon sprite sheet. Using same viewBox as icons extracted from vads sprite sheet and removed fill attributes.

Navigation

Form fields

Other

Removed all other icons as they have all been replaced by a material equivalent. Spreadsheet with full list of icons and their replacements here: https://docs.google.com/spreadsheets/d/15BqiZWwrhwl1BcGVu3-PCaCyz6ueI8VgHHlgpbvM2N4/edit#gid=840453829

Testing Packages

Screenshots/Video

N/A

Testing

PR Checklist

Code reviewer validation:

Publish

If changes warrant a new version per the versioning guidelines and the PR is approved and ready to merge:

jessicawoodin commented 1 month ago

@narin Should circle or crop_square be included as well? Or will that be a separate PR?

TimRoe commented 1 month ago

Seconding Jessica's question on the crop_square which I assume is what we previously called Bullet since I think we had on our long term radar to bring VABulletList into the design system because React Native's default bullet lists use circles which goes against VA design language. Or put another way: future VA mobile apps would have utility in having that shared vs. living in the app and needing to clone it from flagship.

Not seconding her question on circle as currently the app doesn't use an icon at all for unread marking dots--it is just using RN to draw a circle by styling a view.

jessicawoodin commented 4 weeks ago

Seconding Jessica's question on the crop_square which I assume is what we previously called Bullet since I think we had on our long term radar to bring VABulletList into the design system because React Native's default bullet lists use circles which goes against VA design language. Or put another way: future VA mobile apps would have utility in having that shared vs. living in the app and needing to clone it from flagship.

Yes, crop_square is the new bullet. VA plans to transition to a standard circle bullet in the future, but for now, we need the square bullet.

Not seconding her question on circle as currently the app doesn't use an icon at all for unread marking dots--it is just using RN to draw a circle by styling a view.

In the design files, we use an icon for the dot indicator, so that's why I suggested adding it. If it's not used in the app, we can remove it here and I'll also update the design files. If the app ever uses the dot indicator in another place in the app, we should consider adding the circle icon to ensure consistency across features.

narin commented 4 weeks ago

Added circle and crop_square icons and removed all of the old icons. Updated description and added spreadsheet with full list of icons.

narin commented 4 weeks ago

Stub ticket to add the icons we're waiting on from VADS here: #340