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

Features that will sweeten the deal! #34

Open
derpycoder opened this issue Jul 1, 2020 · 1 comment
Open

Features that will sweeten the deal! #34

derpycoder opened this issue Jul 1, 2020 · 1 comment
Labels
backlog This issue or request will be worked on

Comments

@derpycoder
Copy link

derpycoder commented Jul 1, 2020

I love what this project has done, thank you for taking your time to make it happen.

I have a few suggestions that would be a worthy addition to 1.0.0 release.

Recommendations:

  1. The notifications timer should pause, when user is not looking. i.e. If user minimized window or switched tab.
  2. Notification timer should pause, when user hovers over a message or touches the toast, to take a better look.
  3. Every CSS class in the project should have a prefix. That would help a ton while whitelisting in PurgeCSS. (As PurgeCSS strips out 3rd party library styles, without whitelisting!)
  4. When notifications are removed, the messages snap to their new locations, in a jarring manner! It should be smooth. Refer: svelte animate directive to smoothly translate the existing ones to their new places.
  5. There can be an accompanying progress-bar at the bottom, if removeAfter is specified.
  6. User should be able to dismiss a notification by swiping away the notification.
  7. Notification should take two position, one for big devices & the other for mobile devices. So we can specify top-right-position for big device & bottom-center-position for the mobile device.

N.B. Last 3 can be achieved by custom component or by using getNotificationContext, but having them integrated can sell the project better.

Final Refererence: React Toastify

demo

@derpycoder derpycoder changed the title Features that will sweeten the deal Features that will sweeten the deal! Jul 1, 2020
@usernamus usernamus added the backlog This issue or request will be worked on label May 7, 2022
@joswin18
Copy link

Hi, I'd like to work on this issue. Could you please assign it to me? @usernamus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This issue or request will be worked on
Projects
None yet
Development

No branches or pull requests

3 participants