kartevonmorgen / kartevonmorgen.ts

Mapping-Frontend to find and add sustainable Organisations (Initiatives, Companies) and Events on Kartevonmorgen.org / MapofTomorrow.org
https://kartevonmorgen.org/
GNU General Public License v3.0
11 stars 12 forks source link

Show error messanges from backend as popup #171

Closed wellemut closed 1 year ago

wellemut commented 1 year ago

User Story: As a user, I want to know why, if something does not work as expected

Problem

The strict Backend Validation often prevents the user to save an entry, and sends and answer to the post request.

grafik

But the error message is only shown via API, so user would have to open dev tools of the browser.

Such a message is better than nothing but much too general grafik But the backend is sending a better respons grafik https://github.com/kartevonmorgen/kartevonmorgen/issues/661

Solution

Technical solutions:

navid-kalaei commented 1 year ago

@wellemut the backend dev server is not updated and does not return the error message. even though if it's updated, it only returns CORS error, not the actual cause. I was not able to reproduce the issue therefore I did not develop this feature.

wellemut commented 1 year ago

Here it works. grafik

I get a specific error messages from the dev backend...

wellemut commented 1 year ago

Feedback: