Fix L119/L151/L153: empty-state copy, range dashes, dismiss aria-labels

L119: Standardized empty-state copy on the "No X yet." pattern. Terminal
      "Output will appear here." -> "No output yet."; Diagnostics
      "No errors logged." -> "No errors yet."

L151: Range-dash convention is ASCII hyphen everywhere. Changed the lone
      en-dash prose range ("2-3 is a good balance") to a hyphen, matching the
      time-range placeholders (1:30-2:00).

L153: The three "Dismiss" close buttons now name what they dismiss --
      "Dismiss suggested link" (DownloadBar + Library suggestion banners) and
      "Dismiss duplicate warning" (DownloadBar dup row).

L95 left open: the Cookies-card "sign in"/"sign-in" usage is already correct
English (verb vs modifier); no change warranted.

typecheck + 242 tests + eslint green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 15:33:22 -04:00
parent 0d2000f307
commit eb94e84707
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -588,7 +588,7 @@ export function DownloadBar(): React.JSX.Element {
appearance="subtle"
icon={<DismissRegular />}
onClick={dismissSuggestion}
aria-label="Dismiss"
aria-label="Dismiss suggested link"
/>
</div>
)}
@@ -605,7 +605,7 @@ export function DownloadBar(): React.JSX.Element {
appearance="subtle"
icon={<DismissRegular />}
onClick={() => setDup(null)}
aria-label="Dismiss"
aria-label="Dismiss duplicate warning"
/>
</div>
)}
+1 -1
View File
@@ -541,7 +541,7 @@ export function LibraryView(): React.JSX.Element {
appearance="subtle"
icon={<DismissRegular />}
onClick={clip.dismiss}
aria-label="Dismiss"
aria-label="Dismiss suggested link"
/>
</div>
)}
+2 -2
View File
@@ -536,7 +536,7 @@ export function SettingsView(): React.JSX.Element {
<Field
label="Maximum simultaneous downloads"
hint="How many downloads run at once. 23 is a good balance."
hint="How many downloads run at once. 2-3 is a good balance."
>
<SpinButton
value={maxConcurrent}
@@ -1002,7 +1002,7 @@ export function SettingsView(): React.JSX.Element {
</div>
{errorEntries.length === 0 ? (
<Caption1 className={styles.hint}>No errors logged.</Caption1>
<Caption1 className={styles.hint}>No errors yet.</Caption1>
) : (
<div className={styles.errorList}>
{errorEntries.slice(0, 20).map((e) => (
+1 -1
View File
@@ -205,7 +205,7 @@ export function TerminalView(): React.JSX.Element {
<pre className={styles.log} ref={logRef}>
{lines.length === 0 ? (
<span className={styles.empty}>Output will appear here.</span>
<span className={styles.empty}>No output yet.</span>
) : (
lines.map((l) => (
<div key={l.id} className={lineClass(l.kind)}>