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 comment too long #683

Open
tordans opened this issue Sep 8, 2023 · 1 comment
Open

Improve error message when comment too long #683

tordans opened this issue Sep 8, 2023 · 1 comment

Comments

@tordans
Copy link
Contributor

tordans commented Sep 8, 2023

Right now, the UI error message for comments that are too long is just

It was not possible to post your comment.

The console is also not helpful.
Only the API response helps with {"comment":["Ensure this field has no more than 1000 characters."]}

The UI should show that the comment cannot be above 1000 chars or at least the error message should.
Remember to include the text that OSMCha adds automatically as well, because that is what pushed my comment (https://www.openstreetmap.org/changeset/139346836#map=17/52.35860/13.61964&layers=N) over the limit…

@martien-176
Copy link

martien-176 commented Sep 8, 2023

https://hotosm.slack.com/archives/CPZV2GQP8/p1692644803509139

I reported this same issue more than 2 weeks ago on the #osmcha Slack channel.

@willemarcel said there that he would increase that 1000 characters limit, obviously this did not happen yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants