Restyle the web console and tidy its labels, Ask tab, cleanup and help

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-17 18:08:01 -08:00
1 parent 710c751c2f
commit e9679c47b9
103 files changed
+4054 -2273

No files matched your search

+17 -1
View File
@@ -26,7 +26,7 @@ export const HELP_TABS = Object.freeze([
tab("loop", "Implementation Loop", true),
tab("git", "The git board", false),
tab("deps", "Update dependencies", false),
tab("subagents", "Helpers (subagents)", false),
tab("subagents", "Subagents", false),
tab("ask", "Ask a quick question", false),
tab("activities", "Activities", false),
tab("finishing", "Stopping and finishing", false),
@@ -35,6 +35,22 @@ export const HELP_TABS = Object.freeze([
tab("privacy", "Privacy and where things are saved", false),
]);
// Four group headings over the same order: each group is a run of neighbors in
// HELP_TABS, so grouping never moves a tab (the stuck topic stays second).
// The headings are drawn by wireTabs() and are never tab stops.
export const HELP_GROUPS = Object.freeze([
Object.freeze({ title: "Start here", from: "about" }),
Object.freeze({ title: "Working in a session", from: "workspace" }),
Object.freeze({ title: "Tools", from: "dashboard" }),
Object.freeze({ title: "Reference", from: "finishing" }),
]);
// The heading a tab opens a new group under, or null when it continues one.
export function helpGroupStart(id) {
const group = HELP_GROUPS.find((g) => g.from === id);
return group ? group.title : null;
}
// Not labels.js's BUILD_WORKFLOWS: that one leaves out quick-task, which is a
// build as far as the person watching it is concerned. Every build in skills.js.
const HELP_BUILD_WORKFLOWS = new Set(SKILLS.filter((s) => isBuild(s.workflow)).map((s) => s.workflow));