Successful set up banner icon is small as compare to Figma design
See original GitHub issueAsana bug bash task: https://app.asana.com/0/1202913874897532/1203046400278414
Successful set up banner icon is small as compare to Figma design. It is looking very small and cornered on big screens.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The image size for the Success Banner should be increased as per the Figma design.
- Additionally, the image should appear besides (and not above) the title as shown in Figma for mobile screen sizes.
- These changes should apply to all icons for every success banner, not just the Thank with Google ones. See @sashadoes’s comment below: https://github.com/google/site-kit-wp/issues/5934#issuecomment-1277966586
- Essentially, the success banners should be consistent regarding icon size/placement, in line with what’s in the Figma design for Thank with Google.
Implementation Brief
- Inside
BannerNotification
https://github.com/google/site-kit-wp/blob/48952f8f09ed585bb3b6b1cf3fd4fd7f88b4fafc/assets/js/components/notifications/BannerNotification/index.js#L266-L272 - Place a new block with
WinImageSVG
next to the.googlesitekit-publisher-win__title
wrapper (containing the title and the badge) and make it visible only on mobiles. At the same time, the “original”WinImageSVG
should be hidden for mobiles. With this scenario FE will show “original”WinImageSVG
on tablet+ screens and “small”WinImageSVG
on mobiles. - Wrap
.googlesitekit-publisher-win__title
block andWinImageSVG
in a newflex
container and make them inline as on design WinImageSVG
should be styled as per the Figma designs. (105px
height
on tablet+ screens and72px
on mobiles)- If there’s no
WinImageSVG
provided, the wrapper containing the title and the badge should expand to be100%
wide
Test Coverage
- Add a new scenario to VRT suite (if not already present)
- VRT images will need to be updated
QA Brief
- Trigger the setup success banner by setting up a new module, or access the following URL if module is already set up:
/wp-admin/admin.php?page=googlesitekit-dashboard¬ification=authentication_success&slug=analytics#traffic
- Ensure the SVG within the banner is besides the title on small screens with an updated size.
- Setup all modules to ensure there are no regressions.
- Note that the dimensions in the Figma designs are incorrect based on existing SVGs we have. The height should be 75px on small screens and 105px on large ones, with the width set automatically.
Changelog entry
- Increase size of banner icons in setup notification.
Issue Analytics
- State:
- Created a year ago
- Comments:20
Top Results From Across the Web
Every icon best practice you need to know - General Discussion
I'm a Figma tutor and get asked about icon best practices a LOT. I made this cheat sheet for my students and thought...
Read more >How To Design ADS & BANNERS For SUCCESSFUL ...
In this video we'll go through designing a banner for an online marketing campaign in Figma. We'll go through best practices and examples...
Read more >Canva vs Figma: Which App Is Better For You? - Glorify
The most striking difference when comparing Canva vs. Figma is the type of design you can create with them. Canva makes a great...
Read more >Learn How to Create a Design System in Figma
I'll have this set of icons already in figma when we go over, ... a little snack bar indicating the the process successfully...
Read more >Canva/Figma? What's The Best Design Tool In 2020? | Medium
Tools such as Canva, Figma, Sketch, and many more allow for seamless designing on the go! It is not a dream anymore. Anybody...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @sashadoes . A few more tweaks:
WinImageSVG
provided, the wrapper containing the title and the badge should expand to be 100% wide.Thanks!
@sashadoes Thanks for the IB and I suggest we make the following tweaks to it:
WinImageSVG
next to the wrapper containing the title and the badge? Reading the IB, I thought we should putWinImageSVG
next to thetitle
variable.display: inline-block
, how about we useflex
on the parent element and the set thegooglesitekit-publisher-win__title
to grow if there’s noWinImageSVG
.height
ofWinImageSVG
to120px
? 🤔 Checking at the designs, I noticed the icon is105px
. Let me know if am missing something here 😁 .