-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Custom Alert Notification Popup action #7371
Comments
Yes please! I think multiple folks have requested a similar feature, it would be a great enhancement |
I saw one but I think they were thinking about modals. I have been searching hard for other issues and was surprised I could not find one. |
Updated answer based on adobe spectrum toast element |
Took a stab at the edits needed. Did not test these updates anyone is welcome to pickup where I left off. I dont have a dev system setup yet. Updating main comment with updated description of what I am looking for |
@pbrink231 I added this over the weekend when I had some free time, and I had to do a double take when I saw your code! I was sure I must have pushed up the code already and you had copied me - but I hadn't pushed it up yet. Your implementation is pretty much perfect - really impressive stuff. I've opened a PR there to add this action 👍 The only thing I didn't add was a custom icon, because we don't actually have a nice spectrum icon picker at the moment and I felt it was the least important setting anyway. |
Describe the feature request
I would like to either have an action that can create an alert popup.
Currently this already exists but built into the actions with predefined alerts.
I think a simple action with a bindings text box would be amazing and give very simple and easy custom feedback.
could maybe add an icon field to pick one of the icons already in the system.
With this I would also like to have an option to turn off the alert for an action that gives an alert.
Some examples are like "Row Updated" or like in the photo "Automation triggered". In most cases I would not want these if I can give my own alert once the automation or all other triggers finish with my own custom message.
Details for request
New action called "Show Notification" under the category "Application" (picture 2)
3 fields (picture 3)
type choices
Will use the default icon unless use default is unchecked.
when unchecked, icon choice will show to pick an icon. Can pick none.
initial code update without testing. Anyone is welcome to take and finish this.
https://github.com/pbrink231/budibase/tree/feature/toast-action
Screenshots
![image](https://user-images.githubusercontent.com/8224560/185691658-72c11c7d-455a-41b3-9002-f1ae5a474204.png)
The text was updated successfully, but these errors were encountered: