diff --git a/.github/release-notes/0.4.1.md b/.github/release-notes/0.4.1.md new file mode 100644 index 0000000..1da5a88 --- /dev/null +++ b/.github/release-notes/0.4.1.md @@ -0,0 +1,23 @@ +## Floatick v0.4.1 + +### 中文 + +本次补丁修复待办和笔记编辑器的光标显示与任务清单排版。 + +- 修复正文为空时看不到输入光标、输入文字后光标才出现的问题。从标题进入正文后,无需先输入文字即可看到光标。 +- 修复 macOS WebKit 在标题切换到正文时可能发生的编辑器事务冲突,恢复正文文本选择。 +- 修复 checkbox 独占一行、文字落到下一行的问题;复选框现在与首行文字对齐,长文本和嵌套任务保持正确缩进。 +- 优化复选框为圆角样式,增加主题色勾选、悬停反馈和键盘焦点提示;完成父任务不会让未完成的子任务一起变淡或显示删除线。 +- 修复空正文插入任务项后被重新解析为普通列表的问题,保留空任务项和标题的编辑结构。 +- 为编辑器工具栏补充无障碍名称。 + +### English + +This patch fixes caret visibility and checklist layout in the shared todo and note editor. + +- Show the native caret in an empty body before any text is entered, including when moving from the title into the body. +- Avoid a macOS WebKit transaction conflict during title-to-body focus transfer and restore text selection in the editor. +- Keep checkboxes on the same line as task text, with correct indentation for wrapped text and nested tasks. +- Refine checkboxes with rounded corners, themed checked states, hover feedback, and keyboard focus indicators. Completing a parent task no longer dims or strikes through unfinished child tasks. +- Preserve empty task items and headings instead of reparsing the editor's own Markdown updates and turning an empty checklist into a plain list. +- Add accessible names to editor toolbar controls. diff --git a/package.json b/package.json index 30ef658..e5a5d2d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "floatick", - "version": "0.4.0", + "version": "0.4.1", "private": true, "type": "module", "scripts": { diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index d0412a0..8addc83 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1078,7 +1078,7 @@ dependencies = [ [[package]] name = "floatick" -version = "0.4.0" +version = "0.4.1" dependencies = [ "chrono", "dirs 6.0.0", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index dcd5a0f..673d486 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "floatick" -version = "0.4.0" +version = "0.4.1" description = "A focused, local-first floating todo and note app for macOS" authors = ["Lucas"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6998459..ae8d054 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "Floatick", - "version": "0.4.0", + "version": "0.4.1", "identifier": "io.github.lucaslushuo.floatick", "build": { "frontendDist": "../dist", @@ -41,7 +41,7 @@ "icons/icon.ico" ], "macOS": { - "bundleVersion": "12", + "bundleVersion": "13", "minimumSystemVersion": "10.15" } } diff --git a/src/components/common/FloatickTiptapEditor.tsx b/src/components/common/FloatickTiptapEditor.tsx index 1350006..f5b6067 100644 --- a/src/components/common/FloatickTiptapEditor.tsx +++ b/src/components/common/FloatickTiptapEditor.tsx @@ -272,6 +272,7 @@ const ToolbarButton: React.FC = ({ >