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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new toasts 馃敟馃崬 #2729

Merged
merged 3 commits into from
Sep 7, 2023
Merged

feat: new toasts 馃敟馃崬 #2729

merged 3 commits into from
Sep 7, 2023

Conversation

reneaaron
Copy link
Contributor

Describe the changes you have made in this PR

Screencast.from.2023-09-06.15.10.23.webm

@socket-security
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub 鈫楋笌

Packages Version New capabilities Transitives Size Publisher
react-hot-toast 2.4.1 None +1 289 kB timolins

馃毊 Removed packages: react-toastify@9.1.3

@bumi
Copy link
Collaborator

bumi commented Sep 6, 2023

Will the bottom always be well visible? on a bigger screen when I enter something at the top?

@rolznz
Copy link
Contributor

rolznz commented Sep 7, 2023

How does the user close the toast right now? do we want/need that?

@reneaaron
Copy link
Contributor Author

Will the bottom always be well visible? on a bigger screen when I enter something at the top?

It's a fixed container, so yes.

How does the user close the toast right now? do we want/need that?

They can't currently, the automatically go away after 4s (success) / 8s (error) unless there is a different duration defined. We could easily add that though...

@reneaaron reneaaron enabled auto-merge (squash) September 7, 2023 13:22
@reneaaron
Copy link
Contributor Author

I've added a close icon for toasts that show longer than 10s. 馃憤

@reneaaron reneaaron merged commit 25ce059 into master Sep 7, 2023
5 of 6 checks passed
@reneaaron reneaaron deleted the feat/react-hot-toast branch September 7, 2023 13:27
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

Successfully merging this pull request may close these issues.

None yet

3 participants