From 3e542ab014a2710c6aaf1f549ba0b5be42ed4c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=96=E5=95=A1=E5=85=AB=E6=9D=AF?= <2062008467@qq.com> Date: Tue, 1 Sep 2026 10:24:31 +0800 Subject: [PATCH] =?UTF-8?q?Update=20plugin=20=E7=AE=80=E5=8D=95=E4=BE=BF?= =?UTF-8?q?=E7=AD=BE=20v1.7.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 1.0 - 1.3.0 - fix - 1.4.0 - 1.5.0 - 1.7.0 - 1.7.1 - 1.7.2 - 1.7.3 - 1.7.3 --- plugins/easynote/.gitignore | 1 + plugins/easynote/CHANGELOG.md | 6 ++++ plugins/easynote/README.md | 5 +++ plugins/easynote/package-lock.json | 4 +-- plugins/easynote/package.json | 2 +- plugins/easynote/public/plugin.json | 2 +- plugins/easynote/src/Note/Home.vue | 31 ++++++++++++++++++- .../src/Note/components/HomeColumn.vue | 20 ++++++++++-- .../easynote/src/Note/composables/useNotes.ts | 25 ++++++++++++++- plugins/easynote/src/main.css | 6 ++++ 10 files changed, 93 insertions(+), 9 deletions(-) diff --git a/plugins/easynote/.gitignore b/plugins/easynote/.gitignore index 10820a12c..e9782526c 100644 --- a/plugins/easynote/.gitignore +++ b/plugins/easynote/.gitignore @@ -25,6 +25,7 @@ pnpm-debug.log* *.njsproj *.sln *.sw? +.workbuddy # 系统文件 .DS_Store diff --git a/plugins/easynote/CHANGELOG.md b/plugins/easynote/CHANGELOG.md index 55692eb3a..74437ab16 100644 --- a/plugins/easynote/CHANGELOG.md +++ b/plugins/easynote/CHANGELOG.md @@ -4,6 +4,12 @@ 格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/)。 +## [1.7.3] - 2026-09-01 + +### 新增 + +- **笔记 / 待办分别清空**:笔记栏、待办栏表头各新增「清空」按钮,二次确认(弹窗显示将删除的对应类型数量)后仅删除该类型全部便签,并提示已删除条数;该栏无便签时按钮置灰不可用。 + ## [1.7.2] - 2026-08-20 ### 修复 diff --git a/plugins/easynote/README.md b/plugins/easynote/README.md index c28d9f95b..33c84cbc3 100644 --- a/plugins/easynote/README.md +++ b/plugins/easynote/README.md @@ -10,6 +10,10 @@ easynote 是一个 [ZTools](https://github.com/ztool-center/ztools) 插件,让 ## ⏰ 更新日志 +### v1.7.3 - 2026-09-01 + +- **笔记 / 待办分别清空**:笔记栏、待办栏表头各新增「清空」按钮,二次确认后仅删除对应类型的全部条目(确认弹窗会显示将删除的数量),该栏为空时按钮置灰。 + ### v1.7.2 - 2026-08-20 - **复制净化**:复制原文/纯文本时自动移除 Milkdown 序列化产生的 `
` 空行、合并连续空行、清理行首多余转义(如 `\=` → `=`),内容更紧凑干净。 @@ -119,6 +123,7 @@ npm run build - **待办栏**:右栏集中展示所有待办,勾选即可标记完成(完成后划线显示,顶部同步完成进度);点击进入内容页。 - **便利贴按钮**:列表每条右侧的便利贴按钮,将内容以桌面便利贴形式打开。 - **删除**:删除按钮移除对应便签。 +- **清空**:笔记栏、待办栏表头各有一个「清空」按钮,二次确认后仅删除对应栏的全部条目(不可恢复);该栏为空时按钮置灰。 ### 3. 桌面便利贴 diff --git a/plugins/easynote/package-lock.json b/plugins/easynote/package-lock.json index fcd2f3146..1bd6e0ac6 100644 --- a/plugins/easynote/package-lock.json +++ b/plugins/easynote/package-lock.json @@ -1,12 +1,12 @@ { "name": "easynote", - "version": "1.7.1", + "version": "1.7.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "easynote", - "version": "1.7.1", + "version": "1.7.3", "dependencies": { "@element-plus/icons-vue": "^2.3.2", "@milkdown/kit": "^7.21.3", diff --git a/plugins/easynote/package.json b/plugins/easynote/package.json index 398c4350d..062005ded 100644 --- a/plugins/easynote/package.json +++ b/plugins/easynote/package.json @@ -1,6 +1,6 @@ { "name": "easynote", - "version": "1.7.2", + "version": "1.7.3", "description": "轻量、简单的便签应用,支持 Markdown 所见即所得/双栏编辑、笔记/待办类型管理、纯文本复制、字号控制", "type": "module", "scripts": { diff --git a/plugins/easynote/public/plugin.json b/plugins/easynote/public/plugin.json index efde94bdb..d8ad6dcbb 100644 --- a/plugins/easynote/public/plugin.json +++ b/plugins/easynote/public/plugin.json @@ -4,7 +4,7 @@ "title": "简单便签", "description": "轻量、简单的便签应用,支持 Markdown 所见即所得/双栏编辑、笔记/待办类型管理、纯文本复制、字号控制", "author": "咖啡八杯", - "version": "1.7.2", + "version": "1.7.3", "categories": "productivity", "main": "index.html", "preload": "preload/services.js", diff --git a/plugins/easynote/src/Note/Home.vue b/plugins/easynote/src/Note/Home.vue index 5a4e91559..d06c8302c 100644 --- a/plugins/easynote/src/Note/Home.vue +++ b/plugins/easynote/src/Note/Home.vue @@ -41,6 +41,7 @@ @open-sticky="$emit('openSticky', $event)" @change-type="onChangeType" @delete="onDelete" + @clear="onClear('note')" />