Kinto / kinto-admin

Kinto Web Administration Console
http://kinto.github.io/kinto-admin/
183 stars 35 forks source link

Resolves #3220 - show heartbeat status in top bar #3252

Closed alexcottner closed 3 weeks ago

alexcottner commented 1 month ago

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): image Screenshot from 2024-05-28 10-18-53

alexcottner commented 1 month 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 the session 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?

alexcottner commented 4 weeks ago

Added a few tests for the saga.