Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4312d29
fix(legacy): complete settings translations and preserve task refresh…
Platinum1154 Nov 8, 2026
2408507
Merge PR #2: legacy 9.13.2 settings translations and maintenance fixes
Platinum1154 Nov 8, 2026
2c67117
feat(habits): integrate Habits into legacy Task Genius
Platinum1154 Nov 8, 2026
ad9311d
fix: synchronize legacy views and audit UI lifecycles
Platinum1154 Nov 8, 2026
40b2bf7
feat: integrate project rewards and flexible habits
Platinum1154 Nov 8, 2026
a789ec2
fix: complete native check-in points and project workflows
Platinum1154 Nov 8, 2026
f727e63
fix: stabilize task views and simplify daily workflows
Platinum1154 Nov 8, 2026
5fd10d4
fix: honor habit rules and stabilize filtered views
Platinum1154 Nov 8, 2026
b278bbd
fix: persist view interactions and count daily task points
Platinum1154 Nov 8, 2026
a22f155
fix: unify task editing and scheduling and repair index updates
Platinum1154 Nov 9, 2026
2426e87
fix: unify calendars, project folders, view filters and point history
Platinum1154 Nov 9, 2026
de456d0
fix: share task forms and separate calendar note actions
Platinum1154 Nov 9, 2026
23cffe6
docs: record cumulative 9.13.9 release and known test failures
Platinum1154 Nov 9, 2026
e1ef319
Merge PR #3: Task Genius 9.13.9 habits, projects and workflow fixes
Platinum1154 Nov 9, 2026
11388ab
fix: make task controls and layouts usable on phones
Platinum1154 Nov 9, 2026
3781a74
Merge PR #4: Task Genius 9.13.10 mobile layout
Platinum1154 Nov 9, 2026
f9f8e01
fix: stabilize sync refreshes and recover missed habits
Platinum1154 Nov 10, 2026
55e6e6c
Merge PR #5: Task Genius 9.13.11 habit and sync fixes
Platinum1154 Nov 10, 2026
6b3e9a6
fix: follow calendar workflows and unify paused task icons
Platinum1154 Nov 15, 2026
295a743
Merge PR #6: Task Genius 9.13.12 calendar workflow and pause icons
Platinum1154 Nov 15, 2026
d975777
fix: retain legacy completion and progress symbols
Platinum1154 Nov 15, 2026
fdb4730
Merge compatibility patch for Task Genius 9.13.13
Platinum1154 Nov 15, 2026
472c0c4
fix: unify reward editors and calendar task menus (9.13.14)
Platinum1154 Nov 28, 2026
74c26f3
fix: connect managed calendar task menus (9.13.15)
Platinum1154 Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master, main]
branches: [master, main, "legacy/**"]
pull_request:
branches: [master, main]
branches: [master, main, "legacy/**"]

jobs:
build:
Expand All @@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -22,7 +24,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
version: 10.26.0

- name: Get pnpm store directory
shell: bash
Expand All @@ -38,10 +40,16 @@ jobs:
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile --ignore-scripts

- name: Build
run: pnpm run build
run: pnpm build:release

- name: Run habits tests
run: pnpm test:habits

- name: Run UI regression tests
run: pnpm test:ui

- name: Run tests
run: pnpm run test --passWithNoTests
run: pnpm exec jest --runInBand --passWithNoTests
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -25,7 +26,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
version: 10.26.0

- name: Get pnpm store directory
shell: bash
Expand All @@ -41,10 +42,13 @@ jobs:
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile --ignore-scripts

- name: Verify tag matches plugin version
run: node scripts/check-release-version.cjs "${GITHUB_REF_NAME}"

- name: Build
run: pnpm run build
run: pnpm build:release

