Skip to content

Commit

Permalink
refactor(ui-common): implement MaterialReactTable
Browse files Browse the repository at this point in the history
  • Loading branch information
hdinia committed Jul 18, 2023
1 parent ddcfe0a commit be61085
Show file tree
Hide file tree
Showing 11 changed files with 287 additions and 484 deletions.
3 changes: 2 additions & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.14.4",
"private": true,
"engines": {
"node": "^14"
"node": "18.12.0"
},
"dependencies": {
"@emotion/react": "11.10.6",
Expand Down Expand Up @@ -42,6 +42,7 @@
"js-cookie": "3.0.1",
"jwt-decode": "3.1.2",
"lodash": "4.17.21",
"material-react-table": "^1.14.0",
"moment": "2.29.4",
"notistack": "2.0.8",
"os": "0.1.2",
Expand Down
1 change: 1 addition & 0 deletions webapp/public/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"form.submit.inProgress": "The form is being submitted. Are you sure you want to leave the page?",
"form.asyncDefaultValues.error": "Failed to get values",
"form.field.required": "Field required",
"form.field.duplicate": "{{0}} already exists",
"form.field.minLength": "{{0}} character(s) minimum",
"form.field.minValue": "The minimum value is {{0}}",
"form.field.maxValue": "The maximum value is {{0}}",
Expand Down
1 change: 1 addition & 0 deletions webapp/public/locales/fr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"form.submit.inProgress": "Le formulaire est en cours de soumission. Etes-vous sûr de vouloir quitter la page ?",
"form.asyncDefaultValues.error": "Impossible d'obtenir les valeurs",
"form.field.required": "Champ requis",
"form.field.duplicate": "{{0}} cette valeur existe déjà",
"form.field.minLength": "{{0}} caractère(s) minimum",
"form.field.minValue": "La valeur minimum est {{0}}",
"form.field.maxValue": "La valeur maximum est {{0}}",
Expand Down
86 changes: 0 additions & 86 deletions webapp/src/components/common/DynamicDataTable/TableRowGroup.tsx

This file was deleted.

66 changes: 0 additions & 66 deletions webapp/src/components/common/DynamicDataTable/TableRowItem.tsx

This file was deleted.

54 changes: 0 additions & 54 deletions webapp/src/components/common/DynamicDataTable/TableToolbar.tsx

This file was deleted.

Loading

0 comments on commit be61085

Please sign in to comment.