Skip to content
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

What happened to .visual-bell ? #35

Open
craigmdennis opened this issue Aug 28, 2020 · 3 comments
Open

What happened to .visual-bell ? #35

craigmdennis opened this issue Aug 28, 2020 · 3 comments

Comments

@craigmdennis
Copy link

I was using .visual-bell and its various states in the previous version of this design system and now it doesn't seem to be present? Is it called something else? Removed?

@thomas-lowry
Copy link
Owner

thomas-lowry commented Aug 28, 2020 via email

@craigmdennis
Copy link
Author

I was using the spinner in combination while inserting image data.
I was using the 'error' style to display errors while fetching from an API or inserting images.

I can only find docs for a simple String notification and nothing about persisting, clearing, or setting a type like 'error' on the native notice UI.

These are all things I can recreate but it was nice to have a style that mimicked the native notice UI to make the plugin feel more integrated.

@craigmdennis
Copy link
Author

I've just found https://www.figma.com/plugin-docs/api/properties/figma-notify/ which allows me to cancel a notice and specify the duration before timeout. Which is handy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants