Closed alexcottner closed 3 weeks ago
I see you elected to add a new
heartbeat
slice of the store. Any reason you didn't opt too add a property in thesession
slice, e.g.session.heartbeat
?
Mainly because the session slice is written to localStorage
, and that felt a little awkward. Do you think that's a reasonable place for it though?
Added a few tests for the saga.
Resolves #3220 . Show the heartbeat endpoint status in top bar. Status icon is also a link that will take the user to the
__heartbeat__
endpoint. Also resolves a brief error that users see during redirect to auth.Screenshots of error (red !) vs success (green circle):
![Screenshot from 2024-05-28 10-18-53](https://github.com/Kinto/kinto-admin/assets/148472676/47debcb3-b3e9-4cb7-9cf7-c04f1625fd86)