paseo-kanban 0.1.4 → 0.2.0
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/OVERVIEW.md +6 -4
- package/README.md +37 -9
- package/README.zh-CN.md +37 -9
- package/client/github-import-modal.tsx +629 -0
- package/client/i18n.tsx +71 -0
- package/client/issue-link.tsx +84 -0
- package/client/kanban-board.tsx +45 -11
- package/client/kanban-card.tsx +154 -50
- package/client/kanban-drag.ts +415 -113
- package/client/kanban-lane.tsx +83 -3
- package/client/kanban-overlay.tsx +66 -7
- package/client/kanban-session.ts +50 -1
- package/client/task-modal.tsx +283 -44
- package/index.server.ts +2 -0
- package/package.json +4 -2
- package/paseo-plugin.json +1 -1
- package/server/github.ts +124 -0
- package/shared/github-import.ts +32 -0
- package/shared/kanban.ts +85 -1
package/OVERVIEW.md
CHANGED
|
@@ -4,6 +4,7 @@ A lightweight, responsive Kanban board plugin for Paseo workspaces.
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
+
- **GitHub issue import**: Import up to 25 open issues from the project’s GitHub.com origin into a chosen lane. Tasks remain independent and link back to their source. Requires Git and an authenticated `gh` on the daemon machine.
|
|
7
8
|
- **Flexible swimlanes**: Add, delete, and rename lanes.
|
|
8
9
|
- **Rich task cards**: Edit task titles and multi-line descriptions, manage subtask checklists, and link tasks to Paseo projects.
|
|
9
10
|
- **Task completion**: Check a card or drag it into the completion lane to finish; uncheck or drag out to restore.
|
|
@@ -12,8 +13,8 @@ A lightweight, responsive Kanban board plugin for Paseo workspaces.
|
|
|
12
13
|
|
|
13
14
|
## Storage and requirements
|
|
14
15
|
|
|
15
|
-
- **Data and privacy**: Board data is stored locally in host-scoped plugin settings with revision checks for concurrent edits.
|
|
16
|
-
- **Host requirement**: Paseo 0.
|
|
16
|
+
- **Data and privacy**: Board data is stored locally in host-scoped plugin settings with revision checks for concurrent edits. Core board use requires no external service; optional GitHub import reads GitHub using the daemon machine’s existing `gh` authentication and copies selected issue content into local settings.
|
|
17
|
+
- **Host requirement**: Paseo 0.11.4 or later.
|
|
17
18
|
|
|
18
19
|
---
|
|
19
20
|
|
|
@@ -23,6 +24,7 @@ A lightweight, responsive Kanban board plugin for Paseo workspaces.
|
|
|
23
24
|
|
|
24
25
|
## 核心功能
|
|
25
26
|
|
|
27
|
+
- **GitHub Issue 导入**:从项目的 GitHub.com origin 选择 Open Issues,每次最多导入 25 项到指定泳道;任务独立管理并保留外链。需要在 daemon 所在机器安装 Git 并登录 `gh`。
|
|
26
28
|
- **灵活的泳道管理**:支持泳道增删与改名。
|
|
27
29
|
- **丰富的任务卡片**:支持任务标题与多行描述编辑、子步骤清单管理,以及关联 Paseo 项目。
|
|
28
30
|
- **任务完成与恢复**:通过卡片勾选或拖入完成泳道标记完成;取消勾选或拖出即可恢复。
|
|
@@ -31,5 +33,5 @@ A lightweight, responsive Kanban board plugin for Paseo workspaces.
|
|
|
31
33
|
|
|
32
34
|
## 存储与要求
|
|
33
35
|
|
|
34
|
-
- **数据与隐私**:看板数据保存在宿主本地插件设置中,具备版本并发冲突保护(CAS
|
|
35
|
-
- **宿主要求**:Paseo 0.
|
|
36
|
+
- **数据与隐私**:看板数据保存在宿主本地插件设置中,具备版本并发冲突保护(CAS)。看板基础功能无需外部服务;可选的 GitHub 导入使用 daemon 所在机器的 `gh` 登录态读取 GitHub,并将选中的 Issue 内容复制到本地设置。
|
|
37
|
+
- **宿主要求**:Paseo 0.11.4 或更高版本。
|
package/README.md
CHANGED
|
@@ -4,23 +4,51 @@
|
|
|
4
4
|
|
|
5
5
|
A lightweight, responsive Kanban board plugin for [Paseo](https://paseo.sh) workspaces.
|
|
6
6
|
|
|
7
|
+

|
|
8
|
+
|
|
7
9
|
---
|
|
8
10
|
|
|
9
|
-
##
|
|
11
|
+
## Highlights
|
|
12
|
+
|
|
13
|
+
- **Swimlane Management**: Freely add, rename, and delete custom swimlanes to organize tasks according to your team's workflow stages.
|
|
14
|
+
- **Drag-and-Drop Interaction**: Fluid intra-lane reordering and cross-lane movement with animated drop-slot displacement, viewport edge auto-scrolling, and smooth drop-in feedback.
|
|
15
|
+
- **GitHub Issue Import**: One-way import of open issues from the project repository's GitHub origin into a chosen lane, featuring pagination, repository-wide creation-time sorting, automatic deduplication, and source links.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Other Features
|
|
10
20
|
|
|
11
|
-
- **Flexible Swimlanes**: Add, delete, and rename lanes.
|
|
12
21
|
- **Rich Task Cards**:
|
|
13
|
-
- Task title and multi-line description editing.
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
22
|
+
- Task title and multi-line description editing (with resizable description area).
|
|
23
|
+
- Subtask checklists with live completion progress tracking.
|
|
24
|
+
- Link tasks to projects created in Paseo.
|
|
25
|
+
- **Task Completion & Restoration**: Check a card or drag it into the completion lane to finish; uncheck or drag out to restore cards to their original ordinary swimlane.
|
|
26
|
+
- **Workspace Tabs and Splits**: Open the board beside an agent or terminal with Paseo's native split controls, initially filtered to the workspace's project, or use the sidebar entry.
|
|
27
|
+
- **Independent Project Filtering**: Filter cards by specific Paseo projects or view unassigned tasks without isolating the shared underlying board data.
|
|
28
|
+
- **Host Storage & Concurrency Protection**: Board data is safely stored in host-scoped plugin settings with optimistic revision checks (CAS) to prevent silent overwrites and preserve form drafts.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Screenshots
|
|
33
|
+
|
|
34
|
+
### Board Overview
|
|
35
|
+
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
### Task Details & Subtasks Checklist
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
### Workspace Tabs & Split Controls
|
|
43
|
+
|
|
44
|
+

|
|
18
45
|
|
|
19
46
|
---
|
|
20
47
|
|
|
21
48
|
## Requirements
|
|
22
49
|
|
|
23
|
-
- **Paseo host**: `>= 0.
|
|
50
|
+
- **Paseo host**: `>= 0.11.4` (declared in `paseo-plugin.json`). The host runs the plugin.
|
|
51
|
+
- **GitHub import (optional)**: Install Git and GitHub CLI (`gh`) on the daemon machine, sign in with `gh auth login`, and configure the project repository’s `origin` on GitHub.com. Both public and authorized private repositories are supported.
|
|
24
52
|
- **Development and CI**: Node.js 24 (pinned in `.nvmrc` and `.node-version`) for checks, TypeScript stripping, and native tests.
|
|
25
53
|
|
|
26
54
|
---
|
|
@@ -91,7 +119,7 @@ Individual commands (`npm test`, `npm run typecheck`, `npm run lint`, `npm run f
|
|
|
91
119
|
|
|
92
120
|
## Releases
|
|
93
121
|
|
|
94
|
-
See the [
|
|
122
|
+
See the [CHANGELOG](./CHANGELOG.md). Each release's npm package and GitHub Release share the same version tag; GitHub includes the verified npm tarball. `main` may contain changes beyond the latest release.
|
|
95
123
|
|
|
96
124
|
---
|
|
97
125
|
|
package/README.zh-CN.md
CHANGED
|
@@ -4,23 +4,51 @@
|
|
|
4
4
|
|
|
5
5
|
专为 [Paseo](https://paseo.sh) 工作区打造的轻量响应式看板插件。
|
|
6
6
|
|
|
7
|
+

|
|
8
|
+
|
|
7
9
|
---
|
|
8
10
|
|
|
9
|
-
##
|
|
11
|
+
## 亮点特性
|
|
12
|
+
|
|
13
|
+
- **泳道管理**:自由新增、重命名与删除自定义泳道,按团队工作流灵活组织任务流转阶段。
|
|
14
|
+
- **拖拽交互**:流畅的同泳道排序与跨泳道状态流转,支持动态占位槽避让、视口边缘自动滚动与平滑落位动画。
|
|
15
|
+
- **GitHub Issue 导入**:从项目关联的 GitHub 仓库单向导入 Open Issues 到指定泳道,具备分页、全仓库创建时间排序、自动去重及来源外链直达能力。
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 其他特性
|
|
10
20
|
|
|
11
|
-
- **灵活的泳道管理**:支持泳道增删与改名。
|
|
12
21
|
- **丰富的任务卡片**:
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
22
|
+
- 任务标题与多行描述编辑(支持多行描述框拖拽调节高度)。
|
|
23
|
+
- 子步骤清单与完成进度实时统计。
|
|
24
|
+
- 支持将任务关联至 Paseo 中创建的项目。
|
|
25
|
+
- **任务完成与恢复**:卡片左侧勾选复选框或拖入专用完成泳道即可标记完成;取消勾选或拖出即可无损恢复至原普通泳道。
|
|
26
|
+
- **工作区标签页与分屏**:支持通过 Paseo 原生分屏控件与 Agent、终端任意并排打开,默认自动筛选当前工作区项目,亦可通过侧边栏独立打开。
|
|
27
|
+
- **独立项目筛选**:支持按关联项目快速筛选或查看未关联任务,各打开窗口筛选独立且共享整板底层数据。
|
|
28
|
+
- **宿主持久化与并发保护**:看板数据安全保存在宿主设置中,具备版本并发冲突保护(CAS),表单草稿与错误状态受保护不被静默覆盖。
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 界面预览
|
|
33
|
+
|
|
34
|
+
### 看板全景
|
|
35
|
+
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
### 任务详情与子步骤
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
### 工作区标签页与分屏
|
|
43
|
+
|
|
44
|
+

|
|
18
45
|
|
|
19
46
|
---
|
|
20
47
|
|
|
21
48
|
## 环境要求
|
|
22
49
|
|
|
23
|
-
- **Paseo 宿主**:`>= 0.
|
|
50
|
+
- **Paseo 宿主**:`>= 0.11.4`(声明于 `paseo-plugin.json`),由 Paseo 运行插件。
|
|
51
|
+
- **GitHub 导入(可选)**:在 daemon 所在机器安装 Git 与 GitHub CLI(`gh`),执行 `gh auth login`,并将项目仓库的 `origin` 配置为 GitHub.com 仓库;支持公开及有权访问的私有仓库。
|
|
24
52
|
- **开发与 CI**:使用 Node.js 24(声明于 `.nvmrc` 与 `.node-version`)执行质量检查、TypeScript 类型擦除和原生测试。
|
|
25
53
|
|
|
26
54
|
---
|
|
@@ -91,7 +119,7 @@ npm run check
|
|
|
91
119
|
|
|
92
120
|
## 版本发布
|
|
93
121
|
|
|
94
|
-
参见 [
|
|
122
|
+
参见 [更新日志 (CHANGELOG)](./CHANGELOG.md)。每版 npm 包与 GitHub Release 对应同一个版本 tag,GitHub 附带经过验证的 npm tarball。`main` 可能包含最新发布版之后的改动。
|
|
95
123
|
|
|
96
124
|
---
|
|
97
125
|
|