Better error handling for room alias addresses #19730
Labels
A-Aliases
A-Room-Settings
Hacktoberfest
Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/
Help Wanted
Extra attention is needed
O-Frequent
Affects or can be seen by most users regularly or impacts most users' first experience
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Enhancement
Your use case
Followup to #19609 as currently there's a very generic modal/popup if there's any kind of an error and that's very unhelpful.
We should show a humanized (and definitely not developer-humanized, like it is being returned from backend) version of the errors in the modal windows instead, so that the user knows what really happened there and how to fix it.
What would you like to do?
Outcome
What did you expect?
Modal window with proper description of the error appears, that clearly describes what the error is.
What happened instead?
A very generic error window appears, that doesn't tell you what kind of an error happened or how to fix it.
See attached screenshot:
TODO
Requires a list of all the errors returned by
state/m.room.canonical_alias/
endpoint and a way to translate them.The text was updated successfully, but these errors were encountered: