Skip to content

Add plugin Todo v0.0.1#198

Open
guopenghui wants to merge 3 commits into
ZToolsCenter:mainfrom
guopenghui:plugin/todo-neo
Open

Add plugin Todo v0.0.1#198
guopenghui wants to merge 3 commits into
ZToolsCenter:mainfrom
guopenghui:plugin/todo-neo

Conversation

@guopenghui
Copy link
Copy Markdown
Contributor

@guopenghui guopenghui commented May 17, 2026

插件信息

  • 名称: Todo
  • 插件ID: todo-neo
  • 版本: 0.0.1
  • 描述: Vim-like 的 todo 工具
  • 作者: thetree
  • 类型: 新增

本次变更

  • 初次发布

截图 / 演示

界面
image

搜索
image

Vim 操作
image

自检清单

  • plugin.json 的 name / title / version / description / author 字段均已检查
  • 已移除调试日志、未使用文件、敏感信息(.env、token、密钥等)
  • 本次 PR 的 diff 仅涉及 plugins/todo-neo/ 目录
  • 已在本地 ZTools 客户端实际加载并测试过此插件,主要功能正常
  • 同意以仓库声明的开源协议发布此插件

此 PR 由 ztools-plugin-cli 自动管理:每次 ztools publish 在分支上追加一个 commit,PR 链接保持不变。

- Initial todo plugin implementation
- Split todo store composables
- Extract todo interaction composables
- Extract todo domain composables
- Update plugin documentation and packaging
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive "Todo" plugin for the ztools platform, featuring a Vim-inspired interface, task grouping, search functionality, and specialized desktop components like note windows and a tomato timer. The feedback identifies several critical issues, including encoding errors (Mojibake) and a UTF-8 BOM in NoteWindow.vue, as well as a logic flaw in the useTodoStore composable where lifecycle hooks are used in a way that could cause premature cleanup of global resources. Additionally, improvements are suggested for performance, such as hoisting MarkdownIt instantiation, and for code style regarding redundant .value references in Vue templates.

Comment thread plugins/todo-neo/src/components/NoteWindow.vue Outdated
Comment thread plugins/todo-neo/src/components/NoteWindow.vue Outdated
Comment thread plugins/todo-neo/src/components/NoteWindow.vue Outdated
Comment thread plugins/todo-neo/src/composables/useTodoStore.ts
Comment thread plugins/todo-neo/src/components/NoteWindow.vue Outdated
Comment thread plugins/todo-neo/src/components/TaskList.vue Outdated
Comment thread plugins/todo-neo/src/components/TaskList.vue
- Initial todo plugin implementation
- Split todo store composables
- Extract todo interaction composables
- Extract todo domain composables
- Update plugin documentation and packaging
- Address plugin review feedback
@guopenghui guopenghui marked this pull request as ready for review May 17, 2026 13:27
- Initial todo plugin implementation
- Split todo store composables
- Extract todo interaction composables
- Extract todo domain composables
- Update plugin documentation and packaging
- Address plugin review feedback
- Fix task list overflow layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant