I have developed a Java web application that consists of a server (MyServer) and a client side (webpage). The client sends requests to MyServer to retrieve information, which in turn makes requests to the Confluence API server to fetch data from our latest Confluence page within our Confluence space.
By clicking on the "What's New" button on our website, users can view the latest page from our Confluence space displayed in the What's New web widget. Users have the option to click on the What's New button to see the most recent Confluence page available.
Now, I am looking to implement the following features:
- Display a highlighted icon on the "What's New" button every time a new update is made to either the same or a new Confluence page, similar to how notifications work in chat applications like WhatsApp or Facebook Messenger.
- Once a user views the new update, the highlighted icon should disappear for that specific user.
- The highlighted icon should appear for all logged-in users the first time they access the update. If one user opens it, the icon will disappear for them, but remain visible for others who have not viewed the update yet.
- If a new change is made to the Confluence page and a user has not seen this update, the highlighted icon should reappear for that user.
Can you provide guidance on how I can achieve these functionalities? Thank you for your assistance. https://i.sstatic.net/r6mJh.png