Adding published room aliases UI is confusing to put it nicely.
So what happens when I try to add a new public alias?
I enter the alias (Published Addresses 禄 Other published addresses):

Then I get a terribly misleading error:

There was an error updating the room's alternative addresses. It may not be allowed by the server or a temporary failure occurred.
And then I see that my new alias is added!

Well, except it isn't.
The UI right now accepts a completely different workflow, namely:
Other published addresses shall be a selection list, similar to Main address, which would pick one from the locally added addresses. A helpful message above the box would also inform me that I need to add a local address first.
I have nothing to add, but I just want to highlight that @grinapo's issue describes perfectly the confusion I faced yesterday on my server. Finally ended up working when @dannycolin told me to click on show more for local addresses :sweat_smile:
A helpful message above the box would also inform me that I need to add a local address first.
I agree, a clear indication/warning (as simple as :warning:) that direct people to dealing with local address first would help newbies like me :)
I faced exactly the same issue just yesterday. Even just swapping local and published aliases would already be helpful IMHO.
Users will just read top to bottom and stop when the form looks like it does what they want. In that sense, hidding by default (show more link) local aliases that are a pre-req for published ones, that does not help.
Just to chime in that we were bit by this today too, "we" as in I had another knowledgeable user try it to confirm I wasn't derp-ing anything.
I've had a vague poke at this to see what I can do before it's had a proper design review. Thoughts:
I think we should:
Right now the UI is in counter-intuitive order: first there is the "pick main alias" and later the "add local aliases", while the former requires the latter first.
Also "local aliases" is folded, while main alias isn't. The intent seems to be clear: to show main alias. It is not good for changing the alias, though.
While it would cause a bit duplicate maybe it'd be more logical to
Thanks for the feedback! This feature will be getting some design review love eventually; for now I'm making some design-preserving changes that give the user better feedback that should help to get them unstuck.
I am just agreeing with OP
Having the same problem and I also couldn't find clear documentation about the semantics of different types of Room Addresses (local, published, main). The spec calls it "Room Alias" but doesn't have any details. The rooms document mentions neither aliases nor addresses. The FAQ calls it alias an mentions it once without explaining it.
Of course having a self-explanatory UI would be preferable.
Most helpful comment
Thanks for the feedback! This feature will be getting some design review love eventually; for now I'm making some design-preserving changes that give the user better feedback that should help to get them unstuck.