-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Toast/Notification Component #2525
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
It seems those efforts in SUI core have died. See Semantic-Org/Semantic-UI#1430. That said, I would support such a component here in the React integration. I've often imagined reusing the Message component for this. |
We'd essentially just write the React component for handling the management of toasts. The UI bits would be composed of other existing components. |
I've made some code a time ago, however it's not ready to use. |
For what it's worth, this is what I am currently using to manage these in my own projects: https://github.com/pburtchaell/react-notification The styles are pretty minimal/simple. And you could probably simplify the styles further and render in some regular SUIR components inside as content instead if you are looking for something fast @shravan2x. |
We're also using other toast libs where I am. I'm thinking we have what we need here in SUIR between Transition and Messages or Segments to make something useful. |
@layershifter, your prototype code was lookin pretty good! |
I have just implement a simple toast component, please have a look and feel free to provide feedback: |
@ferrao nice work. Just one thing. It would be better if semantic-toast-container.jsx:
|
Thanks @macakraca, I agree and have just released a new version where |
There has been no activity in this thread for 180 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one. However, PRs for this issue will of course be accepted and welcome! If there is no more activity in the next 180 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks! |
Fomantic-UI has added a Toast component in FUI 2.6. Looks pretty good to me: https://fomantic-ui.com/modules/toast.html. I ended up using React-Toastify, but would love to switch back into an SUI/FUI style Toast component. |
There has been no activity in this thread for 180 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one. However, PRs for this issue will of course be accepted and welcome! If there is no more activity in the next 180 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks! |
Are there currently any plans for a toast/notification component?
The text was updated successfully, but these errors were encountered: