feat: add contextual help and stabilize repository layout
ForgeFlow quality gate / secret-scan (push) Failing after 28s
ForgeFlow quality gate / quality (push) Failing after 0s

This commit is contained in:
NuklearRabbit
2026-08-27 01:19:36 +02:00
parent d47c7b5e41
commit e882656e85
17 changed files with 660 additions and 82 deletions
+13
View File
@@ -8,6 +8,19 @@ async function handleShellActions(event, target, action, repository) {
await refreshDeploymentTruth(true);
setLoading(false);
}
} else if (action === "open-context-help" || action === "help-topic") {
ui.helpTopic = target.dataset.topic || "getting-started";
ui.helpQuery = "";
ui.currentView = "help";
ui.modal = null;
render();
requestAnimationFrame(() =>
document.querySelector(`[data-help-topic="${ui.helpTopic}"]`)?.scrollIntoView({ block: "start", behavior: "smooth" }),
);
} else if (action === "clear-help-search") {
ui.helpQuery = "";
render();
requestAnimationFrame(() => document.querySelector("#help-search")?.focus());
} else if (action === "select-repo") selectRepository(target.dataset.id);
else if (action === "open-deployment-link") {
if (!repository) return true;