- name: Get version from tag
id: get_version
Expand Down
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ packages/*/node_modules

# Documentation site (separate repository)
docs-site

# Local habit integration verification artifacts
habits-*.log
habits-*-jest.json

# Local UI audit verification
/audit-*.log
/audit-*.json

# Independent local browser layout artifacts
/output/playwright/
/.playwright-cli/
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,8 @@ Join our active community for help, tips, and feature discussions:
[FSL-1.1-ALv2](./LICENSE)

Feel free to use any part in the `src/components`, such as the Inline Markdown Editor or the Kanban component.
## 旧布局维护分支

`legacy/9.13.1` 从官方 9.13.1 标签维护,保留原设置导航与布局。设置中文、状态菜单和索引刷新修复在此分支独立实现。

发布步骤见 [RELEASING.zh-CN.md](RELEASING.zh-CN.md)。使用 `pnpm build:release` 生成 `dist/main.js`、`dist/manifest.json`、`dist/styles.css`,随后由仓库所有者自行创建 GitHub Release。PR 或构建成功本身不会发布 Release。
45 changes: 45 additions & 0 deletions RELEASING.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# 自行发布旧布局版本

本维护分支从官方 `9.13.1` 标签建立,保留旧设置布局。新 PR 合并目标是 `legacy/9.13.1`,与仓库原来的 `master` 分开。当前准备发布的插件版本是 **9.13.2**。

## 第一次发布:通过 GitHub 网页

1. 合并本 PR 到 `legacy/9.13.1`。
2. 打开仓库右侧的 **Releases**,点击 **Draft a new release**。
3. 在 **Choose a tag** 输入 `9.13.2`,选择创建新标签。在 **Target** 选择 `legacy/9.13.1`。标签与 `manifest.json` 中的版本号保持一致,不要加 `v`。
4. 标题填写 `9.13.2:旧布局设置中文完善`,说明中写本次改动。
5. 在附件区域上传构建生成的 **main.js、manifest.json、styles.css**。可以额外上传 `task-genius-9.13.2.zip`,但 BRAT 所需的三个文件仍应分别作为附件提供。
6. 自测版本可以勾选 **This is a pre-release**。确认可用、希望 BRAT 的 `latest` 自动获取时,发布正式版本并选择 **Set as latest release**。
7. 最后点击 **Publish release**。发布后检查附件列表是否真的有三个独立文件;GitHub 自动提供的 Source code 压缩包只是源码。

官方网页操作说明:https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository

## 怎样从源码生成附件

需要 Git、Node.js 20 及 pnpm 10.26.0。在终端执行:

```powershell
git clone --branch legacy/9.13.1 --recurse-submodules https://github.com/Platinum1154/taskgenius-plugin.git
cd taskgenius-plugin
pnpm install --frozen-lockfile --ignore-scripts
pnpm build:release
node scripts/zip.mjs
```

三个发布文件和可选压缩包都在 `dist` 文件夹。`build:release` 会先构建工作区组件,再检查翻译、版本号与 TypeScript,最后生成插件文件。构建不负责发布,也不要求 GitHub token。

`packages/calendar` 已固定为官方仍可下载的提交;不要用空目录代替子模块,也不要从其他 fork 拷贝编译产物。

## 以后发布下一版

例如发布 `9.13.3`,先在维护分支修改:

- `package.json` 的 `version` 为 `9.13.3`。
- `manifest.json` 的 `version` 为 `9.13.3`。
- 在 `versions.json` 中添加 `"9.13.3": "0.15.2"`;最低 Obsidian 版本沿用 manifest 的实际值。

提交并推送这些更改,再重新构建。创建 Release 时也使用 `9.13.3`,上传这次新构建的附件。只改 Release 标题或标签,不会改变插件文件中的版本号。

标签推送还会运行仓库的 Release workflow;它会核对版本、构建并上传附件。网页上传仍可直接提供本地验证过的构建文件。CI 会保留原版完整测试的真实结果,不会为通过检查而跳过既有失败用例。

这条旧版维护分支没有更改默认分支。若通过 `release-it` 发布,原有脚本限制分支为 master;请按本指南的构建及网页发布步骤操作。
37 changes: 37 additions & 0 deletions VALIDATION.zh-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 验证记录:旧布局 9.13.2

基线:官方 9.13.1 标签,提交 `7d8e83bddfa4e8ba95de4be40247ee38d42658b8`。新增实现未移植 zm4341 fork 的改动。

## 通过的检查

- `pnpm build:release`:工作区组件构建、翻译检查、版本一致性检查、TypeScript 检查与生产打包通过。
- 设置检查覆盖 1,800 个英文/中文条目,插值占位符一致。新增翻译来自此次旧版补齐工作。
- 新增 4 组、18 项回归测试全部通过,覆盖中文/英文文本、空任务处理、右键状态切换、嵌套设置变更、失败重试与顺序处理。
- `node scripts/zip.mjs`:成功生成发布压缩包。
- `git diff --check`:通过。

## 全量测试的实际结果

相同依赖环境下分别运行未修改的 9.13.1 与本 PR:

| 项目 | 原版 9.13.1 | 本 PR |
| --- | ---: | ---: |
| 通过测试 | 1,331 | 1,350 |
| 失败测试 | 147 | 146 |
| 失败测试套件 | 38 | 38 |

按测试完整名称比较,本 PR 新增失败为 0。原版有一项性能阈值测试在本次通过,结果可能有时序波动,不将其视为已修复的问题。原有失败包括主动抛错的调试测试及旧测试夹具问题;本次没有删除、跳过或放宽这些测试来制造全绿结果。

因此,完整测试套件**尚未全绿**。CI 继续展示真实结果。发布前请先试用本源码构建的插件文件。

## 界面验证的范围

本次翻译补充曾在运行中的旧版 Obsidian 插件中用原生设置渲染器检查全部 26 页:当前配置与展开选项各一轮,共 52 次渲染、569 行设置;普通文案无英文残留,主题/客户端名称及格式示例保留原文。

上述界面验证使用的是旧版本地补丁。本 PR 是从官方标签重新整理的源码构建,且为修复不可获取的依赖提交而更新了 calendar 固定版本;没有用新的构建覆盖正在使用的 Obsidian。源码构建仍需要安装试用,不能把先前界面验证当成这个新构建的完整人工验收。

## 依赖与发布

原版 calendar 固定提交 `3107a754e650b64cb5dd68101ebbad99ac422f27` 已无法从官方仓库取得。本 PR 固定到官方可获取的 `3cb570633ae01ab569b26a956639fc167da398ba`,并明确构建工作区包,使构建可以重现。

版本元数据已统一为 `9.13.2`。没有创建或发布 GitHub Release。自行发布说明见 [RELEASING.zh-CN.md](RELEASING.zh-CN.md)。
Loading
Loading