Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
f9c2e9b3ea
4 changed files with 154 additions and 6 deletions
49
app/changelogs/v3.0.2/v3.0.2.md
Normal file
49
app/changelogs/v3.0.2/v3.0.2.md
Normal file
|
@ -0,0 +1,49 @@
|
|||
## Overview
|
||||
|
||||
This version supports listing of invalid block references, the mobile app supports taking pictures, and the database date field supports "relative to today" filtering.
|
||||
|
||||
## Changelogs
|
||||
|
||||
Below are the detailed changes in this version.
|
||||
|
||||
### Enhancement
|
||||
|
||||
* [Support listing blocks with invalid references in the search dialog](https://github.com/siyuan-note/siyuan/issues/10396)
|
||||
* [Database block support specified view](https://github.com/siyuan-note/siyuan/issues/10443)
|
||||
* [Improve database view switching](https://github.com/siyuan-note/siyuan/issues/10448)
|
||||
* [Support database date field relative to today's filtering](https://github.com/siyuan-note/siyuan/issues/10451)
|
||||
* [Don't pop up the keyboard when selecting a doc for the flashcard on the mobile](https://github.com/siyuan-note/siyuan/issues/10457)
|
||||
* [Improve the flashcard review UI when the mobile is in landscape mode](https://github.com/siyuan-note/siyuan/issues/10459)
|
||||
* [Improve Tab Limit setting](https://github.com/siyuan-note/siyuan/issues/10470)
|
||||
* [Improve `Exit the application` UI on the mobile](https://github.com/siyuan-note/siyuan/issues/10473)
|
||||
* [Use filtering and sorting of current view settings when exporting database blocks](https://github.com/siyuan-note/siyuan/issues/10474)
|
||||
* [Improve doc tree expansion button scope on the mobile](https://github.com/siyuan-note/siyuan/issues/10477)
|
||||
* [Support hiding database table view title](https://github.com/siyuan-note/siyuan/issues/10478)
|
||||
* [Support taking photos for inserting on Android](https://github.com/siyuan-note/siyuan/issues/10479)
|
||||
* [Limit KaTex macro maximum recursive parsing depth is 16](https://github.com/siyuan-note/siyuan/issues/10484)
|
||||
* [Adding rows after setting the sort field in the database table view no longer fills in the default value](https://github.com/siyuan-note/siyuan/issues/10486)
|
||||
* [Update document reference count after deleting reference](https://github.com/siyuan-note/siyuan/issues/10487)
|
||||
|
||||
### Bugfix
|
||||
|
||||
* [Document title rename escape ref anchor text exception](https://github.com/siyuan-note/siyuan/issues/10458)
|
||||
* [Search type "Database" cannot be saved](https://github.com/siyuan-note/siyuan/issues/10462)
|
||||
* [Unable to search audio, video blocks by asset path](https://github.com/siyuan-note/siyuan/issues/10468)
|
||||
* [Unable to set up Azure OpenAI](https://github.com/siyuan-note/siyuan/issues/10469)
|
||||
* [Full screen editor in dialog box cannot drag window after Esc](https://github.com/siyuan-note/siyuan/issues/10475)
|
||||
* [Database table view sorts abnormally after deleting numeric values](https://github.com/siyuan-note/siyuan/issues/10476)
|
||||
* [Unexpected spacing on the right of the editing area after resizing Alt+O outline](https://github.com/siyuan-note/siyuan/issues/10500)
|
||||
|
||||
### Refactor
|
||||
|
||||
* [Downgrade Electron v28.2.4](https://github.com/siyuan-note/siyuan/issues/10463)
|
||||
|
||||
### Development
|
||||
|
||||
* [Add parameter `reloadUI` for kernel API `/api/block/transferBlockRef`](https://github.com/siyuan-note/siyuan/issues/10456)
|
||||
* [Database table view cell value adds `createdAt` and `updatedAt` fields](https://github.com/siyuan-note/siyuan/issues/10492)
|
||||
|
||||
## Download
|
||||
|
||||
* [B3log](https://b3log.org/siyuan/en/download.html)
|
||||
* [GitHub](https://github.com/siyuan-note/siyuan/releases)
|
50
app/changelogs/v3.0.2/v3.0.2_zh_CHT.md
Normal file
50
app/changelogs/v3.0.2/v3.0.2_zh_CHT.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
## 概述
|
||||
|
||||
此版本支援列出失效的區塊引用,行動端支援拍照並插入,資料庫日期欄位支援「相對於今天」過濾。
|
||||
|
||||
## 變更記錄
|
||||
|
||||
以下是此版本中的詳細變更。
|
||||
|
||||
### 改進功能
|
||||
|
||||
* [支援閃卡設定複習模式](https://github.com/siyuan-note/siyuan/issues/10303)
|
||||
* [顯示 Mermaid 錯誤日誌並降低渲染抖動](https://github.com/siyuan-note/siyuan/issues/10374)
|
||||
* [支援 F13-32 快捷鍵配置](https://github.com/siyuan-note/siyuan/issues/10375)
|
||||
* [`上方/下方新文件` 功能在筆記本等級自訂排序時可用](https://github.com/siyuan-note/siyuan/issues/10381)
|
||||
* [改進刪除作業後的遊標位置](https://github.com/siyuan-note/siyuan/issues/10389)
|
||||
* [改進分隔線下方空格刪除操作](https://github.com/siyuan-note/siyuan/issues/10393)
|
||||
* [改進資料庫建立列時彈出視窗的效能](https://github.com/siyuan-note/siyuan/issues/10394)
|
||||
* [浮窗中有選單時保持顯示](https://github.com/siyuan-note/siyuan/issues/10397)
|
||||
* [關閉所有編輯器後更新大綱](https://github.com/siyuan-note/siyuan/issues/10400)
|
||||
* [資料庫關聯欄位候選值不再受視圖過濾影響](https://github.com/siyuan-note/siyuan/issues/10411)
|
||||
* [改進資料庫表格視圖選擇列互動](https://github.com/siyuan-note/siyuan/issues/10421)
|
||||
* [遊標在行級工具列時不再觸發停靠列](https://github.com/siyuan-note/siyuan/issues/10427)
|
||||
* [改進行動端 `+` 選單](https://github.com/siyuan-note/siyuan/issues/10430)
|
||||
* [支援禁用清單項目圓點/數字點擊對焦](https://github.com/siyuan-note/siyuan/issues/10431)
|
||||
* [唯讀模式下顯示嵌入區塊刷新按鈕](https://github.com/siyuan-note/siyuan/issues/10432)
|
||||
* [資料庫表格檢視範本列支援讀取關聯、匯總、建立時間和更新時間列](https://github.com/siyuan-note/siyuan/issues/10442)
|
||||
* [改進建立資料庫後遊標焦點](https://github.com/siyuan-note/siyuan/issues/10444)
|
||||
|
||||
### 修復缺陷
|
||||
|
||||
* [無法設定 Azure OpenAI](https://github.com/siyuan-note/siyuan/issues/10390)
|
||||
* [行級元素 Markdown 編輯異常](https://github.com/siyuan-note/siyuan/issues/10391)
|
||||
* [匯出資料庫區塊時日期欄位未遵循結束時間開關設定](https://github.com/siyuan-note/siyuan/issues/10409)
|
||||
* [貼為純文字時出現程式碼](https://github.com/siyuan-note/siyuan/issues/10435)
|
||||
* [退出時關閉使用者指南但未關閉編輯器頁籤](https://github.com/siyuan-note/siyuan/issues/10441)
|
||||
|
||||
### 開發重構
|
||||
|
||||
* [升級 Electron v29.0.1](https://github.com/siyuan-note/siyuan/issues/10406)
|
||||
|
||||
### 開發者
|
||||
|
||||
* [改進內部核心 API `/api/attr/batchSetBlockAttrs`](https://github.com/siyuan-note/siyuan/issues/10401)
|
||||
* [新增內部核心 API `/api/riff/batchSetRiffCardsDueTime`](https://github.com/siyuan-note/siyuan/issues/10423)
|
||||
* [核心 API `/api/riff/getRiffCards` 新增參數 `pageSize`](https://github.com/siyuan-note/siyuan/issues/10445)
|
||||
|
||||
## 下載
|
||||
|
||||
* [B3log](https://b3log.org/siyuan/download.html)
|
||||
* [GitHub](https://github.com/siyuan-note/siyuan/releases)
|
49
app/changelogs/v3.0.2/v3.0.2_zh_CN.md
Normal file
49
app/changelogs/v3.0.2/v3.0.2_zh_CN.md
Normal file
|
@ -0,0 +1,49 @@
|
|||
## 概述
|
||||
|
||||
此版本支援列出失效的區塊引用,行動端支援拍照並插入,資料庫日期欄位支援「相對於今天」過濾。
|
||||
|
||||
## 變更記錄
|
||||
|
||||
以下是此版本中的詳細變更。
|
||||
|
||||
### 改進功能
|
||||
|
||||
* [支援在搜尋對話方塊中列出失效的區塊參考](https://github.com/siyuan-note/siyuan/issues/10396)
|
||||
* [資料庫區塊支援指定視圖](https://github.com/siyuan-note/siyuan/issues/10443)
|
||||
* [改進資料庫視圖切換](https://github.com/siyuan-note/siyuan/issues/10448)
|
||||
* [資料庫日期欄位支援相對於今天的過濾](https://github.com/siyuan-note/siyuan/issues/10451)
|
||||
* [在移動到選擇閃卡文件後不再彈出鍵盤](https://github.com/siyuan-note/siyuan/issues/10457)
|
||||
* [改良行動端橫屏時的閃卡複習介面](https://github.com/siyuan-note/siyuan/issues/10459)
|
||||
* [改進頁籤限制設定](https://github.com/siyuan-note/siyuan/issues/10470)
|
||||
* [改進行動端 `退出應用程式` 按鈕樣式](https://github.com/siyuan-note/siyuan/issues/10473)
|
||||
* [匯出資料庫區塊時使用目前視圖設定的篩選和排序](https://github.com/siyuan-note/siyuan/issues/10474)
|
||||
* [改進行動裝置文件樹展開按鈕區域](https://github.com/siyuan-note/siyuan/issues/10477)
|
||||
* [支援隱藏資料庫表格視圖標題](https://github.com/siyuan-note/siyuan/issues/10478)
|
||||
* [Android 端支援拍照插入圖片](https://github.com/siyuan-note/siyuan/issues/10479)
|
||||
* [限制 KaTex 巨集最大遞歸解析深度為 16](https://github.com/siyuan-note/siyuan/issues/10484)
|
||||
* [資料庫表格視圖存在過濾時新增行不再填入預設值](https://github.com/siyuan-note/siyuan/issues/10486)
|
||||
* [取消引用後自動刷新文件引用計數](https://github.com/siyuan-note/siyuan/issues/10487)
|
||||
|
||||
### 修復缺陷
|
||||
|
||||
* [文件標題重新命名導致錨文本轉義異常](https://github.com/siyuan-note/siyuan/issues/10458)
|
||||
* [搜尋類型 "資料庫" 無法儲存](https://github.com/siyuan-note/siyuan/issues/10462)
|
||||
* [無法透過路徑搜尋影片、音訊區塊](https://github.com/siyuan-note/siyuan/issues/10468)
|
||||
* [無法設定 Azure OpenAI](https://github.com/siyuan-note/siyuan/issues/10469)
|
||||
* [對話方塊中的全螢幕編輯器在 Esc 後無法拖曳視窗](https://github.com/siyuan-note/siyuan/issues/10475)
|
||||
* [資料庫表格視圖刪除數字值後排序異常](https://github.com/siyuan-note/siyuan/issues/10476)
|
||||
* [Alt+O 大綱大小拖曳後編輯器右側空白](https://github.com/siyuan-note/siyuan/issues/10500)
|
||||
|
||||
### 開發重構
|
||||
|
||||
* [降級 Electron v28.2.4](https://github.com/siyuan-note/siyuan/issues/10463)
|
||||
|
||||
### 開發者
|
||||
|
||||
* [核心 API `/api/block/transferBlockRef` 新增參數 `reloadUI`](https://github.com/siyuan-note/siyuan/issues/10456)
|
||||
* [資料庫表格視儲存格值新增 `createdAt` 和 `updatedAt` 欄位](https://github.com/siyuan-note/siyuan/issues/10492)
|
||||
|
||||
## 下載
|
||||
|
||||
* [B3log](https://b3log.org/siyuan/download.html)
|
||||
* [GitHub](https://github.com/siyuan-note/siyuan/releases)
|
|
@ -1346,6 +1346,12 @@ func (tx *Transaction) doRemoveAttrViewView(operation *Operation) (ret *TxErr) {
|
|||
index = 0
|
||||
}
|
||||
|
||||
attrView.ViewID = attrView.Views[index].ID
|
||||
if err = av.SaveAttributeView(attrView); nil != err {
|
||||
logging.LogErrorf("save attribute view [%s] failed: %s", avID, err)
|
||||
return &TxErr{code: TxErrCodeWriteTree, msg: err.Error(), id: avID}
|
||||
}
|
||||
|
||||
mirrorBlocks := av.GetMirrorBlockIDs(avID)
|
||||
mirrorBlockTree := map[string]*parse.Tree{}
|
||||
trees := map[string]*parse.Tree{}
|
||||
|
@ -1398,12 +1404,6 @@ func (tx *Transaction) doRemoveAttrViewView(operation *Operation) (ret *TxErr) {
|
|||
return
|
||||
}
|
||||
}
|
||||
|
||||
attrView.ViewID = attrView.Views[index].ID
|
||||
if err = av.SaveAttributeView(attrView); nil != err {
|
||||
logging.LogErrorf("save attribute view [%s] failed: %s", avID, err)
|
||||
return &TxErr{code: TxErrCodeWriteTree, msg: err.Error(), id: avID}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue