-
Notifications
You must be signed in to change notification settings - Fork 21
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
Deprecate Notice in favor of Alert #702
Comments
This may be an issue about lack of documentation. The lack of a Figma design is a form of lack of documentation, but I'm referring to a lack of documentation in the code itself, in the storybook examples, for instance. There are uses of @Doist/design-product-hero do we really need the Some comments on my side from what I think about having them both, and what their differences and similarities are:
ExamplesA couple of examples for how each component looks like:
|
@gnapse this issue was motivated by work on this (internal) issue: https://github.com/Doist/Issues/issues/7617 – the new alert designs are more lightweight, making me question the usefulness of Notice even more 👍 |
Indeed, if the design team decides that we can replace all our uses of the standalone instances of To be clear, it would not affect the notice-like messages embedded as part of the field component, but it would mean that we will no longer be able to render these borderless and background-less alerts1 as standalone. If we're ok with that, then we deprecate it, and eventually remove it. The less we have to maintain, the better. Footnotes
|
I think that could work. |
@anaf sorry for the very late response. I was reviewing old issues in Reactist and realized this question slipped through the cracks. Here's a list of the current uses of |
@gnapse I'm unclear on the difference between our
Notice
component and theAlert
component. Shouldn't one be enough? Checking the Product Library Figma, there is also only the Alert and no concept of a Notice 🤔The text was updated successfully, but these errors were encountered: