Commit graph

825 commits

Author SHA1 Message Date
Vanessa
cc2b0ffce2 🎨 https://github.com/siyuan-note/siyuan/issues/8873 2025-11-04 12:59:40 +08:00
Vanessa
8ae922cd15 🎨 https://github.com/siyuan-note/siyuan/issues/8873 2025-11-03 23:41:35 +08:00
Vanessa
de53da0f27 🎨 https://github.com/siyuan-note/siyuan/issues/16159 2025-10-31 12:44:34 +08:00
Vanessa
2e56d39ac3 ♻️ https://github.com/siyuan-note/siyuan/pull/15193 2025-10-31 11:02:35 +08:00
Vanessa
969246bd3f ♻️ https://github.com/siyuan-note/siyuan/pull/15193 2025-10-31 10:59:47 +08:00
Vanessa
b169038f22 ♻️ https://github.com/siyuan-note/siyuan/pull/15193 2025-10-31 10:48:09 +08:00
Jeffrey Chen
f2efa61cf0
♻️ Improve setInlineStyle (#15193) 2025-10-31 10:31:06 +08:00
Vanessa
1e60748e64 🎨 https://github.com/siyuan-note/siyuan/issues/16206 2025-10-29 16:00:09 +08:00
Vanessa
0e334d1ca0 🎨 https://github.com/siyuan-note/siyuan/issues/16206 2025-10-28 19:34:54 +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
Vanessa
6c5af077a3 🎨 https://github.com/siyuan-note/siyuan/issues/16152 2025-10-19 23:01:23 +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
Vanessa
214ceb37b1 🎨 https://github.com/siyuan-note/siyuan/pull/15814 2025-10-15 20:32:13 +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
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
Jeffrey Chen
e259626ce5
🎨 Improve slash menu (#15906) 2025-09-24 22:25:03 +08:00
Vanessa
b50789fa3a 🎨 https://github.com/siyuan-note/siyuan/issues/15860 2025-09-17 10:01:59 +08:00
Vanessa
ff909fa149 🎨 https://github.com/siyuan-note/siyuan/issues/15805 2025-09-09 10:02:51 +08:00
Jeffrey Chen
adca241ed5
🎨 Improve slash menu (#15731)
fix https://github.com/siyuan-note/siyuan/issues/12518
2025-09-08 09:57:36 +08:00
Daniel
305bd9dfb0
🎨 Improve duplicating doc/av https://github.com/siyuan-note/siyuan/issues/15786 2025-09-06 08:28:54 +08:00
Vanessa
ca9427cc82 🎨 https://github.com/siyuan-note/siyuan/issues/10659 2025-08-26 00:51:02 +08:00
Vanessa
e775d0b5f8 🎨 https://github.com/siyuan-note/siyuan/issues/10659 2025-08-26 00:36:07 +08:00
Vanessa
508eb93183 ♻️ https://github.com/siyuan-note/siyuan/pull/15347 2025-07-23 13:08:38 +08:00
Jeffrey Chen
c88f99646c
Replace the deprecated isSameNode method in DOM Level 4 with the === operator (#15347) 2025-07-23 12:21:59 +08:00
Vanessa
3b3c5df1d5 🎨 https://github.com/siyuan-note/siyuan/issues/15308 2025-07-16 22:53:35 +08:00
Vanessa
1f9314aaa8 🎨 https://github.com/siyuan-note/siyuan/issues/15308 2025-07-16 22:36:00 +08:00
Vanessa
35f43e8669 🎨 https://github.com/siyuan-note/siyuan/issues/15308 2025-07-16 18:29:28 +08:00
Vanessa
b4469726a1 ♻️ https://github.com/siyuan-note/siyuan/pull/15054 2025-07-10 20:38:43 +08:00
Jeffrey Chen
b70e06e72f
🎨 Improve theme switching (#15054) 2025-07-10 20:06:59 +08:00
Vanessa
f32449f83d 🎨 https://github.com/siyuan-note/siyuan/issues/15260 2025-07-10 10:13:15 +08:00
Vanessa
b8535f23aa 🎨 https://github.com/siyuan-note/siyuan/issues/15245 2025-07-09 23:02:20 +08:00
Vanessa
f2e57f7028 🎨 https://github.com/siyuan-note/siyuan/issues/15245 2025-07-09 17:29:07 +08:00
Vanessa
e1050ba73b 🎨 https://github.com/siyuan-note/siyuan/pull/15123 2025-07-08 21:08:12 +08:00
Vanessa
b3bd02c5a1 🎨 https://github.com/siyuan-note/siyuan/pull/15123 2025-07-07 19:58:45 +08:00
Vanessa
436135492b 🎨 https://github.com/siyuan-note/siyuan/issues/14167#issuecomment-2676775230 2025-07-07 17:34:42 +08:00
Vanessa
d6dfa68565 ♻️ https://github.com/siyuan-note/siyuan/pull/15123 2025-07-07 11:29:58 +08:00
Vanessa
00542d0989 ♻️ https://github.com/siyuan-note/siyuan/pull/15123 2025-07-06 20:04:13 +08:00
Jeffrey Chen
e17e9aa1cf
🐛 Improve icon switching (#15123) 2025-07-06 16:27:12 +08:00
Vanessa
0f5df03e87 ♻️ https://github.com/siyuan-note/siyuan/pull/14994 2025-07-01 18:30:00 +08:00
Jeffrey Chen
0ca321f8d4
💄 Improve the alignment in table exports (#14994) 2025-07-01 17:47:00 +08:00
Vanessa
aa1e2b4957 🎨 https://github.com/siyuan-note/siyuan/issues/15177 2025-06-29 23:07:26 +08:00
Daniel
b8bef2f954
🎨 When access authentication fails, refresh the page to jump to the authentication page https://github.com/siyuan-note/siyuan/issues/15163 2025-06-29 22:16:20 +08:00
Daniel
34b4564289
🎨 When access authentication fails, refresh the page to jump to the authentication page https://github.com/siyuan-note/siyuan/issues/15163 2025-06-29 22:16:20 +08:00
Daniel
3319ffbb18
🔥 Completely remove Google Analytics https://github.com/siyuan-note/siyuan/issues/15096 2025-06-20 10:20:42 +08:00
Vanessa
e41adc4e72 🎨 https://github.com/siyuan-note/siyuan/issues/10414 2025-06-18 08:56:11 +08:00
Vanessa
cb5c8a37ff 🎨 https://github.com/siyuan-note/siyuan/issues/14984 2025-06-07 11:45:30 +08:00
Vanessa
ae4adfeba4 🎨 https://github.com/siyuan-note/siyuan/issues/14870 2025-05-22 19:32:52 +08:00
Vanessa
efe9a3f908 ♻️ https://github.com/siyuan-note/siyuan/pull/14828 2025-05-22 12:33:11 +08:00
Jeffrey Chen
bf08509986
🎨 Open the Explorer window in the foreground (#14828)
fix https://github.com/siyuan-note/siyuan/issues/12652
2025-05-22 12:11:42 +08:00
Vanessa
c62e178652 🎨 tag rename 2025-04-29 11:31:22 +08:00