mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Add the changelog skill and dashboard card to v2.6.0
AI Assisted
This commit is contained in:
1 parent
50a78a6917
commit
3414a19ce6
18 files changed
+754
-11
No files matched your search
@@ -5374,7 +5374,7 @@ test("subagents: the page shows the switch only when offered and supported, and
|
||||
assert.equal(showTab(on, undefined), false);
|
||||
assert.equal(showTab(off, [helper]), true, "a helper shows with the switch off (Pathfinder research)");
|
||||
assert.equal(showTab({ ...on, supported: false }, [helper]), false, "no tab where the switch cannot show");
|
||||
assert.ok(CHECKIN_LINE.includes("check-ins, not live"));
|
||||
assert.ok(CHECKIN_LINE.includes("checks in, not live"));
|
||||
});
|
||||
|
||||
test("subagents: helperRows labels each state, shows a result only once a helper ended, and collapses to working alone", () => {
|
||||
@@ -6958,3 +6958,16 @@ test("update banner: built only on the dashboard, dismissed per session, and Hel
|
||||
assert.ok(help, "app.js has renderHelpVersion");
|
||||
assert.match(help[1], /releasesLink\(/, "the help version is a Releases link");
|
||||
});
|
||||
|
||||
// The Changelog card sits left of Git commit, always clickable, and a launch
|
||||
// from it resumes the session under its own workflow.
|
||||
test("the Changelog card comes just before Git commit and is always on", () => {
|
||||
const skills = SKILL_CATALOG.map((e) => e.skill);
|
||||
assert.equal(skills.indexOf("plan2code-changelog") + 1, skills.indexOf("plan2code-git-commit"));
|
||||
const entry = SKILL_CATALOG.find((e) => e.skill === "plan2code-changelog");
|
||||
assert.equal(entry.workflow, "changelog");
|
||||
assert.equal(entry.command, "/plan2code-changelog");
|
||||
for (const scan of [{ hasAgents: true, isGit: false }, { hasAgents: false }, null]) {
|
||||
assert.equal(cardAvailability(entry, scan, null).on, true);
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user