In a repeating group that lists all users that a current user is following, how do I also dynamically display a bell icon or an alert icon next to a user in the list whenever they’ve made a new post that the current user haven’t seen yet?
That way the current user can just click on the user in the list to go to their page and see the new posts.
Furthermore, when the current user clicks on the user in the list, that should trigger the icon to not show anymore until that user creates another new post.
Here’s a visual of what I am trying to do:
I’m just trying to figure out the logic to dynamically display the icon whenever someone in the following list creates a new post.
Any recommendations would be greatly appreciated