Skip to content

Add room alias management#2439

Merged
bmarty merged 36 commits intodevelopfrom
feature/bma/alias
Nov 30, 2020
Merged

Add room alias management#2439
bmarty merged 36 commits intodevelopfrom
feature/bma/alias

Conversation

@bmarty
Copy link
Copy Markdown
Member

@bmarty bmarty commented Nov 24, 2020

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:

image

New screen, user is a regular user

image

New bottom sheet

image

When user is admin

image

Extended

image

Bottom sheet

image

Only address added by the user can be deleted, else the homeserver will refuse the deletion.

Published addresses

image

With canonical alias

image

Copy link
Copy Markdown
Contributor

@onurays onurays left a 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.

Copy link
Copy Markdown
Contributor

@onurays onurays left a 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).

@bmarty
Copy link
Copy Markdown
Member Author

bmarty commented Nov 30, 2020

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!

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
@bmarty bmarty merged commit 93ffb11 into develop Nov 30, 2020
@bmarty bmarty deleted the feature/bma/alias branch November 30, 2020 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update of room alias management Room alias missing features

2 participants