Clemens85 / runningdinner

Mono-Repo containing Java backend, React Frontend and Lambdas
https://runyourdinner.eu
MIT License
3 stars 2 forks source link

Team Messages: Validation error for max. chars exceeded does not always show up #17

Closed Clemens85 closed 2 years ago

Clemens85 commented 2 years ago

Scenario: The main-message has is below the limit of 2048 chars, but when dynamically replacing the template contents, it may exceed this limit. If this happens, there is no nice validation error message, but only a technical error.

Furthermore, the success notification always shows up, even if the messages are not sent. This should anyways be fixed.

Another consideration may be, to just increase the char limit again instead of building a complex validation logic.

Clemens85 commented 2 years ago

Just increased message size for now. Technical solution for validation issue put be to enhanced PreviewMessage TO for information about it (and also show chars left)