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
@@ -105,7 +105,7 @@ function makeAuthenticatePage(pool) {
if (!identity) {
return renderError(req, res, 401, 'Not authenticated',
'Not authenticated — access via Authelia SSO (auth.lotusguild.org).');
'Not authenticated. Sign in through Authelia SSO (auth.lotusguild.org).');
}
const { username: remoteUser, name: remoteName, email: remoteEmail, groups } = identity;
+2 -2
View File
@@ -78,14 +78,14 @@ function renderError(req, res, status, title, message) {
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<title>${esc(status)} — ${esc(APP_NAME)}</title>
<title>${esc(status)} | ${esc(APP_NAME)}</title>
<link rel="stylesheet" href="/web_template/base.css?v=${esc(assetVersion)}">
</head>
<body>
<main class="lt-main lt-container">
<div class="lt-frame">
<div class="lt-alert lt-alert--error">
<strong>${esc(status)} — ${esc(title)}</strong>
<strong>${esc(status)}: ${esc(title)}</strong>
<p>${esc(message)}</p>
</div>
<p><a class="lt-btn lt-btn-secondary lt-btn-sm" href="/">Return to dashboard</a></p>
+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);
+2 -2
View File
@@ -30,7 +30,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="theme-color" content="#030508">
<meta name="robots" content="noindex, nofollow">
<title><%= pageTitle ? pageTitle + ' — ' : '' %><%= appName %></title>
<title><%= pageTitle ? pageTitle + ' | ' : '' %><%= appName %></title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
@@ -154,7 +154,7 @@
<span class="lt-footer-sep">|</span>
<button type="button" class="lt-footer-hint" data-action="app:keys-help"><span class="lt-footer-key">[ ? ]</span> HELP</button>
</nav>
<span><%= appName.toUpperCase() %> &mdash; TDS v1.2</span>
<span><%= appName.toUpperCase() %> | TDS v1.2</span>
</footer>
<%- include('partials/keys-help') %>
+1 -1
View File
@@ -51,7 +51,7 @@
<span class="lt-alert-icon">&#x25a4;</span>
<div class="lt-alert-body">
<div class="lt-alert-title">Compare mode</div>
<div class="lt-alert-msg">Select 2&ndash;5 executions to compare their outputs. Click a row to toggle selection.</div>
<div class="lt-alert-msg">Select 2 to 5 executions to compare their outputs. Click a row to toggle selection.</div>
</div>
</div>