From 0ef4a8c10b86ffd7ed9bc14e954a1d0f23696c07 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 15 Feb 2024 14:47:46 +0100 Subject: [PATCH 1/3] fix: error page --- taxonomy-editor-frontend/src/pages/errors/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/taxonomy-editor-frontend/src/pages/errors/index.tsx b/taxonomy-editor-frontend/src/pages/errors/index.tsx index 9129e1c1..2508c5a7 100644 --- a/taxonomy-editor-frontend/src/pages/errors/index.tsx +++ b/taxonomy-editor-frontend/src/pages/errors/index.tsx @@ -81,10 +81,10 @@ const Errors = ({ addNavLinks }) => { - Taxonomy Name + Taxonomy name - Branch Name + Branch name @@ -105,7 +105,7 @@ const Errors = ({ addNavLinks }) => { {errors.length > 0 && ( <> - These errors must be fixed manually via Github! + These errors must be fixed manually first, by creating a cleaup PR on GitHub. { )} {errors.length === 0 && ( - No Error, {toTitleCase(taxonomyName || "")} can be edited + ✅ Well done ! No errors: {toTitleCase(taxonomyName || "")} can be edited )} From 0bf1b8932e59d7f523db134fc30b7ac86861af59 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Thu, 15 Feb 2024 14:57:20 +0100 Subject: [PATCH 2/3] Update index.tsx --- taxonomy-editor-frontend/src/pages/errors/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taxonomy-editor-frontend/src/pages/errors/index.tsx b/taxonomy-editor-frontend/src/pages/errors/index.tsx index 2508c5a7..172d11d1 100644 --- a/taxonomy-editor-frontend/src/pages/errors/index.tsx +++ b/taxonomy-editor-frontend/src/pages/errors/index.tsx @@ -105,7 +105,7 @@ const Errors = ({ addNavLinks }) => { {errors.length > 0 && ( <> - These errors must be fixed manually first, by creating a cleaup PR on GitHub. + These errors must be fixed manually first, by creating a cleanup PR on GitHub: https://github.com/openfoodfacts/openfoodfacts-server/tree/main/taxonomies Date: Wed, 6 Mar 2024 11:59:36 +0100 Subject: [PATCH 3/3] fix formatting --- taxonomy-editor-frontend/src/pages/errors/index.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/taxonomy-editor-frontend/src/pages/errors/index.tsx b/taxonomy-editor-frontend/src/pages/errors/index.tsx index 172d11d1..f56f3374 100644 --- a/taxonomy-editor-frontend/src/pages/errors/index.tsx +++ b/taxonomy-editor-frontend/src/pages/errors/index.tsx @@ -105,7 +105,9 @@ const Errors = ({ addNavLinks }) => { {errors.length > 0 && ( <> - These errors must be fixed manually first, by creating a cleanup PR on GitHub: https://github.com/openfoodfacts/openfoodfacts-server/tree/main/taxonomies + These errors must be fixed manually first, by creating a cleanup + PR on GitHub: + https://github.com/openfoodfacts/openfoodfacts-server/tree/main/taxonomies { )} {errors.length === 0 && ( - ✅ Well done ! No errors: {toTitleCase(taxonomyName || "")} can be edited + ✅ Well done! No errors: {toTitleCase(taxonomyName || "")} can be + edited )}