swarm-ui: the hives card and the alerts table show placeholder rows under their own header while they load
TableSkeleton is the twin of Table: the same columns, so the same header cells, with a placeholder shape in each cell of three blank rows and no sort or filter, which have nothing to work on yet. The hives card and the alerts table use it in place of their "loading…" text.
This commit is contained in:
parent
33c230665b
commit
e149ff3315
1 changed files with 54 additions and 3 deletions
|
|
@ -44,7 +44,9 @@ The Jobs page has none yet.
|
|||
|
||||
The pages that only display (agents, alerts, builds, review runs and the hives
|
||||
card) show the answer they last saw at once, then replace it with the fresh one
|
||||
while the spinner runs, so opening one never starts on an empty page. The browser
|
||||
while the spinner runs, so opening one never starts on an empty page. On the very
|
||||
first visit, the hives card and the alerts table show their own header with three
|
||||
grey placeholder rows until the first answer comes. The browser
|
||||
keeps the answer for itself only, and forgets it after a day, after a new build
|
||||
of the UI, at **log out**, and when the login ends. The pages with an editor
|
||||
(schedules, notification flows, broadcast) start empty as before.
|
||||
|
|
|
|||
Loading…
Reference in a new issue