Repository navigation
Add a refresh control to the header - #2389
Conversation
|
|
The changelog entry for the whole stack lives in #2391, so this PR leaves CHANGELOG.md alone on purpose. |
|
Need to look at the mobile view. |
37f4572 to
282f143
Compare
|
The 10/30/60 s rates break the live part of the charts. Suggestion: |
|
Yeah, this is fixed in later PRs with the uPlot graphs, but lets do a workaround like you suggested here to get it going. |
1f552a9 to
948b5c0
Compare
spuun
left a comment
There was a problem hiding this comment.
Maybe comments can be handled after merged, if any action should be taken at all.
| <svg class="icon-pause" xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" aria-hidden="true"> | ||
| <path d="M9 5V19M15 5V19" stroke="currentColor" stroke-width="2" stroke-linecap="round"/> | ||
| </svg> | ||
| <svg class="icon-play" xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"> | ||
| <path d="M8 5.5V18.5C8 19.3 8.87 19.78 9.54 19.35L19.6 12.85C20.21 12.45 20.21 11.55 19.6 11.15L9.54 4.65C8.87 4.22 8 4.7 8 5.5Z"/> | ||
| </svg> |
| display: none; | ||
| } | ||
|
|
||
| .refresh-pill { |
There was a problem hiding this comment.
This .refresh-pill and #theme-switcher has a similar appearance. Maybe they should share some css? @bengtmagnus
948b5c0 to
2381aea
Compare
2381aea to
87eeeb2
Compare
- pause/resume button and a 5-60s rate select - paused state per tab, rate kept across sessions - ring around the button fills up until the next refresh - stepped ring when reduced motion is preferred
The charts broke the line wherever two points were more than twice the old fixed 5s poll apart. At 10s, 30s or 60s every live point was treated as a gap, so only the backfilled history drew a line. - a gap is now twice the refresh rate, or twice the previous rate right after the rate changes - a gap gets one null point instead of one per missed 5s - the backfilled history keeps the server's 5s sample interval
87eeeb2 to
84b6224
Compare
Why
The UI refreshed every five seconds with no way to pause it, which makes a changing value hard to read, and no way to slow it down on a large broker.
What
Screenshots
Screenshots from a local build (Chromium, light theme).
Live, the ring fills up until the next refresh:
Paused: