-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add all create/edit/delete fonctionality to the lists and to the list…
… value with the new design (#56)
- Loading branch information
Showing
39 changed files
with
989 additions
and
255 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
{ | ||
"name": "Name", | ||
"description": "Description", | ||
"values": "Values", | ||
"value_one": "Value", | ||
"value_other": "Values", | ||
"used_in_scenarios": "Used in the following scenarios:", | ||
"other_scenarios_one": "+{{count}} other", | ||
"other_scenarios_other": "+{{count}} others", | ||
"show_less": "show less", | ||
"empty_custom_lists_list": "Reach out to Marble to create your first list.", | ||
"empty_custom_list_values_list": "Reach out to Marble to create your first list value." | ||
"empty_custom_list_values_list": "Create your first list value to see it here.", | ||
"create_list.title": "New List", | ||
"create_list.name_placeholder": "Add a name to your list", | ||
"create_list.description_placeholder": "Add a description", | ||
"create_list.button_accept": "Create new list", | ||
"edit_list.title": "Edit", | ||
"edit_list.button": "Edit", | ||
"delete_list.button": "Delete this list", | ||
"create_value.title": "New value", | ||
"create_value.value_placeholder": "Add a new value to your list", | ||
"delete_list.title": "Delete this list", | ||
"delete_list.content": "Your are about to delete this list. This action is irreversible, do you want to proceed ?", | ||
"delete_value.title": "Delete this value", | ||
"delete_value.value_content": "You are about to delete the value", | ||
"delete_value.no_return": "This action is irreversible, do you want to proceed ?" | ||
} |
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 |
---|---|---|
@@ -1,11 +1,26 @@ | ||
{ | ||
"description": "Description", | ||
"name": "Nom", | ||
"values": "Valeurs", | ||
"other_scenarios_one": "{{count}} autre", | ||
"other_scenarios_other": "{{count}} autres", | ||
"show_less": "Montrer moins", | ||
"used_in_scenarios": "Utilisé dans les scénarios suivants :", | ||
"empty_custom_lists_list": "Contactez Marble pour créer votre première liste.", | ||
"empty_custom_list_values_list": "Contactez Marble pour créer votre première valeur." | ||
"create_value.title": "Nouvelle valeur", | ||
"create_value.value_placeholder": "Ajouter une nouvelle valeur à votre liste", | ||
"create_list.button_accept": "Creer une nouvelle liste", | ||
"value_other": "Valeurs", | ||
"value_one": "Valeur", | ||
"edit_list.title": "Editer", | ||
"edit_list.button": "Editer", | ||
"delete_list.button": "Supprimer cette liste", | ||
"delete_list.title": "Supprimer cette liste", | ||
"delete_list.content": "Vous allez supprimer cette liste. Cette action est irréversible, voulez-vous continuer ?", | ||
"delete_value.title": "Supprimer cette valeur", | ||
"delete_value.value_content": "Vous allez supprimer cette valeur", | ||
"delete_value.no_return": "Cette action est irréversible, voulez vous continuer ?", | ||
"create_list.title": "Nouvelle liste", | ||
"create_list.name_placeholder": "Ajouter un nom à cette liste", | ||
"create_list.description_placeholder": "Ajouter une description", | ||
"empty_custom_list_values_list": "Créez votre première valeur de liste pour la voir ici." | ||
} |
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
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 @@ | ||
export * from './FormField'; |
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,9 @@ | ||
import { type HttpError } from 'oazapfts'; | ||
|
||
export function isHttpError(error: unknown): error is HttpError { | ||
return error instanceof Error && 'status' in error; | ||
} | ||
|
||
export function isStatusConflictHttpError(error: unknown): error is HttpError { | ||
return isHttpError(error) && error.status === 409; | ||
} |
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,2 +1,3 @@ | ||
export * from './editor'; | ||
export * from './http-errors'; | ||
export * from './repositories'; |
Oops, something went wrong.