siyuan/kernel
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
..
api Improve recent documents handling (#16727) 2026-01-21 08:52:05 +08:00
av 🎨 Database filtering follows search case sensitive settings https://github.com/siyuan-note/siyuan/issues/16585 2026-01-17 18:20:50 +08:00
bazaar 🎨 Improve rhy cache duration 2026-01-04 11:50:40 +08:00
cache 🎨 Improve detection of duplicate insertion of assets https://github.com/siyuan-note/siyuan/issues/16220 2025-10-28 11:01:53 +08:00
cmd 🎨 Update slogan Refactor your thinking https://github.com/siyuan-note/siyuan/issues/8608 2023-06-24 20:39:55 +08:00
conf 🎨 New export settings: Include sub-docs, Include related docs https://github.com/siyuan-note/siyuan/issues/13635 2026-01-18 23:00:19 +08:00
filesys 🎨 https://ld246.com/article/1768448955789/comment/1768467172434?r=88250#comments 2026-01-15 16:54:34 +08:00
harmony 🔒 Randomly generate the cookie key https://github.com/siyuan-note/siyuan/issues/16690 2025-12-26 11:21:47 +08:00
job 🎨 Improve rhy cache duration 2026-01-04 11:50:40 +08:00
mobile 🔒 Randomly generate the cookie key https://github.com/siyuan-note/siyuan/issues/16690 2025-12-26 11:21:47 +08:00
model Improve recent documents handling (#16727) 2026-01-21 08:52:05 +08:00
resource ❤️ 完整开源界面和内核 https://github.com/siyuan-note/siyuan/issues/5013 2022-05-26 15:18:53 +08:00
search 🎨 https://github.com/siyuan-note/siyuan/issues/16872 2026-01-20 18:25:09 +08:00
server 🎨 Improve the network serve address list https://github.com/siyuan-note/siyuan/issues/14943 2026-01-17 11:41:14 +08:00
sql 🐛 Fix https://github.com/siyuan-note/siyuan/issues/16847 2026-01-17 21:50:31 +08:00
task 🎨 Support setting status bar message switch https://github.com/siyuan-note/siyuan/issues/16236 2025-11-13 18:28:42 +08:00
testdata 🎨 Support searching PDF asset content https://github.com/siyuan-note/siyuan/pull/8985 2023-08-17 11:58:54 +08:00
treenode 🐛 Fix https://github.com/siyuan-note/siyuan/issues/16847 2026-01-17 21:50:31 +08:00
util 🎨 Clean code 2026-01-20 10:39:23 +08:00
entrypoint.sh 🎨 Support SIYUAN_WORKSPACE_PATH in Docker (#14286) 2025-03-05 17:24:27 +08:00
go.mod 🎨 Improve export to Word .docx format https://github.com/siyuan-note/siyuan/issues/14970 2026-01-19 20:38:10 +08:00
go.sum 🎨 Improve export to Word .docx format https://github.com/siyuan-note/siyuan/issues/14970 2026-01-19 20:38:10 +08:00
main.go 🔒 Randomly generate the cookie key https://github.com/siyuan-note/siyuan/issues/16690 2025-12-26 11:21:47 +08:00
versioninfo.json 🎨 Improve kernel program meta props 2025-10-04 14:15:03 +08:00