Keep the default-open terminal inside the viewport and the map labels inside their shapes.

The dock prompt and placeholder now meet contrast on the raised surface, and service nodes use the same rect geometry as the cases.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-27 00:43:56 +02:00
parent a9ad7eb1a7
commit bb9912daef
7 changed files with 32 additions and 22 deletions

View File

@@ -43,7 +43,9 @@ test.describe('Systems Map', () => {
textBox.x + textBox.width <= shapeBox.x + shapeBox.width + 0.5 &&
textBox.y + textBox.height <= shapeBox.y + shapeBox.height + 0.5;
return fits ? [] : [node.getAttribute('aria-label') ?? 'unnamed node'];
return fits
? []
: [node.getAttribute('data-id') ?? node.getAttribute('aria-label') ?? 'unnamed node'];
});
});

View File

@@ -55,7 +55,8 @@ test.describe('terminal dock', () => {
await input.fill('clear');
await input.press('Enter');
await expect(session.locator('p')).toHaveText(copy.clearedMessage);
await expect(session).toContainText(copy.clearedMessage);
await expect(session.locator('p')).toHaveCount(1);
await input.fill('navigate p');
await input.press('Tab');