Refine settings IA with tabbed sections

Split Settings into tabbed sections while preserving draft state, improve mobile Settings nav/touch targets, and update dashboard UX coverage for the Codex tab.
This commit is contained in:
Eyejoker
2026-05-04 01:50:15 +09:00
committed by GitHub
parent 75bdf21a09
commit c7d4bf82d7
6 changed files with 246 additions and 150 deletions

View File

@@ -67,6 +67,7 @@ async function main() {
baseUrl,
async (page, state) => {
await openSettings(page, baseUrl);
await openSettingsSection(page, 'settings-codex');
const goalToggle = page.getByRole('checkbox', { name: /\/goal/ });
await assertVisible(goalToggle);
@@ -236,6 +237,13 @@ async function openSettings(page: Page, baseUrl: string) {
);
}
async function openSettingsSection(page: Page, targetId: string) {
await page
.locator(`.settings-nav button[data-settings-target="${targetId}"]`)
.click();
await assertVisible(page.locator(`#${targetId}`));
}
async function assertVisible(locator: ReturnType<Page['locator']>) {
await locator.waitFor({ state: 'visible', timeout: 5_000 });
}