Commit 75fd6b0
committed
stats banner: blue info variant when backfill is in progress
Existing yellow banner only fires for !ok (indexer stalled) or
skippedCount>0. With the caughtUp short-circuit added today, an actively-
backfilling indexer reports ok:true even when 100k+ blocks are still
being processed -- so the page rendered no signal at all despite
historical charts being incomplete.
Adds a third banner condition: ok && pendingCount > 0 renders a blue
info-style 'Backfill in progress' notice with the pending count and
current rate. Stylistically distinct from the yellow alert banners so
users can tell 'still working' apart from 'something's wrong.'1 parent 0144aad commit 75fd6b0
2 files changed
Lines changed: 22 additions & 0 deletions
File tree
- frontend/src/app/components/_ordpool/ordpool-stats
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
17 | 27 | | |
18 | 28 | | |
19 | 29 | | |
| |||
0 commit comments