Commit graph

989 commits

Author SHA1 Message Date
Jeffrey Chen
ec881a76af
Fix executing the uninstall method when closing the plugin (#16522)
* 🐛 Fix executing the uninstall method when closing the plugin

* 后端推送区分插件禁用与卸载
2025-12-13 10:37:05 +08:00
Daniel
f27684b26f
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-12-11 16:04:42 +08:00
Daniel
0cb814d617
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
2025-12-10 18:04:34 +08:00
Daniel
4cc998f291
🐛 Can't switch workspaces on mobile https://github.com/siyuan-note/siyuan/issues/16544 https://github.com/siyuan-note/siyuan/issues/16552
Signed-off-by: Daniel <845765@qq.com>
2025-12-10 08:41:15 +08:00
Daniel
ad48451d51
🎨 Improve exit
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 19:31:44 +08:00
Daniel
00d00b54ef
🐛 Can't switch workspaces on mobile https://github.com/siyuan-note/siyuan/issues/16544
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 12:09:23 +08:00
Daniel
444b38aa26
🎨 Improve exit
Signed-off-by: Daniel <845765@qq.com>
2025-12-09 11:43:21 +08:00
Daniel
dc48b090e1
🎨 The workspace will be reset on iOS https://github.com/siyuan-note/siyuan/issues/16544
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 22:40:04 +08:00
Daniel
128f6dfec3
🎨 The workspace will be reset on iOS https://github.com/siyuan-note/siyuan/issues/16544
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 22:39:06 +08:00
Daniel
af823bd8fa
🎨 The workspace will be reset on iOS https://github.com/siyuan-note/siyuan/issues/16544
Signed-off-by: Daniel <845765@qq.com>
2025-12-08 17:47:46 +08:00
Jeffrey Chen
cb58c643fc
🎨 Do not validate file names when updating existing files https://github.com/siyuan-note/siyuan/issues/16536 (#16539) 2025-12-08 09:05:30 +08:00
Daniel
b5c84f2354
🎨 The old version of the application no longer supports opening the new version of the document https://github.com/siyuan-note/siyuan/issues/16505
Signed-off-by: Daniel <845765@qq.com>
2025-12-03 22:03:37 +08:00
Daniel
364b253082
🎨 Improve file history generation https://github.com/siyuan-note/siyuan/issues/16501
Signed-off-by: Daniel <845765@qq.com>
2025-12-03 18:09:49 +08:00
Daniel
190ab07b98
🎨 Improve searching for move blocks
Signed-off-by: Daniel <845765@qq.com>
2025-12-01 18:58:53 +08:00
Jeffrey Chen
9bfe00cf10
🧑‍💻 Add onDataChanged method to handle data changes in the plugin (#16244) 2025-11-25 16:49:22 +08:00
Daniel
fb982b5a81
🎨 Improve interface loading after switching themes and updating code snippets https://github.com/siyuan-note/siyuan/issues/16390
Signed-off-by: Daniel <845765@qq.com>
2025-11-23 19:33:45 +08:00
Daniel
3cc93f2425
🎨 Improve interface loading after switching themes and updating code snippets https://github.com/siyuan-note/siyuan/issues/16390
Signed-off-by: Daniel <845765@qq.com>
2025-11-23 15:40:35 +08:00
Daniel
47a6d288b0
🎨 Support setting status bar message switch https://github.com/siyuan-note/siyuan/issues/16236
Signed-off-by: Daniel <845765@qq.com>
2025-11-13 13:01:12 +08:00
Daniel
22e4a36832
🎨 Support setting status bar message switch https://github.com/siyuan-note/siyuan/issues/16236
Signed-off-by: Daniel <845765@qq.com>
2025-11-13 12:53:18 +08:00
Daniel
c0e947d2ac
🎨 Improve recent doc
Signed-off-by: Daniel <845765@qq.com>
2025-11-08 23:11:02 +08:00
Jeffrey Chen
a0f5387bb4
🧑‍💻 Improve /api/storage/getRecentDocs (#16257)
fix https://github.com/siyuan-note/siyuan/issues/16256
2025-11-01 10:36:47 +08:00
Jeffrey Chen
4c2684d11d
🧑‍💻 Add internal kernel API /api/block/getBlockDOMWithEmbed and /api/block/getBlockDOMsWithEmbed (#16237)
* 🎨 Add internal kernel API `/api/block/getBlockDOMWithEmbed` and `/api/block/getBlockDOMsWithEmbed`

fix https://github.com/siyuan-note/siyuan/issues/16021

* 🎨 Add internal kernel API `/api/block/getBlockDOMWithEmbed` and `/api/block/getBlockDOMsWithEmbed`

fix https://github.com/siyuan-note/siyuan/issues/16021
2025-10-29 15:27:19 +08:00
Daniel
fc4cadfd58
🎨 https://github.com/siyuan-note/siyuan/issues/16206
Signed-off-by: Daniel <845765@qq.com>
2025-10-28 20:44:19 +08:00
Jeffrey Chen
90a447f914
🎨 Improve exporting document HTML (#16219)
* 🎨 The browser-side supports exporting document HTML

fix https://github.com/siyuan-note/siyuan/issues/16213

* 修复导出 HTML 时引入资源没有使用相对路径,修复文档导出 HTML/PDF 时缺失图标

fix https://github.com/siyuan-note/siyuan/issues/16217

fix https://github.com/siyuan-note/siyuan/issues/16216 01

* 修复文档导出 HTML/PDF 时冗余图标

fix https://github.com/siyuan-note/siyuan/issues/16216 02
2025-10-28 09:28:56 +08:00
Daniel
d154b05083
🧑‍💻 Add an internal kernel API /api/outline/getDocOutlineAndStorage https://github.com/siyuan-note/siyuan/issues/16206
Signed-off-by: Daniel <845765@qq.com>
2025-10-27 17:14:38 +08:00
Daniel
957a928959
🎨 https://github.com/siyuan-note/siyuan/issues/16156
Signed-off-by: Daniel <845765@qq.com>
2025-10-25 17:24:57 +08:00
Daniel
994bdc06a2
🎨 Improve Recent documents https://github.com/siyuan-note/siyuan/pull/15824
Signed-off-by: Daniel <845765@qq.com>
2025-10-24 11:41:36 +08:00
Achuan-2
d9e0c56a47
Improve Recent documents (#15824)
*  Improve Recent documents
基于文档最近浏览时间进行排序

*  支持显示最近关闭文档

*  支持显示最近关闭文档

*  支持显示最近关闭文档

*  支持显示最近关闭文档

*  支持显示最近关闭文档

*  支持显示最近关闭文档

* 支持Ctrl+Shift+T打开最近关闭的文档

* 🎨 clean code

* 🔥 移除表格插入行/列的默认快捷键

*  最近文档支持显示最近修改文档

* 🎨

*  最近文档支持查看最近打开

* 🎨

* 

* Update win-build.bat
2025-10-24 11:12:14 +08:00
Daniel
950f392217
🎨 https://github.com/siyuan-note/siyuan/issues/16149
Signed-off-by: Daniel <845765@qq.com>
2025-10-20 10:49:16 +08:00
Daniel
5d015b516c
🎨 https://github.com/siyuan-note/siyuan/issues/16132
Signed-off-by: Daniel <845765@qq.com>
2025-10-16 23:28:08 +08:00
Achuan-2
7545c2517f
Improve the outline panel (#15814)
*  实现大纲持久化
- 添加折叠状态变化的实时保存功能
- 在文档更新时恢复折叠状态
- 保存拖拽前的折叠状态并在拖拽后恢复
- 更新本地存储结构以支持折叠状态

* 🎨 clean code

*  在`data/storage`文件夹下创建`outline/${docID}.json`文件,存储标题outline展开信息

*  alt click折叠/展开统计标题

* 添加层级控制功能
- 新增层级控制滑条,允许用户展开指定层级

* 🌐 添加多语言支持的展开层级功能

*  f添加层级重置显示功能
- 新增 resetLevelDisplay 方法以重置层级显示状态
- 更新层级控制的初始化逻辑,默认不显示层级
- 在文档切换时重置层级显示状态

* 优化层级控制功能
- 添加用户主动层级控制标记
- 修改层级显示重置逻辑,仅在非用户操作时重置
- 更新层级控制滑条的点击事件处理

* ♻️ 重构大纲存储逻辑
- 合并大纲存储为单一文件 outline.json

* ♻️ outline.json 单行存储

* ♻️ outline.json参考recent-doc.json,只存储前1000个文档信息,每次新增信息会把数据放在最前面

* ♻️单行存储json

* ♻️ 增加outline.json存储限制至2000个

*  新增`保持当前标题展开`按钮,`保持全部展开`改为`全部展开`按钮

*  保持当前标题展开优化
- 超过两级折叠,也能都展开
- 如果父节点折叠,展开时自动折叠兄弟节点,只展开当前节点路径,如果父节点是展开状态,则不影响兄弟节点折叠状态

* 🔥 移除层级文本

*  右键点击toggle时展开所有子标题

*  右键click点击折叠图标,会折叠/展开所有子标题

*  大纲支持筛选功能

*  feat(大纲): 优化筛选功能以显示所有子标题
- 添加 showAllDescendants 函数以显示所有子标题
- 修改 processUL 函数以在父标题命中时显示所有子标题
- 确保未命中的子标题隐藏

*  优化大纲筛选

- 如果标题命中筛选,这个标题的所有父标题展开,以显示出这个标题位置
- 如果父标题命中筛选,子项都没有命中筛选,则折叠全部子项(依然可以展开显示)
- 如果父标题命中筛选,子项也有命中筛选,则展开命中的子项,其他无关子项隐藏

* 💄 展开层级改为按钮,原先的圆点样式碍眼

* 💄 展开层级改为按钮,原先的圆点样式碍眼

* 💄 style(菜单): 优化展开层级菜单的样式和位置
- 添加图标以增强可视化
- 调整菜单弹出位置以改善用户体验

* ♻️ refactor(大纲): 优化标题级别获取逻辑
- 调整展开到指定层级的逻辑,使用标题级别进行判断

* 🎨

*  feat(大纲): 添加右键菜单功能
- 实现右键点击标题时显示上下文菜单
- 增加标题升级、降级、插入、删除等操作
- 基于标题级别展开/折叠同级标题

*  feat(大纲): 添加子标题功能
- 在右键菜单中添加“添加子标题”选项
- 实现子标题的添加逻辑,支持最大级别为H6
- 使用当前标题作为父标题,插入新子标题

*  feat(大纲): "添加子标题"确保父标题展开状态

*  feat(大纲): 使用expandIds方式保存父标题展开状态
- 确保父标题保持展开状态
- 保存展开状态到持久化存储
- 移除冗余的状态保存逻辑

*  feat(大纲): 调整右键菜单顺序,将“全部折叠”功能移至“全部展开”之后

* 🌐 i18n optimization
2025-10-15 10:01:47 +08:00
Daniel
16e9dec9b3
🧑‍💻 https://github.com/siyuan-note/siyuan/issues/16083
Signed-off-by: Daniel <845765@qq.com>
2025-10-13 17:16:25 +08:00
Daniel
b3a4068cea
🎨 https://github.com/siyuan-note/siyuan/issues/16050
Signed-off-by: Daniel <845765@qq.com>
2025-10-10 11:52:23 +08:00
Daniel
86431cc106
🎨 Change Search asset content and Add watermark to exported PDF or image from paid features to free features
Signed-off-by: Daniel <845765@qq.com>
2025-10-09 23:01:21 +08:00
Daniel
3a772ee62b
🐛 Database is constantly loading https://github.com/siyuan-note/siyuan/issues/16023
Signed-off-by: Daniel <845765@qq.com>
2025-10-08 15:48:46 +08:00
Daniel
9f3cd7ca95
🎨 API getTag add an optional parameter ignoreMaxListHint https://github.com/siyuan-note/siyuan/issues/16000
Signed-off-by: Daniel <845765@qq.com>
2025-10-03 21:59:19 +08:00
Daniel
e22d373ba8
🧑‍💻 Add internal kernel API /api/ui/reloadIcon https://github.com/siyuan-note/siyuan/issues/16008
Signed-off-by: Daniel <845765@qq.com>
2025-10-03 15:50:43 +08:00
Daniel
e9411f9677
🎨 API getTag add an optional parameter ignoreMaxListHint https://github.com/siyuan-note/siyuan/issues/16000
Signed-off-by: Daniel <845765@qq.com>
2025-10-03 15:35:48 +08:00
Daniel
6ef3b66d5c
🎨 Add a kernel internal api /api/av/getAttributeViewKeysByID
Signed-off-by: Daniel <845765@qq.com>
2025-09-30 21:39:22 +08:00
Daniel
cf3e9ca081
🎨 Add a kernel internal api /api/av/getAttributeViewKeysByID
Signed-off-by: Daniel <845765@qq.com>
2025-09-30 21:20:13 +08:00
Daniel
c3da02f657
🎨 History Retention Days supports a maximum setting of 3650 https://github.com/siyuan-note/siyuan/issues/15979
Signed-off-by: Daniel <845765@qq.com>
2025-09-29 22:22:15 +08:00
Daniel
e36592ab5c
🎨 History Retention Days supports a maximum setting of 3650 https://github.com/siyuan-note/siyuan/issues/15979
Signed-off-by: Daniel <845765@qq.com>
2025-09-29 21:14:44 +08:00
Daniel
33216b093d
🎨 Prompt when the user attempts to create a workspace in the root directory of the disk https://github.com/siyuan-note/siyuan/issues/15976
Signed-off-by: Daniel <845765@qq.com>
2025-09-29 12:23:33 +08:00
Daniel
f05f56b3e8
🎨 Prompt when the user attempts to create a workspace in the root directory of the disk https://github.com/siyuan-note/siyuan/issues/15976
Signed-off-by: Daniel <845765@qq.com>
2025-09-29 11:27:19 +08:00
Daniel
e38635c1f1
🎨 Improve text https://github.com/siyuan-note/siyuan/pull/15877
Signed-off-by: Daniel <845765@qq.com>
2025-09-25 17:11:47 +08:00
Achuan-2
ee5eb01c52
🎨 The embed block of a heading supports hiding the heading itself 2025-09-25 16:54:01 +08:00
Daniel
76372ae017
🎨 https://github.com/siyuan-note/siyuan/issues/15866
Signed-off-by: Daniel <845765@qq.com>
2025-09-18 16:46:50 +08:00
Daniel
3f7421a393
🎨 Add scenes for expanding and collapsing headings https://github.com/siyuan-note/siyuan/issues/15726
Signed-off-by: Daniel <845765@qq.com>
2025-09-15 22:07:53 +08:00
Daniel
fe9aba122c
🎨 Some APIs will undergo breaking changes 一些 API 将发生破坏性变更 https://github.com/siyuan-note/siyuan/issues/15727
Signed-off-by: Daniel <845765@qq.com>
2025-09-15 17:58:38 +08:00
Daniel
07cfc58642
🎨 The database rollup field supports using the relation field https://github.com/siyuan-note/siyuan/issues/15851
Signed-off-by: Daniel <845765@qq.com>
2025-09-15 17:55:58 +08:00