feat: add update availability filter to model list

Add a new filter option to show only models with available updates across all supported languages. This includes:

- Adding "updates" filter translations in all locale files (de, en, es, fr, he, ja, ko)
- Extending BaseModelApiClient to handle update_available_only query parameter
- Implementing update filter button in PageControls component with event listeners
- Adding corresponding CSS styles for active filter state

The feature allows users to quickly identify and focus on models that have updates available, improving the update management workflow.
This commit is contained in:
Will Miao
2025-10-29 07:32:53 +08:00
parent 7770976513
commit b10bcf7e78
20 changed files with 300 additions and 98 deletions

View File

@@ -432,6 +432,10 @@
"favorites": {
"title": "Nur Favoriten anzeigen",
"action": "Favoriten"
},
"updates": {
"title": "Nur Modelle mit verfügbaren Updates anzeigen",
"action": "Updates"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "Show Favorites Only",
"action": "Favorites"
},
"updates": {
"title": "Show models with updates available",
"action": "Updates"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "Mostrar solo favoritos",
"action": "Favoritos"
},
"updates": {
"title": "Mostrar solo modelos con actualizaciones disponibles",
"action": "Actualizaciones"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "Afficher uniquement les favoris",
"action": "Favoris"
},
"updates": {
"title": "Afficher uniquement les modèles avec des mises à jour disponibles",
"action": "Mises à jour"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "הצג מועדפים בלבד",
"action": "מועדפים"
},
"updates": {
"title": "הצג רק דגמים עם עדכונים זמינים",
"action": "עדכונים"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "お気に入りのみ表示",
"action": "お気に入り"
},
"updates": {
"title": "アップデート可能なモデルのみ表示",
"action": "アップデート"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "즐겨찾기만 보기",
"action": "즐겨찾기"
},
"updates": {
"title": "업데이트 가능한 모델만 표시",
"action": "업데이트"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "Показать только избранное",
"action": "Избранное"
},
"updates": {
"title": "Показывать только модели с доступными обновлениями",
"action": "Обновления"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "仅显示收藏",
"action": "收藏"
},
"updates": {
"title": "仅显示可用更新的模型",
"action": "更新"
}
},
"bulkOperations": {

View File

@@ -431,6 +431,10 @@
"favorites": {
"title": "僅顯示收藏",
"action": "收藏"
},
"updates": {
"title": "僅顯示可用更新的模型",
"action": "更新"
}
},
"bulkOperations": {