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

Improve error message when invalid Entity List name is given #889

Open
lognaturel opened this issue Feb 10, 2025 · 0 comments
Open

Improve error message when invalid Entity List name is given #889

lognaturel opened this issue Feb 10, 2025 · 0 comments
Labels
frontend Requires a change to the UI nicer error More understandable error messages

Comments

@lognaturel
Copy link
Member

@n-orlowski tried to create an Entity List and included a space in its name. The error came from the backend and was not helpful:

https://github.com/getodk/central-backend/blob/4af4f33c6dd5c8f1c76a0222e143bf2d74e9e5da/lib/resources/datasets.js#L61

Let's add a frontend error message that provides more information on what a valid list name is.

Consider:

  • Adding guidance on what a valid name is before the user specifies it.
  • Describing that the list name is an id, that it will be used in form design on the entities tab
@matthew-white matthew-white added frontend Requires a change to the UI nicer error More understandable error messages labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Requires a change to the UI nicer error More understandable error messages
Projects
None yet
Development

No branches or pull requests

2 participants