I’m wanting to implement complex rules in my workspace. I want it to do things for me, but I also want to make sure I know when it does something for me.
Right now to make sure, I need to go and double check if it did it… At which point I could have just done it myself.
If we could allow to show toast to the User who triggered the rule if they are online, this would be a little confirmation of “Yes it worked” without needing to go check.
This would only be possible for a Button, since Rules run entirely on the server without regard to whether anyone is currently logged in.
1 Like
Hmm, I think there’s got to be a way to do it for automations too.
There’s anyway a websocket open for notifications. Maybe it can check if there’s any websocket open for the triggering user and send a notification of a “toast” type. Then when the user receives the notification with this type, it shows a toast instead of adding a notification.
Idk the exact implimentation. But where there’s a will there’s a way! :))
You’re coming up against design standards here. Toast notifications are a design element intentionally related to UI actions.
Background notifications are usually aggregated into an inbox, so the Fibery notification action is best suited here.
Yes but I want to use them when interacting with the UI.
When someone interacts with UI by inputting a value, and there’s a rule that clears it if it’s not between 0 and 1 (for example) it should show a toast “Invalid value, should be between 0 and 1” when it clears it. Just as an example.
Having this as a notification doesn’t make sense as it’s not really a notification. It’s based on changes the user just made via the UI.
Idk. Does this make sense?
I better understand your usecase now! However, what you’re looking for doesn’t seem to be about the database itself. I think you’re looking to customize how data is entered into the database. So I think it may be a better feature request for a data validation layer in Fibery forms.
A form interface is the best one for guiding user inputs. The form UI can checks for validity before writing to a database. Today, Fibery’s forms are pretty simple so a third party form tool like Fillout or Google Forms can do that.
This is just one use case haha.
The main use case for me is I want a task to be set to done when something happens in the workspace. (When the user actually does the task, within Fibery).
But I want the user to know that it happened automatically. Or else they need to either check every time (which defeats the point of it running automatically) or trust that it checked it off, (which, if fails, is a problem)
Maybe what you want is two distinct kinds of “notifications” – a new “immediate/important” notification type that shows a popup immediately (or whenever the appropriate user is next logged in).
Yeah this could be a potential solution.
But not sure if this type of notification should show up in the notification panel + email etc. If it should be treated as a notification, or as a toast.
In the examples above, I wouldn’t want it to make a notification in my Inbox, just an info alert is enough.
But I can also imagine scenarios where having it in both places might be helpful.
For example, if someone else triggered it to send to you, it would be nice to have also in notifications in case the person wasn’t online or wants to deal with it later.