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:
@@ -148,7 +148,7 @@ const WorkspaceSwitcher = ({ open, onClose, workspaces, activeWorkspaceId, onSel
|
||||
>
|
||||
<h2 id="workspace-switcher-title" className="text-sm font-display font-semibold text-foreground mb-1">Switch Workspace</h2>
|
||||
<p className="text-[11px] text-muted-foreground mb-3">
|
||||
One workspace per project or area — each remembers its own work.
|
||||
One workspace per project or area. Each remembers its own work.
|
||||
</p>
|
||||
<div className="space-y-1 max-h-64 overflow-auto">
|
||||
{activeList.map(ws => (
|
||||
@@ -166,14 +166,14 @@ const WorkspaceSwitcher = ({ open, onClose, workspaces, activeWorkspaceId, onSel
|
||||
data-testid="workspace-switcher-overflow"
|
||||
className="w-full flex items-center justify-center gap-1.5 px-2.5 py-1.5 text-[11px] text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
Showing {activeList.length} of {totalCount} — view all
|
||||
Showing {activeList.length} of {totalCount}. View all
|
||||
<ChevronRight className="w-3 h-3" />
|
||||
</button>
|
||||
)}
|
||||
{visibleWorkspaces.length === 0 && (
|
||||
error ? (
|
||||
<div className="text-center py-4 space-y-2" data-testid="workspace-switcher-error">
|
||||
<p className="text-xs text-muted-foreground">Couldn’t load workspaces — retrying when the connection is back.</p>
|
||||
<p className="text-xs text-muted-foreground">Couldn’t load workspaces. Retrying when the connection is back.</p>
|
||||
{onRetry && (
|
||||
<button
|
||||
onClick={onRetry}
|
||||
|
||||
Reference in New Issue
Block a user