Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Clarify next step on error page #416

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions taxonomy-editor-frontend/src/pages/errors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ const Errors = ({ addNavLinks }) => {
<Table style={{ border: "solid", borderWidth: 1.5 }}>
<TableHead>
<TableCell align="left">
<Typography variant="h6">Taxonomy Name</Typography>
<Typography variant="h6">Taxonomy name</Typography>
</TableCell>
<TableCell align="left">
<Typography variant="h6">Branch Name</Typography>
<Typography variant="h6">Branch name</Typography>
</TableCell>
</TableHead>
<TableBody>
Expand All @@ -105,7 +105,7 @@ const Errors = ({ addNavLinks }) => {
{errors.length > 0 && (
<>
<Alert severity="warning">
These errors must be fixed manually via Github!
These errors must be fixed manually first, by creating a cleanup PR on GitHub: https://github.com/openfoodfacts/openfoodfacts-server/tree/main/taxonomies
</Alert>
<Box
sx={{
Expand Down Expand Up @@ -135,7 +135,7 @@ const Errors = ({ addNavLinks }) => {
)}
{errors.length === 0 && (
<Typography>
No Error, {toTitleCase(taxonomyName || "")} can be edited
✅ Well done ! No errors: {toTitleCase(taxonomyName || "")} can be edited
</Typography>
)}
</Stack>
Expand Down
Loading