Repository navigation
Development
Haosheng Yao edited this page Oct 26, 2026
·
1 revision
English | 简体中文
client.js # client half (single-file ESM bundle, no build step)
index.js # host projection
cordis.patch.yml # bundle patch
package.json # bundle manifest
locale/ # panel title/description dictionaries
tests/ # offline tests
docs/ # screenshots and wiki sources
No browser required:
cd tests
pnpm install
node fold-test.mjs # host projection fold
node render-test.mjs # client SSR render (zh + en, heatmap, tabs, scope, pagination, relations, workspaces)react / react-dom are only used by the SSR test; the browser bundle loads react from
the host at runtime.
render-test.mjs covers:
- panel, sidebar entry and settings-row registration;
- overview stats and heatmap (year/month/week/day, workday shading, source row);
- tab partition semantics (Running / With-todos / Completed cover all sessions);
- search, team scope, workspace filter (including child-session workspace inheritance);
- session relationships (subagent / team member / fork, parent link, child count, family accent);
- disabled rename on subagent sessions plus its hover explanation;
- archive visibility, pagination and virtualization behaviour.
- Client changes hot-reload; host changes (
index.js/cordis.patch.yml) need a window reload. - Reset board preferences:
Object.keys(localStorage)
.filter((key) => key.startsWith('dsh.session-kanban.'))
.forEach((key) => localStorage.removeItem(key));- If the workday calendar looks wrong, switch the country in Settings or click the refresh
icon; if needed, remove
dsh.session-kanban.calendar.v2to refetch.
- Update
client.js/ docs and pass the offline tests. -
npm version <patch|minor>and commit. - Tag and push:
git tag vX.Y.Z git push origin main git push origin vX.Y.Z
- Publish:
npm publish --access public. - Create the GitHub Release, e.g.
gh release create vX.Y.Z --title ... --notes ...with the install command and a change summary. - Update the Releases wiki page and the wiki sources under
docs/wiki.
- Run
node fold-test.mjsandnode render-test.mjsbefore committing. - Prefer host primitives and tokens over custom colours in UI changes.
- When adding settings, shortcuts or behaviour, update the wiki and README as well.
MIT © Thunderunruly · Repository/仓库 · npm · Releases
DSH Session Kanban
- English
- 中文