Remove em and en dashes from UI text
Security / JS Security (npm audit) (push) Failing after 23s
Lint / JS (eslint) (push) Successful in 26s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Security / JS Security (npm audit) (pull_request) Failing after 38s
Lint / JS (eslint) (pull_request) Successful in 42s
Lint / Notify on failure (pull_request) Skipped
Lint / Deploy (pull_request) Skipped
Test / JS Tests (jest) (pull_request) Successful in 28s
Test / JS Tests (jest) (push) Successful in 31s

Replace the remaining dashes users can see:
- error page titles and headings, and the browser tab title: "|" or ":";
- the footer: "PULSE | TDS v1.2";
- the 401 message and two toasts: sentence breaks or a comma;
- the quick-command history and success line: "|";
- empty table cells: "-";
- the compare hint: "2 to 5".

No layout or behaviour changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-22 01:55:26 -05:00
1 parent 574e7ecc4f
commit 027dce7fd5
9 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@
const resp = await _fetch.apply(window, args);
if (resp.status === 401) {
window.location.reload();
throw new Error('Session expired — reloading');
throw new Error('Session expired, reloading');
}
return resp;
};
+1 -1
View File
@@ -51,7 +51,7 @@
const startedBy = esc(e.started_by || '');
const startedAt = fmt.dateTime(e.started_at);
const isRunning = String(e.status || '').toLowerCase() === 'running';
const elapsed = isRunning ? esc(fmt.elapsed(e.started_at)) : '&mdash;';
const elapsed = isRunning ? esc(fmt.elapsed(e.started_at)) : '-';
return (
'<tr data-action="dash:open-execution" data-execution-id="' + esc(e.id) + '">' +
'<td data-label="Status"><span class="' + statusClass + '">' + statusText + '</span></td>' +
+2 -2
View File
@@ -150,7 +150,7 @@
: (running
? '<span class="ex-elapsed" data-ex-elapsed="' + esc(e.started_at) + '">' +
esc(Pulse.fmt.elapsed(e.started_at)) + '</span>'
: '&mdash;');
: '-');
return '<tr class="' + cls.join(' ') + '" data-action="' + action + '"' +
' data-execution-id="' + esc(e.id) + '" tabindex="0">' +
@@ -427,7 +427,7 @@
'<div class="lt-kv-key">Started</div><div class="lt-kv-val">' + esc(Pulse.fmt.dateTime(ex.started_at)) + '</div>' +
'<div class="lt-kv-key">Completed</div><div class="lt-kv-val">' +
(ex.completed_at ? esc(Pulse.fmt.dateTime(ex.completed_at))
: (ex.status === 'running' ? esc(Pulse.fmt.elapsed(ex.started_at)) + ' elapsed' : '&mdash;')) +
: (ex.status === 'running' ? esc(Pulse.fmt.elapsed(ex.started_at)) + ' elapsed' : '-')) +
'</div>' +
'<div class="lt-kv-key">Execution ID</div><div class="lt-kv-val ex-id-cell">' +
'<code class="ex-code">' + esc(id) + '</code>' +
+3 -3
View File
@@ -139,7 +139,7 @@
list.innerHTML = history.map((item, i) =>
'<div class="qc-list-item" data-action="qc:history-use" data-index="' + i + '">' +
'<div class="qc-list-item-code"><code>' + esc(item.command) + '</code></div>' +
'<div class="qc-list-item-meta">' + esc(Pulse.fmt.dateTime(item.timestamp)) + ' &mdash; ' + esc(item.worker) + '</div>' +
'<div class="qc-list-item-meta">' + esc(Pulse.fmt.dateTime(item.timestamp)) + ' | ' + esc(item.worker) + '</div>' +
'</div>'
).join('');
}
@@ -155,7 +155,7 @@
'<span class="lt-alert-icon">&#x2713;</span>' +
'<div class="lt-alert-body">' +
'<div class="lt-alert-title">Command sent successfully</div>' +
'<div class="lt-alert-msg">Execution ID: <code>' + esc(executionId) + '</code> &mdash; ' +
'<div class="lt-alert-msg">Execution ID: <code>' + esc(executionId) + '</code> | ' +
'<a href="/executions?open=' + encodeURIComponent(executionId) + '">view in Executions</a>' +
'</div>' +
'</div>' +
@@ -292,7 +292,7 @@
if (hasWorker) {
select.value = payload.worker_id;
} else {
Pulse.toast.warning('Original worker is no longer available — select a worker to run this command.');
Pulse.toast.warning('Original worker is no longer available. Select a worker to run this command.');
}
}
const commandEl = document.getElementById('qc-command');
+1 -1
View File
@@ -36,7 +36,7 @@
}
function workerNamesHtml(ids) {
if (!ids.length) return '<span class="lt-text-dim">&mdash;</span>';
if (!ids.length) return '<span class="lt-text-dim">-</span>';
return ids.map(id => {
const w = _workers.find(worker => worker.id === id);
const label = w ? w.name : String(id).slice(0, 8);