Toast display for UI #10726

Closed
opened 2025-11-02 09:16:43 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @silverwind on GitHub (Apr 26, 2023).

Feature Description

In some case like async success/error, it is useful to show toasts in UI, we don't have this yet.

Suggestion would be https://www.npmjs.com/package/toastify-js with https://github.com/apvarun/toastify-js/issues/23#issuecomment-665902214 to have SVG close icon, but I'm open to other lightweight modules that work with vanilla js.

Toastify is 2kB minzipped: https://bundlephobia.com/package/toastify-js@1.12.0

Also, we need to decide where to place such toasts, either corner or one of the sides, so 8 possible options.

Originally created by @silverwind on GitHub (Apr 26, 2023). ### Feature Description In some case like async success/error, it is useful to show toasts in UI, we don't have this yet. Suggestion would be https://www.npmjs.com/package/toastify-js with https://github.com/apvarun/toastify-js/issues/23#issuecomment-665902214 to have SVG close icon, but I'm open to other lightweight modules that work with vanilla js. Toastify is 2kB minzipped: https://bundlephobia.com/package/toastify-js@1.12.0 Also, we need to decide where to place such toasts, either corner or one of the sides, so 8 possible options.
GiteaMirror added the type/proposaltype/featuretopic/ui labels 2025-11-02 09:16:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10726