Skip to content
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

Element search should understand matrix.to links #21695

Closed
axelsimon opened this issue Apr 6, 2022 · 7 comments · Fixed by matrix-org/matrix-react-sdk#8275
Closed

Element search should understand matrix.to links #21695

axelsimon opened this issue Apr 6, 2022 · 7 comments · Fixed by matrix-org/matrix-react-sdk#8275
Assignees
Labels
A-New-Search-Experience The new search dialog available in Labs A-Room-List O-Uncommon Most users are unlikely to come across this or unexpected workflow T-Enhancement Z-Labs

Comments

@axelsimon
Copy link
Contributor

axelsimon commented Apr 6, 2022

Your use case

What would you like to do?

People are likely to copy-paste a matrix.to URL and think that's the identifier of the room they want to join, and then use the search function (ctrl+K) to find it.

Search should be smart enough to recognise a matrix.to link (such as https://matrix.to/#/#webrtc:matrix.org) and strip everything before the room ID to help the user find what they are looking.

Why would you like to do it?

Reduces prior knowledge needed to use the matrix ecosystem.

How would you like to achieve it?

Enhance search on Element web (and Android and iOS).

Have you considered any alternatives?

Improve matrix.to to reliably detect any running Element instance. Currently, it has no way of knowing that myrandomriot.example.com running in a random tab is actually an instance of Element that could be used to join the target of the matrix.to link.

Webmails are capable of registering with Firefox's applications, maybe Element instances could do the same, for a matrixto content type.

Additional context

No response

@dbkr dbkr added A-Room-List O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Apr 7, 2022
@t3chguy t3chguy added the A-New-Search-Experience The new search dialog available in Labs label Apr 8, 2022
@github-actions github-actions bot added the Z-Labs label Apr 8, 2022
@bolu-tife
Copy link

Hello, I would like to work on this.

@SimonBrandner
Copy link
Contributor

Hello, I would like to work on this.

Thank you for your interest in this issue. We will normally not assign the issue to an external contributor until they have provided at least a draft PR which is taking the right direction. For further details, see our guidance on assigning issues.

If you have any technical questions about this issue, you can ask for help in #element-dev:matrix.org

@bolu-tife
Copy link

Thank you. I have drafted a pull request for this issue.

@HarHarLinks
Copy link

strip everything before the room ID

just a clarification, identifiers such as #element-dev:matrix.org that start with a # are aliases, while room IDs are random looking strings with a ! prefix and, depending on the room version(?) a server name postfix.

@axelsimon axelsimon changed the title Element search should undersand matrix.to links Element search should understand matrix.to links Jun 9, 2022
@DC7IA
Copy link

DC7IA commented Jun 22, 2022

Might be a dupe: #16066 #18237

At least very similar.

@JeanPaulLucien

This comment was marked as resolved.

@weeman1337
Copy link
Contributor

Currently pasting a matrix.to link shows this message

Failed to find the following users

The following users might not exist or are invalid, and cannot be invited:
https://matrix.to/#/@bob:example.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-New-Search-Experience The new search dialog available in Labs A-Room-List O-Uncommon Most users are unlikely to come across this or unexpected workflow T-Enhancement Z-Labs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants