Prevent duplicate server display during profile transitions
Build and Deploy Gateway / build-and-push (push) Successful in 26s
Build and Deploy Gateway / deploy (push) Successful in 6s

This commit is contained in:
2026-08-11 08:02:17 +03:00
parent 9ad0307333
commit 444f26c401
8 changed files with 33 additions and 31 deletions
+3 -1
View File
@@ -131,7 +131,9 @@ test('server picker starts simple and reveals advanced controls on demand', () =
assert.match(picker, /inert={!advanced \? true : undefined}/);
assert.match(picker, /const SIMPLE_SERVER_LIMIT = 5/);
assert.match(picker, /\.slice\(0, SIMPLE_SERVER_LIMIT\)/);
assert.match(picker, /\{selected && <ServerRow/);
assert.match(picker, /selected && selected\.id !== anchorServerId && <ServerRow/);
assert.match(picker, /id !== selectedServerId && id !== anchorServerId/);
assert.match(overview, /anchorServerId=\{pickerState\.anchorServerId\}/);
assert.match(styles, /\.client-profile-body \.client-server-row \{[\s\S]*?grid-template-columns: minmax\(0, 1fr\) 64px;/);
assert.match(styles, /\.client-profile-body \.client-server-row\.is-selected \{[\s\S]*?background: color-mix\(in oklch, var\(--client-accent\) 2%, transparent\);/);
assert.match(styles, /\.client-profile-body \.client-server-check-label \{[\s\S]*?display: inline;/);