Skip to content

Replace FPFSS edit popup with toast notification #453

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

Open
Seirade opened this issue Feb 9, 2025 · 0 comments · May be fixed by #470
Open

Replace FPFSS edit popup with toast notification #453

Seirade opened this issue Feb 9, 2025 · 0 comments · May be fixed by #470
Labels
enhancement New feature or request

Comments

@Seirade
Copy link
Member

Seirade commented Feb 9, 2025

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

@Seirade Seirade added the enhancement New feature or request label Feb 9, 2025
@colin969 colin969 linked a pull request May 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant