Components › States & feedback › Loading › Detail state screen

Detail state screen

canon

Minimal record-detail frame (back button + one line) for loading and not-found; same header geometry as the loaded detail.

Coupled to person-record.css: a detail route that does not load that sheet renders this frame unstyled.

Used in 2 files · 2 areas · 2× — pages/ProjectDetailPage, pages/UkolDetailPage

Default

Načítám…
components--detail-state-screen--defaultOpen standalone ↗Code

Variants

Načítám…
loading — the route resolved, the record has not arrived yet
Osoba nenalezena
not found — the id is wrong or the record was deleted; the only way on is back
Obchod nenalezen
own back tooltip — say where back leads when it is not the previous page
components--detail-state-screen--variantsOpen standalone ↗Code

States

Načítám…
switch between the three — the back button and the title sit on the same baseline in all of them, so nothing jumps when the record lands
components--detail-state-screen--statesOpen standalone ↗Code

Composition

Načítám…
detail frame + skeleton body — the honest loading screen: header now, content shaped like the content
…and where the siblings belong: failed load takes the error tone with a retry
Žádná poznámka
…and a loaded record with an empty section takes EmptyState
components--detail-state-screen--compositionOpen standalone ↗Code