The interface's words follow the style guide (#507)
docs/STYLE-GUIDE.md sets the rules: sentence case, "Unable to ..." and what to do for a failure, podcast not show, address not URL, check not scan, no dashes or symbols for words, buttons that start with a verb. The page, admin, sign-in and the app's alert now follow it: the copy failure, the download and sharing states, the feed's error label, the DeadAir lines, the search boxes' clear buttons (which said only "Clear"), the icon picker's Auto and Initials, the r key's "Refresh" (it reloads the lists), the admin log's Scans tab. "add it in Settings" stays in lower case: it is a link inside a sentence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVCCH8YcP2Y3i8VNYWA
This commit is contained in:
@@ -1618,7 +1618,7 @@ test('a download by hand fills its bar and names its file, and only on its own s
|
||||
await slow.click();
|
||||
await page.locator('#files button[title="Download to iPX"]').click();
|
||||
await expect(slow.locator('.dlbar.live')).toBeAttached({ timeout: 10_000 });
|
||||
await expect(page.locator('#count')).toContainText(/downloading .+ — \d+%/);
|
||||
await expect(page.locator('#count')).toContainText(/Downloading .+: \d+%/);
|
||||
await expect(page.locator('.toast', { hasText: /^Downloaded .+\.mp3/ })).toBeVisible({ timeout: 20_000 });
|
||||
await expect(slow.locator('.kind.here')).toBeVisible({ timeout: 5_000 });
|
||||
|
||||
@@ -3132,7 +3132,7 @@ test('a dialog keeps the keyboard inside it and gives it back on closing', async
|
||||
await expect(page.locator('#modalCard[role=dialog]')).toHaveAttribute('aria-labelledby', /.+/);
|
||||
await expect(page.locator('#nurl')).toBeFocused();
|
||||
// Labels name their boxes (#307).
|
||||
await expect(page.getByRole('textbox', { name: 'Feed URL' })).toHaveCount(1);
|
||||
await expect(page.getByRole('textbox', { name: 'Feed address' })).toHaveCount(1);
|
||||
for (let i = 0; i < 8; i++) {
|
||||
await page.keyboard.press('Tab');
|
||||
// Past the last control Tab goes to the browser's own toolbar (the body, from here), never the page behind.
|
||||
|
||||
Reference in New Issue
Block a user