-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add room alias management #2439
Conversation
...android/src/main/java/org/matrix/android/sdk/internal/session/room/alias/AddRoomAliasTask.kt
Show resolved
Hide resolved
...main/java/org/matrix/android/sdk/internal/session/room/alias/RoomAliasAvailabilityChecker.kt
Outdated
Show resolved
Hide resolved
...rc/main/java/im/vector/app/features/home/room/detail/timeline/format/NoticeEventFormatter.kt
Outdated
Show resolved
Hide resolved
vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt
Outdated
Show resolved
Hide resolved
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.
Amazingly clean work! I just have some questions/remarks.
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.
Some remarks:
- It is crashing if I use the "Done" button of the keyboard while adding Local Address:
Exception: java.lang.IllegalStateException: focus search returned a view that wasn't able to take focus!
- There are lots of M_UNKNOWN internal errors on both Android and Web while publishing alias for the first time. I found error descriptions of Web more clear (we just show "internal error" in error dialog).
110d722
to
0ac04eb
Compare
0ac04eb
to
b2556cb
Compare
Fixed For the second remark, I do not reproduce it (at the moment). We may improve this later |
…ble to take focus! And no multiline input for room alias
And room directory setting. We are now iso Element Web on this point (with a better UX to publish addresses (=aliases))
Fixes #2428
Fixes #1579
Following MSC matrix-org/matrix-spec-proposals#2432
This PR also contain some cleanup on the existing code.
UI flow
New item "Room addresses" which replace the previous "Canonical alias" Edit text:
New screen, user is a regular user
New bottom sheet
When user is admin
Extended
Bottom sheet
Only address added by the user can be deleted, else the homeserver will refuse the deletion.
Published addresses
With canonical alias