Skip to content

support searching for people, rooms, spaces with loose matching - #1210

Open
kevinaboos wants to merge 1 commit into
project-robius:mainfrom
kevinaboos:search_rooms_users
Open

kevinaboos wants to merge 1 commit into
project-robius:mainfrom
kevinaboos:search_rooms_users

Conversation

@kevinaboos

Copy link
Copy Markdown
Member

AddRoom only accepted an exact room alias or ID (or a link), and we didn't have any way to find or add a user (to DM them).

Now we have the same text input for searching rooms and spaces, but it's connected to the homeserver directory, as well as a new text input for searching for users.

They both also now support partial input, where we try to figure out whether it's an alias or user or whatever.
Joined rooms/spaces are also shown just as to not confuse the users.

Barely related: parse_matrix_link() no longer panics if matrix.to links with empty segments

Fixes #1174
Fixes #1184

AddRoom only accepted an exact room alias or ID (or a link),
and we didn't have any way to find or add a user (to DM them).

Now we have the same text input for searching rooms and spaces,
but it's connected to the homeserver directory, as well as a new
text input for searching for users.

They both also now support partial input, where we try to figure out
whether it's an alias or user or whatever.
Joined rooms/spaces are also shown just as to not confuse the users.

Barely related: `parse_matrix_link()` no longer panics if
matrix.to links with empty segments

Fixes project-robius#1174
Fixes project-robius#1184
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.

Support finding & adding users by Matrix ID or display name Support finding a user and starting a direct message with them

1 participant