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
UI: Add close button to version update notification #12320
UI: Add close button to version update notification #12320
Conversation
@Tomastomaslol this looks awesome! @domyen @ndelangen can you take a look? |
I'll design a dedicated UI for this and future notifications. We didn't get to that when this feature was first launched. Hang tight! |
Strawman flash notifications UI strawman
What do you think? |
@domyen Looks great! 🙂 Should we use a pre-defined list of CTAs? like: Or should the UI be flexible enough to support very long CTAs? like: Are you able to share your designs through Zeplin or a similar tool that would allow me to extract the exact CSS properties from your designs? Have a good day! |
Updated the design to simplify the UI more.
@Tomastomaslol InVision here(you should be able to use the Inspect feature). I might have to invite you via email if the Inpsect link isn't there. |
Hi @domyen! it looks like you have to invite me for me to be able to access the inspect mode in inVision. Could you send me an invite to tomasnygren.854@gmail.com? |
…12281_new_version_notification_blocks_content
50d4c36
to
a4729bd
Compare
Hi @domyen! I hope you are well! 🙂 I'm not sure if I'm doing something strange when I export the "book" icon from inVision but I can't figure out how I can get rid of the background in the SVG. If you got a few spare minutes could you please help me export the book icon without the background? Other than that, I think I got all scenarios covered now: Please let me if something looks wrong or if you would like me to cover any other scenarios! Thanks! |
Apologies for the delay. Appreciate the work. 🙇 Will review this tomorrow! |
Hi @domyen! No worries! Would it be possible to get the book icon as a single string? so I could add it to https://github.com/storybookjs/storybook/blob/next/lib/components/src/icon/icons.tsx#L3 and implement in a similar way to other icons 🙂 |
Hey Tomas, apologies again for the delay. Thank you for taking this on, we're super grateful! 🙏 CI I'll review here instead, but we'll need to get CI green to QA the behavior in the published SB and to merge the code. Styling
Implementation
Stories
I'm also on Discord if it helps to chat! Find me in the #design channel or |
…12281_new_version_notification_blocks_content
This reverts commit 23a0209.
@Tomastomaslol apologies i was messing around with your PR a bit. i think there's some circular dependency that gets created when |
@shilman thanks for taking your time helping me with this PR. I wasn't sure what the best solution would be but your suggestion makes sense. There are still some test failures but I'm pretty confident they are not related to the code I wrote and will be fixed with #12746. Please let me know if I have drawn the wrong conclusion and need to spend some more time figuring out why tests are failing. @domyen I have implemented your feedback. Please let me know if there is anything you would like me to change. I'm pretty happy with the code and would appreciate a review. 🙂 |
…12281_new_version_notification_blocks_content
Thanks for the refinements @Tomastomaslol. 😍
|
… and focus state on link notification
…ation stories. Extend notification to take ReactNode for subHeadline and headlines
@ndelangen @domyen Thank you for the review. I have now addressed all the points raised in the review. Please let me know if there is something else you would like me to take a look at. |
I say it's good to merge! |
Thanks for your hard work and patience on this @Tomastomaslol 🙏 Merging! |
Issue: #12281
What I did