kandown 0.34.0 → 0.34.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/bin/kandown.js +1156 -1133
- package/bin/tui.js +130 -116
- package/dist/index.html +171 -162
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.34.2 — 2026-07-24 — "Motion Polish"
|
|
4
|
+
|
|
5
|
+
- **Fixed**: **0.5s pop on card hover, click, and rearrange** — `Card`, `Column`, and `CardStack` were animating through Framer Motion springs (`whileHover={{ y: -1 }}`, `whileTap={{ scale: 0.99 }}` with stiffness 500) AND Tailwind `transition-all duration-150` at the same time, on the same `transform` property. The result was the half-second scale snap the user reported on every interaction. Replaced with a hybrid system:
|
|
6
|
+
- `src/lib/motion-presets.ts` defines a single source of truth (`EASE_OUT`, `EASE_SPRING`, `MOTION.fade / toast / progressBar / heroStagger / headerCrossfade / panel / rotate / chip`) for every `motion.*` and `AnimatePresence` in the project.
|
|
7
|
+
- `Card`, `Column`, `CardStack` (collapsed + expanded), `Board` wrapper, and `ListView` sections are now plain `<div>` / `<section>`. Drag is HTML5-native, so `layout` animation was unused and the spring was just overhead.
|
|
8
|
+
- Hover/active feedback is now Tailwind only: `hover:-translate-y-px active:scale-[0.99] active:duration-75` with `transition-[border-color,box-shadow,transform] duration-200 ease-out`. CSS, no overshoot, no animation on `all`.
|
|
9
|
+
- Motion is reserved for what actually needs an enter/exit curve: `Toaster`, `EmptyState` hero, `Header` boot cross-fade, `SubtaskEditor` progress bar (no more spring on `width` — it jittered), `SubtaskItem` panel expand/collapse + chevron rotate, and `Header` filter chips. Every site uses the corresponding `MOTION.*` token.
|
|
10
|
+
|
|
11
|
+
## 0.34.1 — 2026-07-24 — "CLI Modular Refactor"
|
|
12
|
+
|
|
13
|
+
- **Fixed**: **Web UI no longer opens to the project picker** — running `kandown` inside a project directory now auto-opens both the TUI and the Web UI directly into that project again. The regression was a missing `window.__KANDOWN_ROOT__` injection into the served HTML (lost during an earlier partial refactor); the web app now correctly detects server mode and skips the manual folder-picker screen.
|
|
14
|
+
- **Added**: **"Create project" confirmation screen in the TUI** — launching `kandown` inside a directory with no `.kandown/` project now shows an inline confirmation prompt (Enter to create, Esc to quit) instead of failing silently. Confirming scaffolds the project, starts the local web daemon, and opens the browser automatically.
|
|
15
|
+
- **Fixed**: **Daemon spawn using the wrong entrypoint when launched from the TUI** — `startProjectDaemon` resolved its own CLI path from `process.argv[1]`, which pointed at the TUI's own entrypoint when called from inside the Ink process (e.g. the "create project" flow, or pressing `d` on the board). It now resolves the CLI entrypoint from the package root instead, fixing daemon start failures triggered from within the TUI.
|
|
16
|
+
- **Changed**: **Large source files split into focused modules** — five files that had grown past 1500–3500 lines during a previous rushed refactor were mechanically split into smaller, single-purpose modules with no behavior change (verified via `tsc`, full builds, and byte-level diffs against the pre-split code):
|
|
17
|
+
- `src/lib/theme.ts` (1525 → 267 lines): 38 built-in theme presets extracted to individual files under `src/lib/themes/`.
|
|
18
|
+
- `src/lib/store.ts` (1774 → 120 lines): the Zustand store split into six slices (`project`, `board`, `drawer`, `ui`, `agentSearch`, `watcher`) under `src/lib/store/`.
|
|
19
|
+
- `src/cli/screens/board.tsx` (1647 → 1203 lines): pure layout helpers and presentational components extracted to `src/cli/screens/board/helpers.ts` and `board/components.tsx`.
|
|
20
|
+
- `src/components/SettingsPage.tsx` (2038 → 347 lines): setting schema/metadata, the language dropdown, search results, setting rows, the `kandown work` output configurator, and the About/version card each moved to their own file under `src/components/settings/`.
|
|
21
|
+
- `src/cli/cli.ts` (905 → ~160 lines): argument-parsing and path-resolution helpers moved to `src/cli/lib/cli-shared.ts`; command handlers grouped into `src/cli/commands/project.ts`, `commands/tasks.ts`, and `commands/daemon.ts`.
|
|
22
|
+
|
|
3
23
|
## 0.34.0 — 2026-07-24 — "Quick-Wins Collection"
|
|
4
24
|
|
|
5
25
|
- **Added**: **Quick archive button on every card** — task cards in the board and list views now expose a one-click **archive** action next to the existing guarded delete button. Archiving is reversible from the archive view and reuses the existing store `archiveTask` action so files, watchers, and broadcasts stay consistent.
|