From b63b5aa5a91db43e3eb96f82f414c59968d9f5e5 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 16 May 2023 20:49:32 +0800 Subject: [PATCH 1/2] :art: Update global search timing tip --- app/appearance/langs/en_US.json | 2 +- app/appearance/langs/es_ES.json | 2 +- app/appearance/langs/fr_FR.json | 2 +- app/appearance/langs/zh_CHT.json | 2 +- app/appearance/langs/zh_CN.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 46918d36f..7678419c1 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1136,7 +1136,7 @@ "197": "Currently the editor is in read-only mode. If you need to edit content, please switch to edit mode", "198": "This is not a valid Data archive. If the archive was exported from [Doc tree], please import it from [Doc tree]", "199": "This is not a valid .sy.zip archive. If the archive was exported from [Settings], please import it from [Settings]", - "200": "The response time of the global search is slow. It is recommended to adjust [Settings - Search - Number of search results displayed] to 64 or a smaller value. For more suggestions, please refer to the performance optimization chapter of the user guide", + "200": "Global search response time is slow, it is recommended to add type filtering or keywords to narrow the search scope", "201": "Failed to purge data repo: %s", "202": "Cleaning data repo...", "203": "The data repo is purged, [%d] snapshots and [%d] data objects have been deleted, and a total of [%s] disk space has been released" diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index d08620b21..50000e67b 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1136,7 +1136,7 @@ "197": "Actualmente, el editor se encuentra en modo de solo lectura. Si necesita editar contenido, cambie al modo de edición", "198": "Este no es un archivo data.zip válido. Si el archivo se exportó de [Árbol de documentos], importalo de [Árbol de documentos]", "199": "Este no es un archivo .sy.zip válido. Si el archivo se exportó desde [Configuración], impórtelo desde [Configuración]", - "200": "El tiempo de respuesta de la búsqueda global es lento. Se recomienda ajustar [Configuración - Búsqueda - Número de resultados de búsqueda mostrados] a 64 o un valor menor. Para obtener más sugerencias, consulte el capítulo de optimización del rendimiento de la guía del usuario", + "200": "El tiempo de respuesta de b\u00fasqueda global es lento, se recomienda agregar filtros de tipo o palabras clave para reducir el alcance de b\u00fasqueda", "201": "Error al purgar el repositorio de datos: %s", "202": "Limpiando repositorio de datos...", "203": "El repositorio de datos se purgó, [%d] instantáneas y [%d] objetos de datos se eliminaron y se liberó un total de [%s] espacio en disco" diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index ec279a753..d76a678ec 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1136,7 +1136,7 @@ "197": "Actuellement, l'éditeur est en mode lecture seule. Si vous devez modifier le contenu, veuillez passer en mode édition", "198": "Ceci n'est pas une archive data.zip valide. Si l'archive a été exportée depuis [Doc tree], veuillez l'importer depuis [Doc tree]", "199": "Ceci n'est pas une archive .sy.zip valide. Si l'archive a été exportée depuis [Paramètres], veuillez l'importer depuis [Paramètres]", - "200": "Le temps de réponse de la recherche globale est lent. Il est recommandé d'ajuster [Paramètres - Recherche - Nombre de résultats de recherche affichés] à 64 ou à une valeur inférieure. Pour plus de suggestions, veuillez vous référer au chapitre sur l'optimisation des performances de la notice", + "200": "Le temps de réponse de la recherche globale est lent, il est recommandé d'ajouter un filtrage de type ou des mots-clés pour restreindre la portée de la recherche", "201": "Échec de la purge du référentiel de données : %s", "202": "Nettoyage du référentiel de données...", "203": "Le référentiel de données est purgé, [%d] instantanés et [%d] objets de données ont été supprimés, et un total de [%s] espace disque a été libéré" diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index bdac7664d..5fda94e17 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1136,7 +1136,7 @@ "197": "目前編輯器正處於只讀模式狀態,如果需要編輯內容,請切換到編輯模式", "198": "這不是一個有效的 Data 壓縮包。如果該數據包是從 [文檔樹] 導出的,請從 [文檔樹] 導入", "199": "這不是一個有效的 .sy.zip 壓縮包。如果該數據包是從 [設置] 中導出的,請從 [設置] 中導入", - "200": "全局搜索響應時間較慢,建議將 [設置 - 搜索 - 搜索結果顯示數] 調整為 64 或更小的值,更多建議請參考用戶指南性能優化章節", + "200": "全局搜索響應時間較慢,建議增加類型過濾或者增加關鍵字以縮小搜索範圍", "201": "清理數據倉庫失敗:%s", "202": "正在清理數據倉庫...", "203": "數據倉庫清理完畢,已刪除 [%d] 個快照和 [%d] 個數據對象,共釋放 [%s] 磁盤空間" diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index dda4f102a..7451dfdb2 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1138,7 +1138,7 @@ "197": "目前编辑器正处于只读模式状态,如果需要编辑内容,请切换到编辑模式", "198": "这不是一个有效的 Data 压缩包。如果该数据包是从 [文档树] 导出的,请从 [文档树] 导入", "199": "这不是一个有效的 .sy.zip 压缩包。如果该数据包是从 [设置] 中导出的,请从 [设置] 中导入", - "200": "全局搜索响应时间较慢,建议将 [设置 - 搜索 - 搜索结果显示数] 调整为 64 或更小的值,更多建议请参考用户指南性能优化章节", + "200": "全局搜索响应时间较慢,建议增加类型过滤或者增加关键字以缩小搜索范围", "201": "清理数据仓库失败:%s", "202": "正在清理数据仓库...", "203": "数据仓库清理完毕,已删除 [%d] 个快照和 [%d] 个数据对象,共释放 [%s] 磁盘空间" From 3fc5cd6dc3586f64a990ec6961b9ea175a28b943 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 16 May 2023 20:49:43 +0800 Subject: [PATCH 2/2] :arrow_up: Upgrade kernel deps --- kernel/go.mod | 2 +- kernel/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/go.mod b/kernel/go.mod index aec46e6ec..15b715d21 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -50,7 +50,7 @@ require ( github.com/siyuan-note/filelock v0.0.0-20230501032014-b981a05568ef github.com/siyuan-note/httpclient v0.0.0-20230501032226-9e9018416f53 github.com/siyuan-note/logging v0.0.0-20230327073243-ebe83aec1493 - github.com/siyuan-note/riff v0.0.0-20230508133423-21cd63a7ef20 + github.com/siyuan-note/riff v0.0.0-20230516073320-b440b8feaabd github.com/steambap/captcha v1.4.1 github.com/studio-b12/gowebdav v0.0.0-20230203202212-3282f94193f2 github.com/vmihailenco/msgpack/v5 v5.3.5 diff --git a/kernel/go.sum b/kernel/go.sum index 2dece969e..eadbb344d 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -295,8 +295,8 @@ github.com/siyuan-note/httpclient v0.0.0-20230501032226-9e9018416f53 h1:CXYTR4Qh github.com/siyuan-note/httpclient v0.0.0-20230501032226-9e9018416f53/go.mod h1:S/pXlPZYCJTOZjmdmQyVga//24x3XEM+MG8vIYO26gw= github.com/siyuan-note/logging v0.0.0-20230327073243-ebe83aec1493 h1:oaN5b0WDFkjdBgGxmmBnMrtZxaJ76LZLwhQSZnznJMI= github.com/siyuan-note/logging v0.0.0-20230327073243-ebe83aec1493/go.mod h1:6mRFtAAvYPn3cDzqvyv+t8BVPGqpONDMMb5ywOhY1D4= -github.com/siyuan-note/riff v0.0.0-20230508133423-21cd63a7ef20 h1:p3jeBOabPCMwbmivIC/JKbtW2iwqUJOlYKqQf5pvx8w= -github.com/siyuan-note/riff v0.0.0-20230508133423-21cd63a7ef20/go.mod h1:XJtLlKCr8cZE+lzykM4edHHih92M9M50UNw/nDLYRN8= +github.com/siyuan-note/riff v0.0.0-20230516073320-b440b8feaabd h1:mBNAqQ7B9cA+tpyoE0gActVP690unEkJMdb1L48olaI= +github.com/siyuan-note/riff v0.0.0-20230516073320-b440b8feaabd/go.mod h1:VZ2C485pcV1Uz89lq2DDBgoxmFp7dFC7FEyA+55Robs= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.7 h1:I6tZjLXD2Q1kjvNbIzB1wvQBsXmKXiVrhpRE8ZjP5jY=