From 66fee469f86720567ee06ac6c9877322131d4142 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 3 Jul 2025 15:52:55 +0800 Subject: [PATCH 1/3] :art: Improve av --- kernel/av/av.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel/av/av.go b/kernel/av/av.go index 9b534fc5e..e7a33db14 100644 --- a/kernel/av/av.go +++ b/kernel/av/av.go @@ -217,6 +217,9 @@ func NewTableView() (ret *View) { ret = &View{ ID: ast.NewNodeID(), Name: GetAttributeViewI18n("table"), + Filters: []*ViewFilter{}, + Sorts: []*ViewSort{}, + PageSize: ViewDefaultPageSize, LayoutType: LayoutTypeTable, Table: NewLayoutTable(), } @@ -228,8 +231,11 @@ func NewTableViewWithBlockKey(blockKeyID string) (view *View, blockKey, selectKe view = &View{ ID: ast.NewNodeID(), Name: name, + Filters: []*ViewFilter{}, + Sorts: []*ViewSort{}, LayoutType: LayoutTypeTable, Table: NewLayoutTable(), + PageSize: ViewDefaultPageSize, } blockKey = NewKey(blockKeyID, GetAttributeViewI18n("key"), "", KeyTypeBlock) view.Table.Columns = []*ViewTableColumn{{BaseField: &BaseField{ID: blockKeyID}}} From f516b2ec1759857c7859232efa82dd0fba4b38f9 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 3 Jul 2025 20:53:08 +0800 Subject: [PATCH 2/3] :memo: Update README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 不知道为什么 producthunt 把 SiYuan 这个 Product 弄没了,那就算了吧…… --- README.md | 2 -- README_ja_JP.md | 2 -- README_zh_CN.md | 2 -- 3 files changed, 6 deletions(-) diff --git a/README.md b/README.md index 9bfec5dd3..b990edc86 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,6 @@ Chat on Discord

siyuan-note%2Fsiyuan | Trendshift -

-SiYuan - A privacy-first personal knowledge management software | Product Hunt

diff --git a/README_ja_JP.md b/README_ja_JP.md index 58f6f293b..56eb6650c 100644 --- a/README_ja_JP.md +++ b/README_ja_JP.md @@ -22,8 +22,6 @@ Chat on Discord

siyuan-note%2Fsiyuan | Trendshift -

-SiYuan - A privacy-first personal knowledge management software | Product Hunt

diff --git a/README_zh_CN.md b/README_zh_CN.md index 95f94b1b3..16e5c75e8 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -22,8 +22,6 @@ Chat on Discord

siyuan-note%2Fsiyuan | Trendshift -

-SiYuan - A privacy-first personal knowledge management software | Product Hunt

From e88a45eaafa0aed77ce988225b749a3eeaa269c0 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 3 Jul 2025 21:36:27 +0800 Subject: [PATCH 3/3] :art: Improve database gallery view card right click menu https://github.com/siyuan-note/siyuan/issues/15210 --- app/appearance/langs/ar_SA.json | 6 ++++-- app/appearance/langs/de_DE.json | 6 ++++-- app/appearance/langs/en_US.json | 6 ++++-- app/appearance/langs/es_ES.json | 6 ++++-- app/appearance/langs/fr_FR.json | 6 ++++-- app/appearance/langs/he_IL.json | 6 ++++-- app/appearance/langs/it_IT.json | 6 ++++-- app/appearance/langs/ja_JP.json | 6 ++++-- app/appearance/langs/pl_PL.json | 6 ++++-- app/appearance/langs/pt_BR.json | 6 ++++-- app/appearance/langs/ru_RU.json | 6 ++++-- app/appearance/langs/zh_CHT.json | 2 ++ app/appearance/langs/zh_CN.json | 2 ++ 13 files changed, 48 insertions(+), 22 deletions(-) diff --git a/app/appearance/langs/ar_SA.json b/app/appearance/langs/ar_SA.json index 63239e876..98ba31de5 100644 --- a/app/appearance/langs/ar_SA.json +++ b/app/appearance/langs/ar_SA.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "إدراج ${x} عنصر(عناصر) قبل", + "insertItemAfter": "إدراج ${x} عنصر(عناصر) بعد", "allViews": "جميع العروض", "copyAVID": "نسخ معرف قاعدة البيانات", "hideEmptyFields": "إخفاء الحقول الفارغة", @@ -113,8 +115,8 @@ "updateAll": "تحديث الكل", "confirmUpdateAll": "هل أنت متأكد أنك تريد تحديث الكل؟", "confirmUpdate": "هل أنت متأكد من أنك تريد التحديث؟", - "insertRowBefore": "‫إدراج ${x} صف/صفوف أعلاه‬", - "insertRowAfter": "‫إدراج ${x} صف/صفوف أدناه‬", + "insertRowBefore": "إدراج ${x} صف(وف) أعلاه", + "insertRowAfter": "إدراج ${x} صف(وف) أدناه", "setDueTime": "تحديد وقت انتهاء الصلاحية", "showCardDay": "بعد كم من الأيام تريد إظهار البطاقة؟", "forgetCount": "مرات النسيان", diff --git a/app/appearance/langs/de_DE.json b/app/appearance/langs/de_DE.json index dc6316425..6a3dfa1d8 100644 --- a/app/appearance/langs/de_DE.json +++ b/app/appearance/langs/de_DE.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "${x} Element(e) davor einfügen", + "insertItemAfter": "${x} Element(e) danach einfügen", "allViews": "Alle Ansichten", "copyAVID": "Datenbank-ID kopieren", "hideEmptyFields": "Leere Felder ausblenden", @@ -113,8 +115,8 @@ "updateAll": "Alle aktualisieren", "confirmUpdateAll": "Sind Sie sicher, dass Sie alles aktualisieren möchten?", "confirmUpdate": "Sind Sie sicher, dass Sie aktualisieren möchten?", - "insertRowBefore": "Reihen ${x} darüber einfügen", - "insertRowAfter": "Reihen ${x} darunter einfügen", + "insertRowBefore": "${x} Zeile(n) oben einfügen", + "insertRowAfter": "${x} Zeile(n) unten einfügen", "setDueTime": "Fälligkeitszeit setzen", "showCardDay": "Nach wie vielen Tagen möchten Sie die Karte anzeigen?", "forgetCount": "Vergessen zu zählen", diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 0267dd052..98569b49e 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "Insert ${x} item(s) before", + "insertItemAfter": "Insert ${x} item(s) after", "allViews": "All views", "copyAVID": "Copy database ID", "hideEmptyFields": "Hide empty fields", @@ -113,8 +115,8 @@ "updateAll": "Update all", "confirmUpdateAll": "Are you sure you want to update all?", "confirmUpdate": "Are you sure you want to update?", - "insertRowBefore": "Insert rows ${x} above", - "insertRowAfter": "Insert rows ${x} below", + "insertRowBefore": "Insert ${x} row(s) above", + "insertRowAfter": "Insert ${x} row(s) below", "setDueTime": "Set expiration time", "showCardDay": "After how many days do you want to show the card?", "forgetCount": "Forget to count", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 6205da53f..8db9b43fe 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "Insertar ${x} elemento(s) antes", + "insertItemAfter": "Insertar ${x} elemento(s) después", "allViews": "Todas las vistas", "copyAVID": "Copiar ID de la base de datos", "hideEmptyFields": "Ocultar campos vacíos", @@ -113,8 +115,8 @@ "updateAll": "Actualizar todo", "confirmUpdateAll": "¿Estás seguro de que deseas actualizar todo?", "confirmUpdate": "¿Estás seguro de que deseas actualizar?", - "insertRowBefore": "Insertar filas ${x} arriba", - "insertRowAfter": "Insertar filas ${x} debajo", + "insertRowBefore": "Insertar ${x} fila(s) arriba", + "insertRowAfter": "Insertar ${x} fila(s) abajo", "setDueTime": "Establecer tiempo de vencimiento", "showCardDay": "¿Después de cuántos días deseas mostrar la tarjeta?", "forgetCount": "Olvídate de contar", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 36d37af1d..e9f9a5c90 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "Insérer ${x} élément(s) avant", + "insertItemAfter": "Insérer ${x} élément(s) après", "allViews": "Toutes les vues", "copyAVID": "Copier l'ID de la base de données", "hideEmptyFields": "Masquer les champs vides", @@ -113,8 +115,8 @@ "updateAll": "Tout mettre à jour", "confirmUpdateAll": "Etes-vous sûr de vouloir tout mettre à jour ?", "confirmUpdate": "Êtes-vous sûr de vouloir mettre à jour ?", - "insertRowBefore": "Insérer les lignes ${x} ci-dessus", - "insertRowAfter": "Insérer les lignes ${x} ci-dessous", + "insertRowBefore": "Insérer ${x} ligne(s) au-dessus", + "insertRowAfter": "Insérer ${x} ligne(s) en dessous", "setDueTime": "Définir le délai d'expiration", "showCardDay": "Après combien de jours souhaitez-vous montrer la carte ?", "forgetCount": "Oublier de compter", diff --git a/app/appearance/langs/he_IL.json b/app/appearance/langs/he_IL.json index 5999ecdf1..07754caa8 100644 --- a/app/appearance/langs/he_IL.json +++ b/app/appearance/langs/he_IL.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "הוסף ${x} פריט(ים) לפני", + "insertItemAfter": "הוסף ${x} פריט(ים) אחרי", "allViews": "כל התצוגות", "copyAVID": "העתק את מזהה מסד הנתונים", "hideEmptyFields": "הסתר שדות ריקים", @@ -113,8 +115,8 @@ "updateAll": "עדכן הכל", "confirmUpdateAll": "האם אתה בטוח שברצונך לעדכן את הכל?", "confirmUpdate": "האם אתה בטוח שברצונך לעדכן?", - "insertRowBefore": "הכנס שורות ${x} מעל", - "insertRowAfter": "הכנס שורות ${x} מתחת", + "insertRowBefore": "הוסף ${x} שורה(ות) מעל", + "insertRowAfter": "הוסף ${x} שורה(ות) מתחת", "setDueTime": "קבע זמן תפוגה", "showCardDay": "לאחר כמה ימים אתה רוצה להראות את הכרטיס?", "forgetCount": "שכח לספור", diff --git a/app/appearance/langs/it_IT.json b/app/appearance/langs/it_IT.json index 99fa12d2e..fbb9104e8 100644 --- a/app/appearance/langs/it_IT.json +++ b/app/appearance/langs/it_IT.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "Inserisci ${x} elemento(i) prima", + "insertItemAfter": "Inserisci ${x} elemento(i) dopo", "allViews": "Tutte le viste", "copyAVID": "Copia ID del database", "hideEmptyFields": "Nascondi campi vuoti", @@ -113,8 +115,8 @@ "updateAll": "Aggiorna tutto", "confirmUpdateAll": "Sei sicuro di voler aggiornare tutto?", "confirmUpdate": "Sei sicuro di voler aggiornare?", - "insertRowBefore": "Inserisci righe ${x} sopra", - "insertRowAfter": "Inserisci righe ${x} sotto", + "insertRowBefore": "Inserisci ${x} riga(e) sopra", + "insertRowAfter": "Inserisci ${x} riga(e) sotto", "setDueTime": "Imposta tempo di scadenza", "showCardDay": "Dopo quanti giorni vuoi mostrare la carta?", "forgetCount": "Conteggio dimenticanze", diff --git a/app/appearance/langs/ja_JP.json b/app/appearance/langs/ja_JP.json index dbf894ae8..e21ed06a8 100644 --- a/app/appearance/langs/ja_JP.json +++ b/app/appearance/langs/ja_JP.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "${x}項目を前に挿入", + "insertItemAfter": "${x}項目を後に挿入", "allViews": "すべてのビュー", "copyAVID": "データベース ID をコピー", "hideEmptyFields": "空のフィールドを非表示", @@ -113,8 +115,8 @@ "updateAll": "すべて更新", "confirmUpdateAll": "すべて更新してもよろしいですか?", "confirmUpdate": "更新してもよろしいですか?", - "insertRowBefore": "上に ${x} 行を挿入", - "insertRowAfter": "下に ${x} 行を挿入", + "insertRowBefore": "${x}行を上に挿入", + "insertRowAfter": "${x}行を下に挿入", "setDueTime": "期限を設定", "showCardDay": "何日後にカードを表示しますか?", "forgetCount": "忘れた回数", diff --git a/app/appearance/langs/pl_PL.json b/app/appearance/langs/pl_PL.json index e9edb7326..d627a1634 100644 --- a/app/appearance/langs/pl_PL.json +++ b/app/appearance/langs/pl_PL.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "Wstaw ${x} element(y) przed", + "insertItemAfter": "Wstaw ${x} element(y) po", "allViews": "Wszystkie widoki", "copyAVID": "Skopiuj ID bazy danych", "hideEmptyFields": "Ukryj puste pola", @@ -113,8 +115,8 @@ "updateAll": "Zaktualizuj wszystko", "confirmUpdateAll": "Czy na pewno chcesz zaktualizować wszystko?", "confirmUpdate": "Czy jesteś pewny, że chcesz to zaktualizować?", - "insertRowBefore": "Wstaw wiersze ${x} powyżej", - "insertRowAfter": "Wstaw wiersze ${x} poniżej", + "insertRowBefore": "Wstaw ${x} wiersz(e) powyżej", + "insertRowAfter": "Wstaw ${x} wiersz(e) poniżej", "setDueTime": "Ustaw czas wygaśnięcia", "showCardDay": "Po ilu dniach chcesz pokazać kartę?", "forgetCount": "Zapamiętaj liczbę", diff --git a/app/appearance/langs/pt_BR.json b/app/appearance/langs/pt_BR.json index bb91216d1..1cc73aab9 100644 --- a/app/appearance/langs/pt_BR.json +++ b/app/appearance/langs/pt_BR.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "Inserir ${x} item(ns) antes", + "insertItemAfter": "Inserir ${x} item(ns) depois", "allViews": "Todas as visualizações", "copyAVID": "Copiar ID do banco de dados", "hideEmptyFields": "Ocultar campos vazios", @@ -113,8 +115,8 @@ "updateAll": "Atualizar tudo", "confirmUpdateAll": "Tem certeza que deseja atualizar tudo?", "confirmUpdate": "Tem certeza que deseja atualizar?", - "insertRowBefore": "Inserir linhas ${x} acima", - "insertRowAfter": "Inserir linhas ${x} abaixo", + "insertRowBefore": "Inserir ${x} linha(s) acima", + "insertRowAfter": "Inserir ${x} linha(s) abaixo", "setDueTime": "Definir hora de expiração", "showCardDay": "Depois de quantos dias você quer mostrar o cartão?", "forgetCount": "Contagem de esquecimento", diff --git a/app/appearance/langs/ru_RU.json b/app/appearance/langs/ru_RU.json index 2d0cf3ba8..651c105b6 100644 --- a/app/appearance/langs/ru_RU.json +++ b/app/appearance/langs/ru_RU.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "Вставить ${x} элемент(ов) перед", + "insertItemAfter": "Вставить ${x} элемент(ов) после", "allViews": "Все виды", "copyAVID": "Копировать ID базы данных", "hideEmptyFields": "Скрыть пустые поля", @@ -113,8 +115,8 @@ "updateAll": "Обновить все", "confirmUpdateAll": "Вы уверены, что хотите обновить все?", "confirmUpdate": "Вы уверены, что хотите обновить?", - "insertRowBefore": "Вставить строки ${x} выше", - "insertRowAfter": "Вставить строки ${x} ниже", + "insertRowBefore": "Вставить ${x} строк(и) выше", + "insertRowAfter": "Вставить ${x} строк(и) ниже", "setDueTime": "Установить время истечения", "showCardDay": "Через сколько дней вы хотите показать карточку?", "forgetCount": "Забудьте считать", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index eff81223c..a49236a10 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "在前方插入${x}條", + "insertItemAfter": "在後方插入${x}條", "allViews": "所有視圖", "copyAVID": "複製資料庫 ID", "hideEmptyFields": "隱藏空字段", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 6a6e314cf..16dc3efc6 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1,4 +1,6 @@ { + "insertItemBefore": "在前方插入${x}条", + "insertItemAfter": "在后方插入${x}条", "allViews": "所有视图", "copyAVID": "复制数据库 ID", "hideEmptyFields": "隐藏空字段",