-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/pci ai notebooks header notebook (#14128)
* feat(ai.notebooks): header tabs and dashboard page * feat(ai.notebooks): dashboard tab part 2 * feat(ai.notebooks): life cycle in dashboard * feat(ai.notebooks): fix sonar issue and comments * feat(ai.notebooks): fix sonar issue * feat(ai.notebooks): fix sonar issue * feat(ai.notebooks): fix sonar issue * feat(ai.notebooks): rework cx * feat(ai.notebooks): rework cx part 2 * feat(ai.notebooks): fix sonnar issue * feat(ai.notebooks): refacto label management * feat(ai.notebooks): fix sonnar issue * feat(ai.notebooks): fix pr comments * feat(ai.notebooks): fix sonar issue * feat(ai.notebooks): fix pr comments * feat(ai.notebooks): fix pr comments * feat(ai.notebooks): fix pr comments ref:DATATR-1636, DATATR-1638 * Feat/pci ai notebooks attached data tab (#14246) * feat(ai.notebooks): attached-data tabs * feat(ai.notebooks): fix build * feat(ai.notebooks): fix sonar issue * feat(ai.notebooks): rework attached data tab post cx ref: DATATR-1639 * feat(ai.notebooks): logs tab (#14313) * feat(ai.notebooks): logs tab REF:DATATR-1641 * feat(ai.notebooks): fix types issue * feat(ai.notebooks): refacto datasync mock * feat(ai.notebooks): backup tabs (#14358) * feat(ai.notebooks): backup tabs * feat(ai.notebooks): fix sonar issue REF:DATATR-1640 * Feat/pci ai notebooks modal tracking (#14553) * feat(ai.notebooks): modal and tracking * feat(ai.notebooks): resolve conflit & fix sonar issue * feat(ai.notebooks): fix pr comments * feat(ai.notebooks): fix pr comments REF:DATATR-1744 Signed-off-by: Arthur Bullet <[email protected]> --------- --------- Signed-off-by: Arthur Bullet <[email protected]>
- Loading branch information
Showing
250 changed files
with
3,902 additions
and
956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...-ai-notebooks/public/translations/pci-ai-notebooks/notebooks/notebook/Messages_fr_FR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...public/translations/pci-ai-notebooks/notebooks/notebook/attached-data/Messages_fr_FR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"breadcrumb": "Conteneurs de données", | ||
"attachedDataTitle": "Conteneurs de données", | ||
"attachedDataDescription": "Si nécessaire, vous pouvez attacher des conteneurs Object Storage OVHcloud à votre notebook. Une fois attachés, ceux-ci seront temporairement chargés et mis en cache près de votre instance afin de réduire la latence et d’améliorer les performances. La bonne pratique est d’attacher un conteneur avec vos données entrantes et un autre avec vos données sortantes.", | ||
"attachedDataInfoLink": "En savoir plus sur le stockage de données.", | ||
"synchroniseDataButton": "Synchronisation globale des données", | ||
"tableHeaderAlias": "Alias", | ||
"tableHeaderContainer": "Conteneur de données", | ||
"tableHeaderMountPath": "Répertoire de montage", | ||
"tableHeaderPermission": "Permission", | ||
"tableHeaderCaching": "Cache", | ||
"mountPathCopyToast": "Le répertoire de montage a été copié", | ||
"tableActionSyncData": "Synchroniser manuellement les données", | ||
"tableWithCache": "Actif", | ||
"tableWithoutCache": "Inactif", | ||
"synchDataButtonHelper": "La synchronisation des données est possible seulement lorsque le notebook est en statut \"Echec de synchronisation\" (seulement pour le type push) ou \"En service\"", | ||
"permission_RO": "Lecture Seule", | ||
"permission_RW": "Lecture & Ecriture", | ||
"permission_RWD": "Lecture & Ecriture & Suppression", | ||
"synchDataDropdownMenuLabel": "Actions", | ||
"dataSyncTitle": "Synchronisation manuelle des données", | ||
"formDataSyncFieldTypeLabel": "Type de synchronisation", | ||
"formDataSyncFieldTypeHelper": "Vous pouvez choisir entre une synchronisation de type push, vers votre conteneur de données ou de type pull, dans l'autre sens.", | ||
"dataSyncGlobalAlertDescription": "La synchronisation sere effecutée sur l'ensemble de vos répertoires de montage", | ||
"dataSyncMountPathAlertDescription": "La synchronisation sera effectuée seulement sur le répertoire de montage {{name}}", | ||
"datasyncButtonCancel": "Annuler", | ||
"datasyncButtonConfirm": "Synchroniser", | ||
"dataSyncToastErrorTitle": "Erreur", | ||
"dataSyncToastSuccessTitle": "Succès", | ||
"dataSyncMountPathToastSuccessDescription": "La synchronisation des données sur le répertoire de montage {{name}} a été correctement lancée", | ||
"dataSyncGlobalToastSuccessDescription": "La synchronisation des données sur tous les répertoire de montage a été correctement lancée" | ||
} |
17 changes: 17 additions & 0 deletions
17
...books/public/translations/pci-ai-notebooks/notebooks/notebook/backups/Messages_fr_FR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"breadcrumb": "Backups", | ||
"title": "Sauvegardes", | ||
"description": "Vous trouverez ci-dessous la liste de vos sauvegardes. Vous pouvez créer un nouveau notebook à partir du chacune d'entre elles", | ||
"tableHeaderId": "Id", | ||
"tableHeaderCreationDate": "Date de création", | ||
"tableHeaderUpdateDate": "Date de modification", | ||
"backupDropdownMenuLabel": "Action", | ||
"tableActionFork": "Fork", | ||
"forkBackupTitle": "Commander un notebook depuis un backup", | ||
"forkBackupDescription": "Utiliser le backup {{id}} créé le {{date}} pour commander un nouveau notebook?", | ||
"forkButtonCancel": "Annuler", | ||
"forkBackupButtonConfirm": "Commander", | ||
"forkToastErrorTitle": "Une erreur est survenue", | ||
"forkToastSuccessTitle": "Succés", | ||
"forkToastSuccessDescription": "votre notebook a été créé avec succès" | ||
} |
42 changes: 42 additions & 0 deletions
42
...oks/public/translations/pci-ai-notebooks/notebooks/notebook/dashboard/Messages_fr_FR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"dashboardTitle": "Dashboard", | ||
"accessLinkTitle": "Accès", | ||
"labelsTitle": "Labels", | ||
"resourcesTitle": "Ressources", | ||
"lifeCycleTitle": "Cycle de vie", | ||
"billingSupportTitle": "Support & Facturation", | ||
"configurationTitle": "Configuration", | ||
"cliTitle": "CLI", | ||
"cliCodeTitle": "Vous pouvez créer le même notebook en utilisant ces lignes de commande dans votre ovhai CLI.", | ||
"powerTitleSection": "Power", | ||
"computeTitleSection": "Compute", | ||
"storageTitleSection": "Stockage", | ||
"gpuMemoryField": "{{ gpu }} x {{ memory }} RAM", | ||
"gcuComputeField": "CPU: {{ cpu }} vCores ", | ||
"memoryField": "RAM: {{ memory }}", | ||
"publicNetworkField": "Réseau public: {{ network }}/s", | ||
"temporaryLocalStorageField": "Stockage local éphémère: {{ storage }} SSD", | ||
"temporaryLocalStorageHelper": "Stockage local performant, mais non sauvegardé", | ||
"workspaceStorage": "Espace de travail {{ storage }} SSD inclus", | ||
"workspaceStorageHelper": "Stockage distant sauvegardé. Au-delà de 30 jours consécutifs de stockage ou/et du dépassement de ce quota de 10 Gio, les tarifs appliqués seront ceux de Public Cloud Object Storage.", | ||
"sliderInfo": "{{ usedStorage }} / {{ totalStorage }}", | ||
"durationTitle": "Durée de fonctionnement", | ||
"timeLineTitle": "Timeline", | ||
"notebookIdLabel": "Id du notebook", | ||
"notebookIdCopyToast": "L'identifiant du notebook a été copié", | ||
"billingLink": "Gérer la facturation", | ||
"supportLink": "Contacter le support", | ||
"deleteNotebookButton": "Supprimer", | ||
"liveCodeEditorTitle": "Live code editor", | ||
"openEditor": "Ouvrir {{editor}}", | ||
"grafanaTitle": "Suivi de la consommation", | ||
"grafanaButton": "Dashboard grafana", | ||
"addLabelTitle": "Ajouter un label", | ||
"keyFieldLabel": "Clé", | ||
"valueFieldLabel": "Valeur", | ||
"addLabelButtonCancel": "Annuler", | ||
"addLabelNameSubmit": "Ajouter", | ||
"notebookToastErrorTitle": "Erreur", | ||
"notebookToastSuccessTitle": "Succés", | ||
"deleteNotebookSuccess": "Le label a été correctement ajouté à votre notebook" | ||
} |
6 changes: 6 additions & 0 deletions
6
...otebooks/public/translations/pci-ai-notebooks/notebooks/notebook/logs/Messages_fr_FR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"breadcrumb": "Logs", | ||
"title": "Logs", | ||
"description": "Pour vous aider à suivre et à piloter votre notebook, vous trouverez les derniers événements (logs) ci-dessous, quasiment en direct.", | ||
"autoRefreshInputLabel": "Auto-Refresh" | ||
} |
45 changes: 45 additions & 0 deletions
45
packages/manager/apps/pci-ai-notebooks/src/__tests__/helpers/mocks/datasync.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import * as ai from '@/types/cloud/project/ai'; | ||
|
||
export const mockedDataSyncSpec: ai.volume.DataSyncSpec = { | ||
direction: ai.volume.DataSyncEnum.pull, | ||
manual: true, | ||
volume: '1934e1d3-2ba0-4000-8fd3-6f11081e4401', | ||
}; | ||
|
||
export const mockedDataSync: ai.volume.DataSync = { | ||
createdAt: 'createdAt', | ||
id: 'idDuDataSync', | ||
spec: { | ||
direction: ai.volume.DataSyncEnum.pull, | ||
manual: true, | ||
volume: '1934e1d3-2ba0-4000-8fd3-6f11081e4401', | ||
}, | ||
status: { | ||
endedAt: 'endedAT', | ||
info: { | ||
code: ai.InfoCodeEnum.APP_ERROR, | ||
message: 'error_message', | ||
}, | ||
progress: [ | ||
{ | ||
completed: 1, | ||
createdAt: 'createdAt', | ||
deleted: 1, | ||
direction: ai.volume.DataSyncEnum.pull, | ||
failed: 3, | ||
id: 'id', | ||
info: 'info', | ||
processed: 1, | ||
skipped: 1, | ||
state: ai.volume.DataSyncProgressStateEnum.DONE, | ||
total: 1, | ||
transferredBytes: 1, | ||
updatedAt: 'updatedAt', | ||
}, | ||
], | ||
queuedAt: 'queudAt', | ||
startedAt: 'startedAt', | ||
state: ai.volume.DataSyncStateEnum.DONE, | ||
}, | ||
updatedAt: 'updatedAt', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/manager/apps/pci-ai-notebooks/src/__tests__/helpers/mocks/label.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import * as ai from '@/types/cloud/project/ai'; | ||
|
||
export const mockedLabel: ai.Label = { | ||
name: 'labelName', | ||
value: 'labelValue', | ||
}; |
23 changes: 23 additions & 0 deletions
23
packages/manager/apps/pci-ai-notebooks/src/__tests__/helpers/mocks/logs.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import * as ai from '@/types/cloud/project/ai'; | ||
|
||
export const mockedLogs: ai.Logs = { | ||
lastActivity: 'now', | ||
logs: [ | ||
{ | ||
content: 'my first line log', | ||
timestamp: '2024-11-27T15:15:35.684Z', | ||
}, | ||
{ | ||
content: 'my second line log', | ||
timestamp: '2024-11-27T15:15:36.684Z', | ||
}, | ||
{ | ||
content: 'my third line log', | ||
timestamp: '2024-11-27T15:15:37.684Z', | ||
}, | ||
{ | ||
content: 'another line log', | ||
timestamp: '2024-11-27T15:15:38.684Z', | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/manager/apps/pci-ai-notebooks/src/__tests__/helpers/mocks/notebook/editor.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import * as ai from '@/types/cloud/project/ai'; | ||
|
||
export const mockedEditor: ai.notebook.Editor = { | ||
export const mockedEditor: ai.capabilities.notebook.Editor = { | ||
description: 'description', | ||
docUrl: 'docURl', | ||
id: 'editorId', | ||
logoUrl: 'logo', | ||
name: 'EditorName', | ||
version: 'version', | ||
versions: ['version'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.