Skip to content

Commit 29d3d18

Browse files
committed
Update to v6.9.85, Update 2 files
2026-09-01 20:37 - Update: codebase/docs/TOOLBOX.md - Update: codebase/tools/hmv-toolbox.mjs
1 parent f2a4dea commit 29d3d18

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

codebase/docs/TOOLBOX.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ are dimmed too, and all start in the same column, so the list scans at a
7272
glance — except the two hints that carry live state: the sound row's
7373
(dim `(now on)`, amber `(now off)` when muted) and the What's-changed
7474
row's (amber when files await, dim `(nothing to commit)` when clean).
75+
Dim hyphen rules (the same rule the footer uses) split the list into five
76+
job groups without renumbering anything — build/refresh (1–4), local
77+
preview & status (5–8), verify & health (9–11), content (12–15), the menu
78+
itself (16–18) — so the blocks scan as units.
7579
Below the menu, a footer line shows state at a glance: when the checks
7680
last ran and their verdict, when the site was last built (the size
7781
report's timestamp), and whether a preview server is running.

codebase/tools/hmv-toolbox.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,12 @@ const BR = branch();
255255
let HAS_GIT = hasTool('git');
256256
let HAS_PY = hasTool('python');
257257

258+
// The same dim hyphen rule the footer uses, drawn between the menu's five
259+
// job groups (1-4 build/refresh, 5-8 local preview & status, 9-11 verify &
260+
// health, 12-15 content, 16-18 the menu itself) — rhythm for the eye,
261+
// nothing to read, no renumbering.
262+
const RULE = DIM + new Array(51).join('-') + OFF;
263+
258264
function showBanner() {
259265
clear();
260266
console.log(TITLE + BOX + OFF);
@@ -281,20 +287,24 @@ function showBanner() {
281287
console.log(' ' + ITEM + '2.' + OFF + ' Rebuild search index' + DIM + ' (search words only - a new book still needs option 4)' + OFF);
282288
console.log(' ' + ITEM + '3.' + OFF + ' Refresh freshness' + DIM + ' (quick update for data-only changes)' + OFF);
283289
console.log(' ' + ITEM + '4.' + OFF + ' Refresh book data' + DIM + ' (after adding or changing a book)' + OFF);
290+
console.log(RULE);
284291
const dim5 = HAS_PY ? '' : DIM, dim5Off = HAS_PY ? '' : OFF;
285292
const dimG = HAS_GIT ? '' : DIM, dimGOff = HAS_GIT ? '' : OFF;
286293
console.log(' ' + (HAS_PY ? ITEM : DIM) + '5.' + OFF + dim5 + ' Preview the site' + DIM + ' (opens in your browser, like the live one)' + OFF + dim5Off);
287294
const ch6 = changedHint(); // the hint's own colour signals the state: amber when files await, dim when clean
288295
console.log(' ' + (HAS_GIT ? ITEM : DIM) + '6.' + OFF + dimG + " What's changed" + DIM + ' ' + (ch6.color || DIM) + ch6.text + OFF + dimGOff);
289296
console.log(' ' + ITEM + '7.' + OFF + ' Open the folder' + DIM + ' (the codebase folder in Explorer)' + OFF);
290297
console.log(' ' + ITEM + '8.' + OFF + ' Build and preview' + DIM + ' (build, then open the preview)' + OFF);
298+
console.log(RULE);
291299
console.log(' ' + ITEM + '9.' + OFF + ' Run the checks' + DIM + ' (the pre-commit verification battery)' + OFF);
292300
console.log(' ' + ITEM + '10.' + OFF + ' About / health check' + DIM + ' (versions and tools on this machine)' + OFF);
293301
console.log(' ' + ITEM + '11.' + OFF + ' Check the live site' + DIM + ' (is the published site up to date?)' + OFF);
302+
console.log(RULE);
294303
console.log(' ' + ITEM + '12.' + OFF + ' Open the notes folder' + DIM + ' (authors + works markdown)' + OFF);
295304
console.log(' ' + ITEM + '13.' + OFF + ' New book' + DIM + ' (copy a template + checklist)' + OFF);
296305
console.log(' ' + ITEM + '14.' + OFF + ' Finish a book registration' + DIM + ' (fill the registry row)' + OFF);
297306
console.log(' ' + ITEM + '15.' + OFF + ' Add an author' + DIM + ' (append to the authors registry)' + OFF);
307+
console.log(RULE);
298308
// the hint carries the state: dim when on, amber when muted (the warn colour
299309
// the footer used to show for it)
300310
console.log(' ' + ITEM + '16.' + OFF + ' Sound on/off' + (muted ? WARN : DIM) + ' (now ' + (muted ? 'off' : 'on') + ')' + OFF);

0 commit comments

Comments
 (0)