Addresses feedback from @palys-swm in D4041.
Linear Issue: https://linear.app/comm/issue/ENG-1172/combine-constants-in-webassetsjs-into-objects
Details
- Loaded the web app
- Navigated to background tab and ensured that illustration looked as expected
- Navigated to NotificationsModal and ensured that illustrations look as expected
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Nice! We can also consider creating a component that takes an image asset and renders img with the asset. It might make sense because in every place we use the asset, we render an img and have to type asset name thrice.
We can also consider creating a component that takes an image asset and renders img with the asset. It might make sense because in every place we use the asset, we render an img and have to type asset name thrice.
Yeah that makes sense, will take a look at that when working on the icon/graphics stuff later this week. I think there might be better ways for us to include SVG assets than host them "remotely" (on S3) and pass URI to <img> tag
will take a look at that when working on the icon/graphics stuff later this week
You should always link a Linear task when deferring work like this