feat(syncguard): protect workspace during substantial CouchDB catch-up

This commit is contained in:
Artem Ovchinnikov committed 2026-10-21 21:25:25 +03:00
1 parent bca2f2dcc6
commit f7c7ef364c
9 files changed
+832 -6

No files matched your search

+35
View File
@@ -839,3 +839,38 @@ body.is-mobile .livesync-compatibility-review-notice {
outline-offset: 1px;
border-radius: 2px;
}
/* An optional, workspace-only barrier during a substantial catch-up. Other Obsidian dialogues remain usable. */
.sls-sync-guard {
position: absolute;
inset: 0;
z-index: var(--layer-cover, 30);
display: grid;
place-items: center;
padding: var(--size-4-4);
background: var(--background-primary);
color: var(--text-normal);
pointer-events: auto;
}
.sls-sync-guard-panel {
width: min(100%, 30rem);
padding: var(--size-4-6);
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-l);
background: var(--background-secondary);
text-align: center;
}
.sls-sync-guard-panel h2 {
margin-block-start: 0;
}
.sls-sync-guard-count {
color: var(--text-muted);
}
.sls-sync-guard-bypass {
min-height: 44px;
min-width: 44px;
}