Wordmark: uptime in the hover, and draw it only when the console opens #543
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to braid#519 (the cursive wordmark).
What happens
The replay comes from
useThreading(ui/src/components/BackendPanel.tsx) andthreadsOn(ui/src/components/chrome.tsx). It plays on a fresh mount and whenever the state goes from lost to heard. It is likely that some screen changes make the live stream reconnect for a moment, or remount the bar.Fix
started_atandnowin/api/status. A problem still shows its own sentence in that place.Done when
A browser test opens the console, visits the main screens, and
data-threadedstays at 1. The hover shows the uptime.The wordmark threads once per page load. The count is kept on the page, so a remounted bar cannot restart it, and a reconnect does not replay it. When all is well, the hover says
Up 3 h 12 min, from the newstarted_atin/api/status.Evidence: the wordmark's browser journey visits the main screens, drops the server and brings it back, and
data-threadedstays at 1. It fails on the old code. A vitest covers the uptime's wording.Shipped in pull request 550 (merge
3bed64d), changeconsole-fixes-and-session-cap, archived in pull request 551.