section-app-client
section-app-client copied to clipboard
Highlight new events
Highlight newly published events in the list.
- first run: save in local storage an array of all event IDs that have been loaded in the list
- if a new event gets added, it is highlighted in the list
- clicking on the event adds it to local storage, so it is not highlighted again
- if there are more than 10 new events, do not highlight anything and just rewrite the event list in local storage
How should a highlighted event look like? Add a small GitHub-like dot after the event title
