-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #468 from ai-cfia/430-inspection-details
issue #430: Inspection details page
- Loading branch information
Showing
52 changed files
with
1,647 additions
and
790 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Flowchart for launching | ||
|
||
## /label-inspections/id | ||
|
||
```mermaid | ||
flowchart TD | ||
Start([Start]) --> LabelInspectionsID["/label-inspections/id"] | ||
LabelInspectionsID --> ImageInStore{Image in Store?} | ||
LabelInspectionsID --> GetInspections["GET /api/inspections/id"] | ||
ImageInStore -->|Yes| DisplayImages["Display Images"] | ||
ImageInStore -->|No| End([End]) | ||
DisplayImages --> End | ||
GetInspections --> ResponseStatus{Response Status?} | ||
ResponseStatus -->|200| DisplayData["Display Data"] | ||
ResponseStatus -->|404| NotFoundPage["Display 404 Page"] | ||
ResponseStatus -->|Other| AlertError["Alert Error"] | ||
DisplayData --> End | ||
NotFoundPage --> End | ||
AlertError --> End | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"inspectionDetails": "Inspection Details", | ||
"inspectionId": "ID", | ||
"inspector": "Inspector", | ||
"status": "Status", | ||
"completed": "Completed", | ||
"incomplete": "Incomplete", | ||
"createdAt": "Created at", | ||
"lastUpdatedAt": "Last Updated at", | ||
"edit": "Edit", | ||
"discard": "Discard", | ||
"alert": { | ||
"getInspectionFailed": "Failed to fetch inspection details", | ||
"deleteSuccess": "Inspection deleted successfully", | ||
"discardFailed": "Failed to discard inspection", | ||
"internalErrorLabelNotFound": "Internal error: Label not found" | ||
}, | ||
"alt": { | ||
"edit": "Edit inspection", | ||
"discard": "Discard inspection" | ||
}, | ||
"confirmDiscardTitle": "Confirm Discard", | ||
"confirmDiscardMessage": "Are you sure you want to discard this inspection? This action cannot be undone.", | ||
"cancel": "Cancel", | ||
"confirm": "Confirm" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"inspectionDetails": "Détails de l'inspection", | ||
"inspectionId": "ID", | ||
"inspector": "Inspecteur", | ||
"status": "Statut", | ||
"completed": "Terminée", | ||
"incomplete": "Incomplète", | ||
"createdAt": "Créée le", | ||
"lastUpdatedAt": "Dernière mise à jour le", | ||
"edit": "Modifier", | ||
"discard": "Supprimer", | ||
"alert": { | ||
"getInspectionFailed": "Échec de la récupération des détails de l'inspection", | ||
"deleteSuccess": "Inspection supprimée avec succès", | ||
"discardFailed": "Échec de la suppression de l'inspection", | ||
"internalErrorLabelNotFound": "Erreur interne : Étiquette non trouvée" | ||
}, | ||
"alt": { | ||
"edit": "Modifier l'inspection", | ||
"discard": "Supprimer l'inspection" | ||
}, | ||
"confirmDiscardTitle": "Confirmer la suppression", | ||
"confirmDiscardMessage": "Êtes-vous sûr de vouloir supprimer cette inspection ? Cette action est irréversible.", | ||
"cancel": "Annuler", | ||
"confirm": "Confirmer" | ||
} |
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
Oops, something went wrong.