fix(web): restore consistent app header layout

Generated-By: looper 0.7.2 (runner=fixer, agent=opencode)
This commit is contained in:
Siri-Ray
2026-05-12 18:50:05 +08:00
parent 27eee0a062
commit 3baa874a82
3 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -401,8 +401,8 @@ export function EntryView({
actions={(
<SettingsIconButton
onClick={() => onOpenSettings()}
title={t('settings.envConfigure')}
ariaLabel={t('settings.envConfigure')}
title={t('entry.openSettingsTitle')}
ariaLabel={t('entry.openSettingsAria')}
/>
)}
/>
-1
View File
@@ -43,7 +43,6 @@ test('pet pill toggle hides and shows the pet rail', async ({ page }) => {
await expect(page.getByTestId('new-project-panel')).toBeVisible();
await expect(page.locator('.app-chrome-header')).toBeVisible();
await expect(page.locator('.app-chrome-name')).toHaveText('Open Design');
await expect(page.locator('.entry-brand')).toHaveCount(0);
await expect(page.locator('.pet-rail')).toBeVisible();
const hideToggle = page.locator('.pet-pill-toggle');
+4 -5
View File
@@ -196,10 +196,9 @@ test('connectors search supports empty results and keyboard-closeable details',
await page.goto('/');
// Connector cards + search now live under Settings → Connectors. Open the
// settings dialog via the entry sidebar's "Configure execution mode" pill
// and switch to the Connectors section before exercising the
// settings dialog and switch to the Connectors section before exercising the
// search/empty/details flow.
await page.getByRole('button', { name: 'Configure execution mode' }).click();
await page.getByRole('button', { name: 'Open settings' }).click();
const settingsDialog = page.getByRole('dialog');
await expect(settingsDialog).toBeVisible();
await settingsDialog.getByRole('button', { name: /^Connectors\b/ }).click();
@@ -254,7 +253,7 @@ test('saving a Composio key from Settings unlocks the connectors gate immediatel
});
await gotoEntryHome(page);
await page.getByRole('button', { name: 'Configure execution mode' }).click();
await page.getByRole('button', { name: 'Open settings' }).click();
const settingsDialog = page.getByRole('dialog');
await expect(settingsDialog).toBeVisible();
await settingsDialog.getByRole('button', { name: /^Connectors\b/ }).click();
@@ -316,7 +315,7 @@ test('typing a draft replacement Composio key does not trigger global autosave',
});
await gotoEntryHome(page);
await page.getByRole('button', { name: 'Configure execution mode' }).click();
await page.getByRole('button', { name: 'Open settings' }).click();
const settingsDialog = page.getByRole('dialog');
await expect(settingsDialog).toBeVisible();
await settingsDialog.getByRole('button', { name: /^Connectors\b/ }).click();