fix: drop the em dash from user-facing copy
Anti-slop audit-002, item 13 (R-02). Every em dash in text the user sees (web UI labels, toasts, tooltips, empty and error states, chat steps, API messages, notifications and channel replies) became a period, comma, colon or parentheses. Model prompts, logs, comments, regexes and the lone dash that marks an empty value are unchanged. Text the client matches against server copy (the default workspace summary, the quiet-night dream summary) accepts the old wording too, so cached and saved data still match.
This commit is contained in:
@@ -111,7 +111,7 @@ test.describe('Runtime accessibility smoke', () => {
|
||||
});
|
||||
|
||||
await gotoApp(page, '/agents');
|
||||
await expect(page.getByText('50 sessions in — nicely done', { exact: true })).toBeVisible();
|
||||
await expect(page.getByText('50 sessions in. Nicely done', { exact: true })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Close notification' })).toHaveCSS('opacity', '1');
|
||||
|
||||
expect(formatViolations(await runAxe(page))).toEqual([]);
|
||||
|
||||
Reference in New Issue
Block a user