Commit graph

1242 commits

Author SHA1 Message Date
Daniel
d9a3edb842
🎨 Support calling system printing on Android https://github.com/siyuan-note/siyuan/issues/16152
Signed-off-by: Daniel <845765@qq.com>
2025-10-20 00:06:25 +08:00
Jeffrey Chen
8725e5daa8
🎨 Improve #commonMenu menu (#16141)
* 改进菜单的 data-name 属性值和选项的 data-id 属性值

fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/16133

* 改进菜单的 data-name 属性值和选项的 data-id 属性值

fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/16133

* 更新数据库排序菜单文案

* 改进菜单的 data-name 属性值和选项的 data-id 属性值

fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/16133

使用正则 (?:get|set)Attribute\("data-name"|new Menu\((?:"|Constants) 来搜索

* 改进菜单的 data-name 属性值和选项的 data-subname 属性值

fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/15075

* 改进菜单的 data-name 属性值和选项的 data-subname 属性值

fix https://github.com/siyuan-note/siyuan/issues/12506 https://github.com/siyuan-note/siyuan/issues/15075
2025-10-18 10:41:11 +08:00
Jeffrey Chen
3e7177d22f
📝 Update SiYuan Development Data (#16144) 2025-10-18 10:29:09 +08:00
Daniel
82d975b5ba
🎨 https://github.com/siyuan-note/siyuan/issues/16121
Signed-off-by: Daniel <845765@qq.com>
2025-10-16 18:07:43 +08:00
Jeffrey Chen
679e6926a2
📝 Improve text (#16106)
fix https://github.com/siyuan-note/siyuan/issues/16101
2025-10-16 10:20:04 +08:00
Daniel
ec78a04fb8
🎨 Improve text https://github.com/siyuan-note/siyuan/pull/15814
Signed-off-by: Daniel <845765@qq.com>
2025-10-15 16:45:06 +08:00
Daniel
3caba5bc45
🎨 https://github.com/siyuan-note/siyuan/pull/15814
Signed-off-by: Daniel <845765@qq.com>
2025-10-15 10:11:43 +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
61ca3df796
🎨 https://github.com/siyuan-note/siyuan/issues/16024
Signed-off-by: Daniel <845765@qq.com>
2025-10-12 12:32:15 +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
Vanessa
81736521ba 🎨 https://github.com/siyuan-note/siyuan/issues/15941 2025-09-26 16:42:03 +08:00
Jeffrey Chen
3b78153467
📝 Improve text (#15958) 2025-09-26 12:44:25 +08:00
Daniel
569be86def
🎨 Improve Jump to block icon menu https://github.com/siyuan-note/siyuan/issues/15937
Signed-off-by: Daniel <845765@qq.com>
2025-09-25 22:02:09 +08:00
Daniel
aa250f2da9
🎨 Improve text https://github.com/siyuan-note/siyuan/pull/15877
Signed-off-by: Daniel <845765@qq.com>
2025-09-25 17:05:03 +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
a6e4baee99
🎨 Improve text https://github.com/siyuan-note/siyuan/issues/15941
Signed-off-by: Daniel <845765@qq.com>
2025-09-25 16:51:09 +08:00
Daniel
c0ee065ed7
🎨 Improve text https://github.com/siyuan-note/siyuan/issues/15941
Signed-off-by: Daniel <845765@qq.com>
2025-09-25 11:45:23 +08:00
Daniel
0147a6573d
🎨 Add Default fill specific time switch to database date field https://github.com/siyuan-note/siyuan/issues/12089
Signed-off-by: Daniel <845765@qq.com>
2025-09-24 17:15:20 +08:00
Achuan-2
f747739fd5
关联列支持一键复制现有关联 (#15876) 2025-09-18 21:14:18 +08:00
Daniel
812dadb452
🎨 Add "Show unique values" to the calculation of the database rollup field https://github.com/siyuan-note/siyuan/issues/15852
Signed-off-by: Daniel <845765@qq.com>
2025-09-16 00:09:31 +08:00
Daniel
ec77e2bafd
Database kanban view https://github.com/siyuan-note/siyuan/issues/8873
Signed-off-by: Daniel <845765@qq.com>
2025-09-14 12:52:11 +08:00
Vanessa
043511c2b8 🎨 https://github.com/siyuan-note/siyuan/issues/15831 2025-09-12 12:33:07 +08:00
Daniel
f220e3627f
📝 Database rollup field filtering rules support "Any", "All", and "None" https://github.com/siyuan-note/siyuan/issues/15609 2025-09-05 23:15:20 +08:00
Jeffrey Chen
59265bfc94
📝 Improve text (#15774) 2025-09-05 10:27:07 +08:00
Daniel
fdfd453e2b
🎨 https://github.com/siyuan-note/siyuan/issues/15748 2025-09-04 19:53:53 +08:00
Daniel
fd7dba5ed4
🎨 Update text https://github.com/siyuan-note/siyuan/issues/15759 2025-09-03 23:26:43 +08:00
Achuan-2
c8a3ec52d7
dynamic icon use current date as default (#15693)
*  dynamic icon use current date  as default

* 💄add dynamicIconDateEmptyInfo
2025-08-31 11:41:03 +08:00
Jeffrey Chen
d60553983a
📝 Improve the confirmation popup text when deleting bidirectional relation fields in the database (#15720)
fix https://github.com/siyuan-note/siyuan/issues/15702
2025-08-30 09:36:03 +08:00
Daniel
34360fb9e3
🎨 Manually optimize the data index to reduce space usage and improve performance https://github.com/siyuan-note/siyuan/issues/15663 2025-08-25 11:23:42 +08:00
Daniel
d0f350d215
🎨 https://github.com/siyuan-note/siyuan/issues/15669 2025-08-25 10:43:50 +08:00
Daniel
58585356d6
🎨 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:25 +08:00
Vanessa
7c23daab06 💄 https://github.com/siyuan-note/siyuan/issues/15451 2025-08-24 23:12:19 +08:00
Vanessa
e2d9010fca Revert "🎨 https://github.com/siyuan-note/siyuan/issues/15451"
This reverts commit 72c98874
2025-08-24 22:54:54 +08:00
Vanessa
39f965dca0 🎨 https://github.com/siyuan-note/siyuan/issues/15451 2025-08-24 15:46:45 +08:00
Vanessa
72c9887439 🎨 https://github.com/siyuan-note/siyuan/issues/15451 2025-08-24 15:44:25 +08:00
Daniel
eb13c34fe5
🎨 Alert users when .sy file or database .json exceed 8MB https://github.com/siyuan-note/siyuan/issues/15451 2025-08-24 10:50:03 +08:00
Jeffrey Chen
9993c2db4c
📝 Improve text (#15613) 2025-08-23 09:57:54 +08:00
Daniel
f0f5b6a824
🎨 Card view supports displaying field names https://github.com/siyuan-note/siyuan/issues/15180 2025-08-20 17:44:03 +08:00
Daniel
1479cb6c00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15532 2025-08-11 20:51:57 +08:00
Daniel
a31e79001e
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15500 2025-08-09 21:16:38 +08:00
Jeffrey Chen
ca4a8fac64
📝 Improve text (#15502) 2025-08-09 16:28:20 +08:00
Daniel
377f78ec66
🎨 Improve database field default filling https://github.com/siyuan-note/siyuan/issues/11966 2025-08-06 17:04:11 +08:00
Daniel
3c6ce60525
🎨 Improve av grouping https://github.com/siyuan-note/siyuan/issues/15430 2025-08-06 09:14:12 +08:00
Daniel
eeb0551230
🎨 Improve av grouping https://github.com/siyuan-note/siyuan/issues/15432 2025-08-05 13:02:44 +08:00
Vanessa
ae42686ad4 🎨 https://github.com/siyuan-note/siyuan/pull/15382 2025-08-04 09:12:34 +08:00
Jeffrey Chen
9a89a0eb4c
🎨 Document supports copying as Markdown (#15397)
*  Document supports copying standard Markdown

*  Document supports copying as Markdown
2025-08-02 09:38:43 +08:00
Daniel
da5f4bb42c
🎨 Re OCR popup prompt when Tesseract is not enabled https://github.com/siyuan-note/siyuan/issues/15367 2025-07-25 21:25:38 +08:00
Daniel
70741fffcc
🎨 Re OCR popup prompt when Tesseract is not enabled https://github.com/siyuan-note/siyuan/issues/15367 2025-07-25 19:34:35 +08:00
Daniel
9ae527c9a5
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964 2025-07-25 14:48:48 +08:00
Daniel
534ad7a8cf
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964 2025-07-23 21:42:15 +08:00