Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Show what's new inside About

emanuele-em81af2975795f
diff --git a/README.md b/README.md
index 51d3055..49efbd5 100644
--- a/README.md
+++ b/README.md
@@ -228,7 +228,7 @@ mcp_http = true # MCP at /mcp
editor = "/usr/local/bin/cursor" # opens file:/// links; on macOS, your text editor without it
```
-Settings on the board lists each task's properties, like tags or comments. Turn one off to hide it there and leave it out of what agents get; nothing is deleted. What's new, in the same place, lists this version's new features and bug fixes.
+Settings on the board lists each task's properties, like tags or comments. Turn one off to hide it there and leave it out of what agents get; nothing is deleted. Its About section shows what's new in this version.
## Small and fast
diff --git a/src/app.js b/src/app.js
index 01757d4..de7919d 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1720,7 +1720,7 @@ function toggleSettingsMenu() {
el("button", { onclick: () => openSettings() }, icon("settings"), "Settings"),
el("button", { onclick: () => { closeMenu(); checkForUpdates(); } }, icon("update"), "Check for updates",
el("span", { class: "value" }, `v${state.board.version}`)),
- el("button", { onclick: () => openSettings("whats-new") }, icon("news"), "What's new"),
+ el("button", { onclick: () => openSettings("about") }, icon("news"), "What's new?"),
el("button", { onclick: sync }, icon("sync"), "Sync"));
document.body.append(menu);
const r = button.getBoundingClientRect();
@@ -1749,7 +1749,7 @@ function openSettings(section = "board") {
function showSection(section) {
document.querySelectorAll("#settings-nav button").forEach((b) => b.classList.toggle("active", b.dataset.section === section));
document.querySelectorAll(".settings-pane").forEach((p) => { p.hidden = p.dataset.section !== section; });
- if (section === "whats-new") loadWhatsNew();
+ if (section === "about") loadWhatsNew();
}
// Fetched when first shown, so the page doesn't carry the notes on every load.
@@ -1792,7 +1792,6 @@ $('.settings-pane[data-section="board"]').append(...["Description", "Tags", "URL
el("span")));
}));
$("#settings-update").addEventListener("click", checkForUpdates);
-$("#settings-news").addEventListener("click", () => showSection("whats-new"));
async function checkUpdate() {
try {
diff --git a/src/index.html b/src/index.html
index 2c67793..ece3b8a 100644
--- a/src/index.html
+++ b/src/index.html
@@ -607,7 +607,6 @@ html:not(.ready) aside { visibility: hidden; }
<button class="ghost" data-section="board"><span class="icon" data-icon="board"></span>Board</button>
<button class="ghost" data-section="sync"><span class="icon" data-icon="sync"></span>Sync</button>
<button class="ghost" data-section="about"><span class="icon" data-icon="info"></span>About</button>
- <button class="ghost" data-section="whats-new"><span class="icon" data-icon="news"></span>What's new</button>
</nav>
<section class="settings-pane" data-section="board">
<h3>Board</h3>
@@ -636,11 +635,8 @@ html:not(.ready) aside { visibility: hidden; }
</div>
<div class="setting">
<span class="text">Changelog<span>New features and bug fixes in this version</span></span>
- <button class="btn" id="settings-news">What's new</button>
</div>
- </section>
- <section class="settings-pane" data-section="whats-new">
- <h3>What's new</h3>
+ <h3>What's new?</h3>
<div class="md" id="whats-new"></div>
<div class="row"><a href="https://github.com/emanuele-em/kanzo/releases" target="_blank" rel="noopener">All releases</a></div>
</section>