The purpose it’s that the user receive the alert when he has a message.
But I don’t see, How can I organize my Data Base.
For me, when the message send, he goes in Table : User and Field : Message
The “Open” is by default in False, when the user clic on the Bell, Open becomes True.
And the Bell count how many messages, of Current User, have Open like False.
If somebody can help me, and show me on my Bubble App example, I would be very grateful
The data structure will work okay for what you want, later you will find reason to change it : )
There are a few missing pieces on your sample app.
Login/signup, you can use the form on the “Element templates” list. When you have that in place, “Current User” will make more sense. There is a tutorial for that too.
Then the buttons need workflows to make them do interesting things, like create a message thing, then add it to the target user’s list.
You’ll also want a way to choose which user the message goes to.
And also a button to open a list of messages to view them, probably.
Choose the bell elements. You’ve already chosen the bell icon, next draw a number with a circle around it, overlapping the bell. The circle could be a shape underneath the number. At this time its worth playing with the menu “Arrange > Send to Back” and “Bring to Front”.
Then you can make the shape and number together (in a group perhaps) have a Conditional setting, where visibility is set to true, on condition of current user’s message:filtered on Open = No :count > 0.
As you can see, a simple notification app has a lot of integrated parts Perhaps give each section a try and raise questions as you try it. Good luck!