Fix empty topology create-root and cut navigation loading flash.

Keep the hidden system root built-in; speed tree bootstrap, unblock new-root UI, and soften query/Suspense refetch jank.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-07 09:18:13 +08:00
parent c4911b6ddc
commit 990798987b
8 changed files with 246 additions and 61 deletions

View file

@ -4894,6 +4894,13 @@ pre {
.topo-browser__empty p {
margin: 0;
}
.topo-browser__empty-actions {
display: inline-flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
}
.topo-browser__empty-icon {
display: grid;
place-items: center;
@ -9895,6 +9902,16 @@ pre {
color: #94a3b8;
font-size: 13px;
}
.page-loading--soft {
min-height: 120px;
opacity: 0;
animation: page-loading-soft-in 160ms ease 180ms forwards;
}
@keyframes page-loading-soft-in {
to {
opacity: 1;
}
}
.app-main option,
option {