Jeffrey Chen
b0f71123a3
Improve recent documents handling ( #16727 )
...
* merge
* Update RecentDoc struct to make timestamp fields optional
* GetDoc is solely responsible for retrieving document content and does not handle business logic
* Remove RemoveRecentDoc function and its calls from multiple files to streamline document handling
* Ensure the API correctly returns an empty array, add deduplication logic, and remove redundant sorting steps when updating fields
* 🎨 Supports configuring the maximum number of `Recent documents` to be listed https://github.com/siyuan-note/siyuan/issues/16720
* merge
* 🎨 Supports configuring the maximum number of `Recent documents` to be listed https://github.com/siyuan-note/siyuan/issues/16720
* 🐛 Fix browsing time not sorted
* 🎨 Supports configuring the maximum number of `Recent documents` to be listed https://github.com/siyuan-note/siyuan/issues/16720
* merge
* remove async
* try catch
2026-01-21 08:52:05 +08:00
Daniel
96c2093bd8
🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
...
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 22:36:56 +08:00
Daniel
827c7a5bf6
🎨 Supports configuring the maximum number of Recent documents to be listed https://github.com/siyuan-note/siyuan/issues/16720
...
Signed-off-by: Daniel <845765@qq.com>
2025-12-29 22:25:04 +08:00
Daniel
e8e36185da
✨ Callout block https://github.com/siyuan-note/siyuan/issues/16051
...
Signed-off-by: Daniel <845765@qq.com>
2025-12-06 16:55:38 +08:00
Daniel
f6c905aa92
✨ Callout block https://github.com/siyuan-note/siyuan/issues/16051
...
Signed-off-by: Daniel <845765@qq.com>
2025-12-06 16:55:38 +08:00
Jeffrey Chen
d76c63a456
🐛 Reset recent-doc.json on unmarshal failure ( #16251 )
2025-10-31 10:12:56 +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
Daniel
3aaec151a4
🎨 Clean code
...
Signed-off-by: Daniel <845765@qq.com>
2025-10-24 11:29:49 +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
0ffa864c8f
🎨 https://github.com/siyuan-note/siyuan/issues/16149
...
Signed-off-by: Daniel <845765@qq.com>
2025-10-19 09:46:55 +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
fa2f8ed7e5
🎨 Find-replace support file annotation ref elements https://github.com/siyuan-note/siyuan/issues/13013
2024-11-04 10:50:50 +08:00
Oleksandr Redko
b100721fee
♻️ Refactor Go to err != nil, err == nil ( #12385 )
2024-09-04 09:40:50 +08:00
Daniel
d6fba4d279
⚡ Improve recent docs loading performance Fix https://github.com/siyuan-note/siyuan/issues/11977
2024-07-14 22:16:11 +08:00
Daniel
18ea513241
🎨 Clean code
2024-06-23 21:52:22 +08:00
Daniel
9c4b8bd74c
⚡ Improve loading doc performance
2024-06-23 21:52:04 +08:00
Daniel
c752df919a
🎨 Search type filtering supports Audio, Video, IFrame and Widget block https://github.com/siyuan-note/siyuan/issues/10645
2024-03-22 17:26:21 +08:00
Daniel
59f91dfc54
🐛 Search type "database" cannot be saved https://github.com/siyuan-note/siyuan/issues/10462
2024-02-28 09:21:25 +08:00
Daniel
af53d6a73a
🎨 Find replace supports selecting element types https://github.com/siyuan-note/siyuan/issues/9895
2023-12-17 17:39:16 +08:00
Daniel
a379e24b3b
🎨 Find replace supports selecting element types https://github.com/siyuan-note/siyuan/issues/9895
2023-12-17 12:12:22 +08:00
Daniel
70c56c8e25
🐛 Notebook data may be corrupted during data synchronization https://github.com/siyuan-note/siyuan/issues/9594
2023-11-06 22:44:06 +08:00
Daniel
b9c35fd0f5
🎨 Update slogan Refactor your thinking https://github.com/siyuan-note/siyuan/issues/8608
2023-06-24 20:39:55 +08:00
Liang Ding
ae4717710d
🎨 When local.json is corrupted, clear the file to avoid being unable to enter the main interface Fix https://github.com/siyuan-note/siyuan/issues/7911
2023-04-07 09:38:11 +08:00
Liang Ding
79f262a27e
🐛 Recent docs not updated after renaming Fix https://github.com/siyuan-note/siyuan/issues/7827
2023-03-30 10:44:22 +08:00
Liang Ding
745582b4e9
🎨 命名查询嵌入块类型持久化
2023-03-23 19:12:02 +08:00
Liang Ding
a5d0a6afae
🎨 增加批量移除本地 kv 存储接口
2023-03-22 15:21:23 +08:00
Liang Ding
5f6d1eac9a
🎨 使用第三方同步盘时弹出提示并退出内核 https://github.com/siyuan-note/siyuan/issues/7683
2023-03-19 00:12:28 +08:00
Liang Ding
2601605953
♻️ 将退出码移到 logging 项目中
2023-03-18 18:10:06 +08:00
Liang Ding
e99b7fd588
🎨 使用第三方同步盘时弹出提示并退出内核 https://github.com/siyuan-note/siyuan/issues/7683
2023-03-18 17:47:31 +08:00
Liang Ding
883898f053
🎨 改进内核只读模式 https://github.com/siyuan-note/siyuan/issues/7615
2023-03-10 09:56:26 +08:00
Liang Ding
2e0a9f8c43
🎨 保存命名查询判空
2023-01-04 13:38:50 +08:00
Liang Ding
c957dfc6b2
🐛 图标全部消失 https://github.com/siyuan-note/siyuan/issues/6974
2023-01-03 18:19:41 +08:00
Liang Ding
7688733364
🎨 保存命名查询去掉多余的字段
2022-12-31 15:59:33 +08:00
Liang Ding
c4aeb9f7b6
🎨 命名查询数据损坏的情况下返回空
2022-12-23 17:06:25 +08:00
Liang Ding
3b1b62fb7e
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-12 22:27:48 +08:00
Liang Ding
d679bedd77
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-12 22:23:00 +08:00
Liang Ding
954642023d
🎨 支持合并子文档导出 Word/PDF https://github.com/siyuan-note/siyuan/issues/3219
2022-12-11 11:56:41 +08:00
Liang Ding
8400173cba
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-11 09:18:41 +08:00
Liang Ding
56511a96d8
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-11 00:20:13 +08:00
Liang Ding
0d3bd719aa
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-11 00:14:06 +08:00
Liang Ding
72419c9075
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-10 22:46:24 +08:00
Liang Ding
4cd0e379c5
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-10 22:20:55 +08:00
Liang Ding
ae4272eafb
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-10 22:17:17 +08:00
Liang Ding
b3a147d60b
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
2022-12-10 17:07:52 +08:00
Liang Ding
a5ebb85862
🎨 搜索支持命名查询 https://github.com/siyuan-note/siyuan/issues/6589
2022-12-04 00:10:36 +08:00
Liang Ding
c90ca948c4
🎨 搜索支持命名查询 https://github.com/siyuan-note/siyuan/issues/6589
2022-12-03 23:57:37 +08:00
Liang Ding
87f22f72e2
🎨 搜索支持命名查询 https://github.com/siyuan-note/siyuan/issues/6589
2022-12-03 23:49:18 +08:00