Commit graph

292 commits

Author SHA1 Message Date
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
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
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
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
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
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
Daniel
c55c413365
🎨 Copy/Cut folded heading changed to copy/cut Headings and Bottom Blocks and support multiple headings copy/cut https://github.com/siyuan-note/siyuan/issues/8019 2025-09-06 17:10:43 +08:00
Daniel
ab66716178
🧑‍💻 Add internal kernel API /api/av/getAttributeViewBoundBlockIDs and getAttributeViewItemIDs https://github.com/siyuan-note/siyuan/issues/15708 2025-08-30 19:09:09 +08:00
Daniel
29ac895046
🎨 Manually optimize the data index to reduce space usage and improve performance https://github.com/siyuan-note/siyuan/issues/15663 2025-08-25 16:24:16 +08:00
Daniel
55541f62b0
🎨 Manually optimize the data index to reduce space usage and improve performance https://github.com/siyuan-note/siyuan/issues/15663 2025-08-25 16:17:52 +08:00
Daniel
7e6752a8fb
🎨 Manually optimize the data index to reduce space usage and improve performance https://github.com/siyuan-note/siyuan/issues/15663 2025-08-25 10:40:28 +08:00
Daniel
8695d86cf1
🎨 Improve database field default filling https://github.com/siyuan-note/siyuan/issues/11966 2025-08-02 11:26:42 +08:00
Daniel
561d4cc891
🐛 The insertion position is wrong after converting the list to paragraph block in the floating window https://github.com/siyuan-note/siyuan/issues/15396 2025-08-01 22:52:49 +08:00
Daniel
be684aee76
🐛 The insertion position is wrong after converting the list to paragraph block in the floating window https://github.com/siyuan-note/siyuan/issues/15396 2025-08-01 22:52:49 +08:00
Daniel
b2d003aeff
🧑‍💻 Add some kernel batch insert blocks APIs https://github.com/siyuan-note/siyuan/issues/15321 2025-07-18 10:41:48 +08:00
Daniel
2b864265d0
🧑‍💻 Add kernel API /api/av/batchReplaceAttributeViewBlocks https://github.com/siyuan-note/siyuan/issues/15313 2025-07-17 00:35:24 +08:00
Daniel
d7e2d5903a
🧑‍💻 Add kernel API /api/av/batchSetAttributeViewBlockAttrs https://github.com/siyuan-note/siyuan/issues/15310 2025-07-16 23:46:57 +08:00
Daniel
81924869d9
🧑‍💻 Kernel API /api/ui/reloadUI adds mode parameter https://github.com/siyuan-note/siyuan/issues/15308 2025-07-16 17:18:02 +08:00
Daniel
283e87d4a7
🧑‍💻 Kernel API /api/ui/reloadUI adds mode parameter https://github.com/siyuan-note/siyuan/issues/15308 2025-07-16 17:15:48 +08:00
Daniel
c0841160b3
🧑‍💻 Kernel API /api/ui/reloadUI adds mode parameter https://github.com/siyuan-note/siyuan/issues/15308 2025-07-16 17:02:58 +08:00
Daniel
724db336c8
Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964 2025-07-01 21:52:04 +08:00
Daniel
3319ffbb18
🔥 Completely remove Google Analytics https://github.com/siyuan-note/siyuan/issues/15096 2025-06-20 10:20:42 +08:00
Daniel
218bbe2000
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414 2025-06-16 21:07:45 +08:00
Daniel
f4a5bd105f
🧑‍💻 Add kernel API /api/block/getBlockDOMs https://github.com/siyuan-note/siyuan/issues/15004 2025-06-10 17:05:08 +08:00
zhangziqian
12cc17bd06
🎨 Support importing markdown zip on the browser (#14950) 2025-06-02 21:14:04 +08:00
Jiangshuon
2b03a364af
Optimize attributeView image browsing (#14843) 2025-05-18 11:31:22 +08:00
Daniel
f25dcffa98
🧑‍💻 Add an internal kernel API /api/ui/reloadTag https://github.com/siyuan-note/siyuan/issues/14594 2025-04-13 20:33:34 +08:00
Daniel
d0ad863651
🧑‍💻 Add an internal kernel API /api/ui/reloadFiletree https://github.com/siyuan-note/siyuan/issues/14493
Add an internal kernel API `/api/ui/reloadUI` https://github.com/siyuan-note/siyuan/issues/14494
2025-04-01 12:21:37 +08:00
Daniel
31312bd7c0
🧑‍💻 Add an internal kernel API /api/av/reloadAttributeView https://github.com/siyuan-note/siyuan/issues/14491
Add an internal kernel API `/api/editor/reloadProtyle` https://github.com/siyuan-note/siyuan/issues/14492
2025-04-01 12:21:36 +08:00
Daniel
96532915f7
🧑‍💻 Add an internal kernel API /api/av/reloadAttributeView https://github.com/siyuan-note/siyuan/issues/14491 2025-04-01 11:47:56 +08:00
Daniel
038d05d0f4
🎨 Supports local shorthands on Android https://github.com/siyuan-note/siyuan/issues/14414 2025-03-26 12:23:26 +08:00
Daniel
5dab0ecdf6
🎨 When deleting a referenced definition block, a pop-up window will prompt the user https://github.com/siyuan-note/siyuan/issues/13396 2025-03-16 20:11:48 +08:00
Daniel
cdf884bf64
🧑‍💻 Add a kernel API /api/block/batchUpdateBlock https://github.com/siyuan-note/siyuan/issues/14335 2025-03-11 11:45:42 +08:00
Daniel
693bf7e1ed
🧑‍💻 API | getDocumentAssets https://github.com/siyuan-note/siyuan/issues/13875 2025-01-30 15:07:18 +08:00
Yingyi / 颖逸
69c9539cdc
🧑‍💻 Add Kernel API for subscribe broadcast message by SSE (#13694)
* 🎨 Add Kernel API for subscribe broadcast

* 🐛 Fix request serialization

* 🐛 Fix broadcast message loss issue

* 🎨 Add event ID

* 🎨 Add retry field

* 🐛 Fix event ID format
2025-01-01 21:51:45 +08:00
Daniel
0802c207cc
🎨 Support for ignoring the prompt to add Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13687 2024-12-31 23:26:48 +08:00
Yingyi / 颖逸
6ee4705e2a
🎨 Support local file system sync & backup (#13663)
* 🎨 Use local file system sync & backup

* ⬆️ dejavu

* 🎨 Add the settings panel of local file system sync & backup

* 📝 Update user guides of local file system sync & backup

* 🎨 Adjust supported runtime environments
2024-12-31 21:06:13 +08:00
Yingyi / 颖逸
3807f8386c
🧑‍💻 Add Kernel API for publish binary message broadcast (#13681)
* 🎨 Broadcast supports publishing binary messages

* 🎨 Add size field to `PublishMessage`
2024-12-31 17:36:53 +08:00
Daniel
2784511e72
🎨 Support one-click addition of Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13650 2024-12-29 09:54:18 +08:00
Daniel
9e2bab6718
🎨 Improve search jump focus block and then exit focus positioning https://github.com/siyuan-note/siyuan/issues/13577 2024-12-25 20:20:05 +08:00
Daniel
5fb2b78911
🔥 Remove Sentry reporting diagnostic data https://github.com/siyuan-note/siyuan/issues/13522 2024-12-18 17:10:23 +08:00
Daniel
45a6f7e29d
🎨 Support setting automatic sync interval https://github.com/siyuan-note/siyuan/issues/13448 2024-12-14 12:05:40 +08:00
Daniel
497037465b
🧑‍💻 Add a internal kernel API /api/system/reloadUI https://github.com/siyuan-note/siyuan/issues/13402 2024-12-08 22:21:06 +08:00
Daniel
f21f0ea60b
🧑‍💻 Add a kernel API /api/filetree/moveDocsByID https://github.com/siyuan-note/siyuan/issues/13247 2024-12-05 10:49:54 +08:00