@cat-factory/app 0.116.8 → 0.116.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/components/github/AddServiceFromRepoModal.vue +12 -0
- package/i18n/locales/de.json +1 -0
- package/i18n/locales/en.json +1 -0
- package/i18n/locales/es.json +1 -0
- package/i18n/locales/fr.json +1 -0
- package/i18n/locales/he.json +1 -0
- package/i18n/locales/it.json +1 -0
- package/i18n/locales/ja.json +1 -0
- package/i18n/locales/pl.json +1 -0
- package/i18n/locales/tr.json +1 -0
- package/i18n/locales/uk.json +1 -0
- package/package.json +2 -2
|
@@ -255,6 +255,16 @@ const canAddServices = computed(
|
|
|
255
255
|
selectedDirectories.value.length > 0,
|
|
256
256
|
)
|
|
257
257
|
|
|
258
|
+
// Directories the user has picked but NOT yet committed via "Add N services". Closing the
|
|
259
|
+
// modal ("Done") would silently discard them — almost never what the user wants — so the
|
|
260
|
+
// footer's Done is disabled while any remain (see the template). Filtered against the
|
|
261
|
+
// already-added set for parity with `addServices`, so a stale cart entry can't block Done.
|
|
262
|
+
const hasPendingSelection = computed(
|
|
263
|
+
() =>
|
|
264
|
+
isMonorepo.value &&
|
|
265
|
+
selectedDirectories.value.some((d) => !addedDirSet.value.has(normalizeRepoPath(d))),
|
|
266
|
+
)
|
|
267
|
+
|
|
258
268
|
async function add() {
|
|
259
269
|
if (!canAdd.value || selectedRepoId.value === undefined) return
|
|
260
270
|
adding.value = true
|
|
@@ -527,6 +537,8 @@ function done() {
|
|
|
527
537
|
color="neutral"
|
|
528
538
|
variant="soft"
|
|
529
539
|
size="sm"
|
|
540
|
+
:disabled="hasPendingSelection"
|
|
541
|
+
:title="hasPendingSelection ? t('github.addService.donePendingHint') : undefined"
|
|
530
542
|
@click="done"
|
|
531
543
|
>
|
|
532
544
|
{{ t('github.addService.done') }}
|
package/i18n/locales/de.json
CHANGED
|
@@ -2533,6 +2533,7 @@
|
|
|
2533
2533
|
"grantAccessTitle": "Öffnen Sie die Installationseinstellungen der App, um ihr Zugriff auf ein Repository zu gewähren",
|
|
2534
2534
|
"refreshList": "Liste aktualisieren",
|
|
2535
2535
|
"done": "Fertig",
|
|
2536
|
+
"donePendingHint": "Füge zuerst die ausgewählten Services hinzu oder hebe die Auswahl auf – sonst werden diese Auswahlen verworfen.",
|
|
2536
2537
|
"add": "Service hinzufügen",
|
|
2537
2538
|
"toast": {
|
|
2538
2539
|
"addedTitle": "Service hinzugefügt",
|
package/i18n/locales/en.json
CHANGED
|
@@ -2996,6 +2996,7 @@
|
|
|
2996
2996
|
"grantAccessTitle": "Open the App's installation settings to grant it access to a repository",
|
|
2997
2997
|
"refreshList": "Refresh list",
|
|
2998
2998
|
"done": "Done",
|
|
2999
|
+
"donePendingHint": "Add your selected services first, or clear the selection — otherwise those picks are discarded.",
|
|
2999
3000
|
"add": "Add service",
|
|
3000
3001
|
"toast": {
|
|
3001
3002
|
"addedTitle": "Service added",
|
package/i18n/locales/es.json
CHANGED
|
@@ -2904,6 +2904,7 @@
|
|
|
2904
2904
|
"grantAccessTitle": "Abrir la configuración de instalación de la App para concederle acceso a un repositorio",
|
|
2905
2905
|
"refreshList": "Actualizar lista",
|
|
2906
2906
|
"done": "Listo",
|
|
2907
|
+
"donePendingHint": "Añade primero los servicios seleccionados o borra la selección; de lo contrario, esas elecciones se descartan.",
|
|
2907
2908
|
"add": "Añadir servicio",
|
|
2908
2909
|
"toast": {
|
|
2909
2910
|
"addedTitle": "Servicio añadido",
|
package/i18n/locales/fr.json
CHANGED
|
@@ -2904,6 +2904,7 @@
|
|
|
2904
2904
|
"grantAccessTitle": "Ouvrir les paramètres d'installation de l'App pour lui accorder l'accès à un dépôt",
|
|
2905
2905
|
"refreshList": "Actualiser la liste",
|
|
2906
2906
|
"done": "Terminé",
|
|
2907
|
+
"donePendingHint": "Ajoutez d'abord les services sélectionnés ou effacez la sélection, sinon ces choix seront perdus.",
|
|
2907
2908
|
"add": "Ajouter le service",
|
|
2908
2909
|
"toast": {
|
|
2909
2910
|
"addedTitle": "Service ajouté",
|
package/i18n/locales/he.json
CHANGED
|
@@ -2915,6 +2915,7 @@
|
|
|
2915
2915
|
"grantAccessTitle": "פתח את הגדרות ההתקנה של האפליקציה כדי להעניק לה גישה למאגר",
|
|
2916
2916
|
"refreshList": "רענן רשימה",
|
|
2917
2917
|
"done": "סיום",
|
|
2918
|
+
"donePendingHint": "הוסף תחילה את השירותים שנבחרו או נקה את הבחירה — אחרת בחירות אלה יימחקו.",
|
|
2918
2919
|
"add": "הוסף שירות",
|
|
2919
2920
|
"toast": {
|
|
2920
2921
|
"addedTitle": "השירות נוסף",
|
package/i18n/locales/it.json
CHANGED
|
@@ -2533,6 +2533,7 @@
|
|
|
2533
2533
|
"grantAccessTitle": "Apri le impostazioni di installazione della App per concederle l'accesso a un repository",
|
|
2534
2534
|
"refreshList": "Aggiorna l'elenco",
|
|
2535
2535
|
"done": "Fatto",
|
|
2536
|
+
"donePendingHint": "Aggiungi prima i servizi selezionati oppure annulla la selezione, altrimenti quelle scelte andranno perse.",
|
|
2536
2537
|
"add": "Aggiungi servizio",
|
|
2537
2538
|
"toast": {
|
|
2538
2539
|
"addedTitle": "Servizio aggiunto",
|
package/i18n/locales/ja.json
CHANGED
|
@@ -2916,6 +2916,7 @@
|
|
|
2916
2916
|
"grantAccessTitle": "Appのインストール設定を開いて、リポジトリへのアクセス権を付与します",
|
|
2917
2917
|
"refreshList": "リストを更新",
|
|
2918
2918
|
"done": "完了",
|
|
2919
|
+
"donePendingHint": "先に選択したサービスを追加するか、選択を解除してください。そうしないと、その選択は破棄されます。",
|
|
2919
2920
|
"add": "サービスを追加",
|
|
2920
2921
|
"toast": {
|
|
2921
2922
|
"addedTitle": "サービスを追加しました",
|
package/i18n/locales/pl.json
CHANGED
|
@@ -2904,6 +2904,7 @@
|
|
|
2904
2904
|
"grantAccessTitle": "Otwórz ustawienia instalacji aplikacji, aby przyznać jej dostęp do repozytorium",
|
|
2905
2905
|
"refreshList": "Odśwież listę",
|
|
2906
2906
|
"done": "Gotowe",
|
|
2907
|
+
"donePendingHint": "Najpierw dodaj wybrane usługi albo wyczyść zaznaczenie — w przeciwnym razie te wybory zostaną odrzucone.",
|
|
2907
2908
|
"add": "Dodaj usługę",
|
|
2908
2909
|
"toast": {
|
|
2909
2910
|
"addedTitle": "Dodano usługę",
|
package/i18n/locales/tr.json
CHANGED
|
@@ -2916,6 +2916,7 @@
|
|
|
2916
2916
|
"grantAccessTitle": "App'e bir depoya erişim vermek için kurulum ayarlarını açın",
|
|
2917
2917
|
"refreshList": "Listeyi yenile",
|
|
2918
2918
|
"done": "Tamam",
|
|
2919
|
+
"donePendingHint": "Önce seçtiğiniz servisleri ekleyin ya da seçimi temizleyin; aksi halde bu seçimler atılır.",
|
|
2919
2920
|
"add": "Servis ekle",
|
|
2920
2921
|
"toast": {
|
|
2921
2922
|
"addedTitle": "Servis eklendi",
|
package/i18n/locales/uk.json
CHANGED
|
@@ -2904,6 +2904,7 @@
|
|
|
2904
2904
|
"grantAccessTitle": "Відкрити налаштування встановлення застосунку, щоб надати йому доступ до репозиторію",
|
|
2905
2905
|
"refreshList": "Оновити список",
|
|
2906
2906
|
"done": "Готово",
|
|
2907
|
+
"donePendingHint": "Спершу додайте вибрані сервіси або очистіть вибір — інакше ці позначення буде відкинуто.",
|
|
2907
2908
|
"add": "Додати сервіс",
|
|
2908
2909
|
"toast": {
|
|
2909
2910
|
"addedTitle": "Сервіс додано",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/app",
|
|
3
|
-
"version": "0.116.
|
|
3
|
+
"version": "0.116.10",
|
|
4
4
|
"description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"valibot": "^1.4.2",
|
|
35
35
|
"vue": "3.5.39",
|
|
36
36
|
"wretch": "^3.0.9",
|
|
37
|
-
"@cat-factory/contracts": "0.
|
|
37
|
+
"@cat-factory/contracts": "0.129.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@toad-contracts/testing": "0.3.2",
|