Remove em and en dashes from comments, logs, docs and CI
Security / JS Security (npm audit) (push) Failing after 15s
Lint / JS (eslint) (push) Successful in 16s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Lint / JS (eslint) (pull_request) Successful in 13s
Lint / Notify on failure (pull_request) Skipped
Test / JS Tests (jest) (push) Successful in 15s
Lint / Deploy (pull_request) Skipped
Test / JS Tests (jest) (pull_request) Successful in 17s
Security / JS Security (npm audit) (pull_request) Failing after 20s
Security / JS Security (npm audit) (push) Failing after 15s
Lint / JS (eslint) (push) Successful in 16s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Lint / JS (eslint) (pull_request) Successful in 13s
Lint / Notify on failure (pull_request) Skipped
Test / JS Tests (jest) (push) Successful in 15s
Lint / Deploy (pull_request) Skipped
Test / JS Tests (jest) (pull_request) Successful in 17s
Security / JS Security (npm audit) (pull_request) Failing after 20s
Replace every em dash and en dash outside user-visible UI text with a colon, comma, hyphen or "to". The UI strings and the vendored web_template are handled separately. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8e77c1af0a
commit
66d5240be0
21 files changed
+73
-73
No files matched your search
@@ -8,7 +8,7 @@ A distributed workflow orchestration platform for managing and executing complex
|
||||
|
||||
> **Security Notice:** This repository is hosted on Gitea and is version-controlled. **Never commit secrets, credentials, passwords, API keys, or any sensitive information to this repo.** All sensitive configuration belongs exclusively in `.env` files which are listed in `.gitignore` and must never be committed. This includes database passwords, worker API keys, webhook secrets, and internal IP details.
|
||||
|
||||
**Design System**: [web_template](https://code.lotusguild.org/LotusGuild/web_template) — shared CSS, JS, and layout patterns for all LotusGuild apps
|
||||
**Design System**: [web_template](https://code.lotusguild.org/LotusGuild/web_template): shared CSS, JS, and layout patterns for all LotusGuild apps
|
||||
|
||||
## Styling & Layout
|
||||
|
||||
@@ -24,17 +24,17 @@ scripts/sync-web-template.sh <path-to-web_template-checkout>
|
||||
```
|
||||
|
||||
The script copies `base.css`/`base.js` as regular files (never symlinks) and rewrites `VERSION`.
|
||||
Never hand-edit `public/web_template/` — it is excluded from ESLint and overwritten on every sync.
|
||||
Never hand-edit `public/web_template/`: it is excluded from ESLint and overwritten on every sync.
|
||||
Pulse-local gaps in the design system live in `public/assets/app.css` (currently `.lt-modal-lg`,
|
||||
`.lt-field-error`, `.is-invalid`) and are candidates for upstreaming.
|
||||
|
||||
Reference documentation:
|
||||
|
||||
- [`web_template/README.md`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/README.md) — full component reference, CSS variables, JS API
|
||||
- [`web_template/base.css`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/base.css) — unified CSS (`.lt-*` classes)
|
||||
- [`web_template/base.js`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/base.js) — `window.lt` utilities (toast, modal, WebSocket helpers, fetch)
|
||||
- [`web_template/aesthetic_diff.md`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/aesthetic_diff.md) — cross-app divergence analysis and convergence guide
|
||||
- [`web_template/node/middleware.js`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/node/middleware.js) — Express auth, CSRF, CSP nonce middleware
|
||||
- [`web_template/README.md`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/README.md): full component reference, CSS variables, JS API
|
||||
- [`web_template/base.css`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/base.css): unified CSS (`.lt-*` classes)
|
||||
- [`web_template/base.js`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/base.js): `window.lt` utilities (toast, modal, WebSocket helpers, fetch)
|
||||
- [`web_template/aesthetic_diff.md`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/aesthetic_diff.md): cross-app divergence analysis and convergence guide
|
||||
- [`web_template/node/middleware.js`](https://code.lotusguild.org/LotusGuild/web_template/src/branch/main/node/middleware.js): Express auth, CSRF, CSP nonce middleware
|
||||
|
||||

|
||||
|
||||
@@ -122,7 +122,7 @@ WebSocket, the single 30 s auto-refresh) and each page module registers itself w
|
||||
Pulse.registerPage({ name, init(), refresh(), onEvent(type, data) /* return true if handled */ });
|
||||
```
|
||||
|
||||
Page modules never attach their own listeners for UI actions — they register handlers under their
|
||||
Page modules never attach their own listeners for UI actions: they register handlers under their
|
||||
own action prefix (`dash:`, `wk:`, `wf:`, `ex:`, `qc:`, `sc:`) and the markup wires them up with
|
||||
`data-action` / `data-change-action` / `data-input-action` / `data-submit-action` attributes that
|
||||
`app.js` delegates. DOM ids are likewise prefixed per page. All dynamic strings go through
|
||||
@@ -476,7 +476,7 @@ PULSE_DEV_READONLY=1 PORT=8099 HOST=127.0.0.1 npm start
|
||||
dev instance can never mutate shared state behind your back: stale-execution recovery at startup,
|
||||
the old-execution cleanup job (startup call and interval), the scheduled-command processor
|
||||
(startup call and interval), and the stale-worker offline sweep. Each skip is logged at startup
|
||||
alongside a `PULSE_DEV_READONLY IS ON` banner. The guard covers background jobs only — API routes
|
||||
alongside a `PULSE_DEV_READONLY IS ON` banner. The guard covers background jobs only: API routes
|
||||
still write, so avoid destructive actions in the UI when you are pointed at production data.
|
||||
|
||||
**Worker (.env):**
|
||||
@@ -589,7 +589,7 @@ MIT License - See LICENSE file for details
|
||||
| `security.yml` | `npm audit --audit-level=high` | Every push, PR, and weekly Monday 6am |
|
||||
| `deploy` job in `lint.yml` | Calls the `pulse-deploy` webhook on CT122 (10.10.10.65) to pull + restart | Push to `main` only, after lint passes |
|
||||
|
||||
Branch protection is enabled on `main` — the `lint.yml` check must pass before any PR can merge.
|
||||
Branch protection is enabled on `main`: the `lint.yml` check must pass before any PR can merge.
|
||||
|
||||
Tests live in `tests/utils.test.js` and cover the pure utility functions in `lib/utils.js`:
|
||||
`validateWebhookUrl`, `applyParams`, `evalCondition`, `calculateNextRun`.
|
||||
|
||||
Reference in new issue
Block a user