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

Add multiple icons for puter.ui.alert() #1107

Open
Zac0511 opened this issue Feb 7, 2025 · 0 comments
Open

Add multiple icons for puter.ui.alert() #1107

Zac0511 opened this issue Feb 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Zac0511
Copy link
Contributor

Zac0511 commented Feb 7, 2025

Currently, the puter.ui.alert() dialog always show a "warning" icon :

Image

It would be useful if a new parameter could be added for having 3 additionnal icons, they could be :

  • An "info" icon : useful when showing informations
  • An "?" icon : useful when the app asks something
  • An "X" error icon : useful when a critical error happens in app
  • And the already existing "warning" icon for warnings

Windows and macOS already use those 4 options :

Image

@Zac0511 Zac0511 added the enhancement New feature or request label Feb 7, 2025
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

No branches or pull requests

1 participant