Skip to content

Toast display for UI #24353

@silverwind

Description

@silverwind

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 apvarun/toastify-js#23 (comment) 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/[email protected]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions