diff --git a/app/changelogs/v3.1.23/v3.1.23.md b/app/changelogs/v3.1.23/v3.1.23.md index eb3bc6769..f123a374e 100644 --- a/app/changelogs/v3.1.23/v3.1.23.md +++ b/app/changelogs/v3.1.23/v3.1.23.md @@ -11,6 +11,8 @@ Below are the detailed changes in this version. * [Hide text in breadcrumb of last non-document path in embed block](https://github.com/siyuan-note/siyuan/issues/13866) * [Improve code/kbd/tag element editing](https://github.com/siyuan-note/siyuan/issues/13871) * [Deduplicate container block backlink](https://github.com/siyuan-note/siyuan/issues/13872) +* [`AI writing` supports custom shortcut keys](https://github.com/siyuan-note/siyuan/issues/13894) +* [Improve the window control button position after the graph panel is full screen](https://github.com/siyuan-note/siyuan/issues/13899) * [Improve the centering and line wrapping of database primary key emojis](https://github.com/siyuan-note/siyuan/issues/13940) * [Insert list reference when dragging multiple docs into the editor](https://github.com/siyuan-note/siyuan/issues/13942) * [Double click .search__drag to restore default width](https://github.com/siyuan-note/siyuan/issues/13964) @@ -41,6 +43,8 @@ Below are the detailed changes in this version. * [Refresh virtual reference cache after doc convert to heading](https://github.com/siyuan-note/siyuan/issues/14147) * [Set the workspace path and lang via environment variable](https://github.com/siyuan-note/siyuan/pull/14148) * [Update outline after rolling back document](https://github.com/siyuan-note/siyuan/issues/14152) +* [Improve appearance mode switch](https://github.com/siyuan-note/siyuan/issues/14157) +* [Display reference counts after unfolding headings](https://github.com/siyuan-note/siyuan/issues/14169) ### Bugfix diff --git a/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md b/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md index 675a28851..24e14a4a1 100644 --- a/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md +++ b/app/changelogs/v3.1.23/v3.1.23_zh_CHT.md @@ -11,6 +11,8 @@ * [隱藏嵌入區塊中最後一個非文檔路徑的麵包屑文字](https://github.com/siyuan-note/siyuan/issues/13866) * [改進程式碼/鍵盤/標籤元素編輯](https://github.com/siyuan-note/siyuan/issues/13871) * [去重容器區塊反向連結](https://github.com/siyuan-note/siyuan/issues/13872) +* [`AI 編寫` 支援自訂快捷鍵](https://github.com/siyuan-note/siyuan/issues/13894) +* [Improve the window control button position after the graph panel is full screen](https://github.com/siyuan-note/siyuan/issues/13899) * [改進資料庫主鍵表情的居中與換行](https://github.com/siyuan-note/siyuan/issues/13940) * [將多個文件拖曳到編輯器時插入清單參考](https://github.com/siyuan-note/siyuan/issues/13942) * [雙擊 .search__drag 恢復預設寬度](https://github.com/siyuan-note/siyuan/issues/13964) @@ -38,9 +40,11 @@ * [在鴻蒙系統上將內核改為長時任務](https://github.com/siyuan-note/siyuan/issues/14131) * [/選單新增鍵盤元素](https://github.com/siyuan-note/siyuan/issues/14139) * [支援透過環境變數設定授權碼](https://github.com/siyuan-note/siyuan/pull/14142) -* [文件轉換標題後刷新虛擬引用緩存](https://github.com/siyuan-note/siyuan/issues/14147) +* [文件轉換標題後刷新虛擬引用快取](https://github.com/siyuan-note/siyuan/issues/14147) * [支援透過環境變數設定工作空間路徑和語言](https://github.com/siyuan-note/siyuan/pull/14148) * [回溯文件後更新大綱](https://github.com/siyuan-note/siyuan/issues/14152) +* [改良外觀模式切換](https://github.com/siyuan-note/siyuan/issues/14157) +* [展開折疊的標題後顯示區塊引用計數](https://github.com/siyuan-note/siyuan/issues/14169) ### 修復缺陷 @@ -49,7 +53,7 @@ * [行動端缺少編輯 Mermaid 的入口](https://github.com/siyuan-note/siyuan/issues/13934) * [捲軸樣式不正確](https://github.com/siyuan-note/siyuan/issues/14085) * [匯入 Markdown 資料夾時相對路徑錯誤](https://github.com/siyuan-note/siyuan/issues/14095) -* [移動文檔後回滾文件異常](https://github.com/siyuan-note/siyuan/issues/14107) +* [行動文件後回溯文件異常](https://github.com/siyuan-note/siyuan/issues/14107) * [macOS/Linux/Windows arm64 上未打包字型](https://github.com/siyuan-note/siyuan/issues/14119) * [網路影片無法下載](https://github.com/siyuan-note/siyuan/issues/14155) diff --git a/app/changelogs/v3.1.23/v3.1.23_zh_CN.md b/app/changelogs/v3.1.23/v3.1.23_zh_CN.md index e1778d871..4e116db08 100644 --- a/app/changelogs/v3.1.23/v3.1.23_zh_CN.md +++ b/app/changelogs/v3.1.23/v3.1.23_zh_CN.md @@ -11,6 +11,8 @@ * [隐藏嵌入块中最后一个非文档路径的面包屑文本](https://github.com/siyuan-note/siyuan/issues/13866) * [改进代码/键盘/标签元素编辑](https://github.com/siyuan-note/siyuan/issues/13871) * [去重容器块反向链接](https://github.com/siyuan-note/siyuan/issues/13872) +* [`AI 编写` 支持自定义快捷键](https://github.com/siyuan-note/siyuan/issues/13894) +* [Improve the window control button position after the graph panel is full screen](https://github.com/siyuan-note/siyuan/issues/13899) * [改进数据库主键表情的居中和换行](https://github.com/siyuan-note/siyuan/issues/13940) * [将多个文档拖入编辑器时插入列表引用](https://github.com/siyuan-note/siyuan/issues/13942) * [双击 .search__drag 恢复默认宽度](https://github.com/siyuan-note/siyuan/issues/13964) @@ -41,6 +43,8 @@ * [文档转换标题后刷新虚拟引用缓存](https://github.com/siyuan-note/siyuan/issues/14147) * [支持通过环境变量设置工作空间路径和语言](https://github.com/siyuan-note/siyuan/pull/14148) * [回滚文档后更新大纲](https://github.com/siyuan-note/siyuan/issues/14152) +* [改进外观模式切换](https://github.com/siyuan-note/siyuan/issues/14157) +* [展开折叠的标题后显示块引用计数](https://github.com/siyuan-note/siyuan/issues/14169) ### 修复缺陷 diff --git a/kernel/go.mod b/kernel/go.mod index c3e4bdb60..da2be4074 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -58,7 +58,7 @@ require ( github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 github.com/sashabaranov/go-openai v1.37.0 github.com/shirou/gopsutil/v4 v4.25.1 - github.com/siyuan-note/dejavu v0.0.0-20250212030218-d1f6e807449a + github.com/siyuan-note/dejavu v0.0.0-20250222015121-4b4fc7839fd6 github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97 github.com/siyuan-note/filelock v0.0.0-20241212013445-c66518cdacfa diff --git a/kernel/go.sum b/kernel/go.sum index 75682bef9..99142638f 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -373,8 +373,8 @@ github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+D github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d h1:lvCTyBbr36+tqMccdGMwuEU+hjux/zL6xSmf5S9ITaA= github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw= github.com/simplereach/timeutils v1.2.0/go.mod h1:VVbQDfN/FHRZa1LSqcwo4kNZ62OOyqLLGQKYB3pB0Q8= -github.com/siyuan-note/dejavu v0.0.0-20250212030218-d1f6e807449a h1:SBXLNri9h+ern9WjNOQQogQ9r3ymecBCDlyBWfCpNXA= -github.com/siyuan-note/dejavu v0.0.0-20250212030218-d1f6e807449a/go.mod h1:eoDVb24BzixSSq0VGesyS4k2xVkYrq2dr1meQp9JLNk= +github.com/siyuan-note/dejavu v0.0.0-20250222015121-4b4fc7839fd6 h1:1/51d5pKe6xvg2T8Duia9wD0R6P6dru5XtmyMJiOFBU= +github.com/siyuan-note/dejavu v0.0.0-20250222015121-4b4fc7839fd6/go.mod h1:eoDVb24BzixSSq0VGesyS4k2xVkYrq2dr1meQp9JLNk= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 h1:kJaw5L/evyW6LcB9IQT8PR4ppx8JVqOFP9Ix3rfwSrc= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4/go.mod h1:UYcCCY+0wh+GmUoDOaO63j1sV5lgy7laLAk1XhEiUis= github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97 h1:lM5v8BfNtbOL5jYwhCdMYBcYtr06IYBKjjSLAPMKTM8= diff --git a/kernel/model/heading.go b/kernel/model/heading.go index cc3111344..a6d2dedf9 100644 --- a/kernel/model/heading.go +++ b/kernel/model/heading.go @@ -112,6 +112,9 @@ func (tx *Transaction) doUnfoldHeading(operation *Operation) (ret *TxErr) { } sql.UpsertTreeQueue(tree) + // 展开折叠的标题后显示块引用计数 Display reference counts after unfolding headings https://github.com/siyuan-note/siyuan/issues/13618 + fillBlockRefCount(children) + luteEngine := NewLute() operation.RetData = renderBlockDOMByNodes(children, luteEngine) return