getodk / getodk/central

Improve error message when invalid Entity List name is given

Open
#889 1 comment 0 reactions 0 assignees View on GitHub
frontend
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

@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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.