-
-
Notifications
You must be signed in to change notification settings - Fork 819
Conversation
This should have some nicer behavior that will confused users less See element-hq/element-web#13501
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly stylistic nits, when they are cleaned up I'll test it. Otherwise good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hitting enter in the field triggers a page refresh.
This needs design review, some screenshots/gifs might help them with that, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable code-wise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @foldleft I had in mind we'd look at this in more detail in future properly so we don't double handle it, but nice to see some progress here anyway. I'd expect us to look at this in way more detail later, but for now to get this merged would be great to:
- Re-lay out the 'Are you sure?' state to (a) Left align are you sure (b) Right align [Yes] [No] & (c) Not cause the height to change. We might need to simplify the buttons to text links to do this.
- Update the input label to not mix the address/alias nomenclature, so instead "New published address (#address:server)"
- Ensure something sane happens if the user closes the settings modal while waiting on server response. What would happen now?
How's this, @nadonomy? |
oh hang on let me fix up that vertical |
@foldleft can you ping me on Riot/Matrix when you're about? I have some small requests which will be easier to articulate there to get this over the line. |
Fixes: element-hq/element-web#13501
Testing notes
test
. We don't locally validate (yet) but the feedback appears on theField
element as if we did#test:localhost
etc. Feedback should appear on theField
element too#test:example
. Feedback should come as a dialog box for now.Visual changes
#
and allows input of aliases either beginning or not beginning with#
.Inline feedback for room aliases which don't point to the room

This replaces a dialog reading "There was an error updating the room's alternative addresses. It may not be allowed by the server or a temporary failure occurred."
Inline feedback for bad aliases

This replaces a dialog reading "There was an error updating the room's alternative addresses. It may not be allowed by the server or a temporary failure occurred."
Overlay entire component while busy

This is because, for technical reasons, all of these controls back on to one network call.
Video
Thread
Video