Skip to content

Replace FPFSS edit popup with toast notification #453

@Seirade

Description

@Seirade

Is your feature request related to a problem? Please describe.
The current FPFSS edit workflow can be disruptive with the native popup box showing every time.

Describe the solution you'd like
Instead of a popup box with a "Success" message, it should be changed into a toast notification. Example:
https://www.w3schools.com/HOWTO/howto_js_snackbar.asp

It should come from the top of the window, and be colored according to the message. Green for success, and it goes away after a couple seconds. Yellow/red for warnings and errors, but instead of auto-dismissing, leave it open and have an X button to dismiss. Next to it can also be a "Copy to clipboard" button to allow messages to be copied for users asking for support, which eliminates the need to take a screenshot.

The notifications would also prevent stealing focus from the main window. As a bonus, they would also be visually consistent across OS platforms, and be theme-able. Or, if the need should arise, any other HTML can be added to create a nicer looking message.

Optional: This feature change could also introduce playing sounds, since it would probably be desirable to have 2 or 3 different ones depending on the message type, and that could also extend to other areas (hovering on elements, launching a game, splash screen/startup?).

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions