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

Better pillification of matrix.to links #19204

Closed
DMRobertson opened this issue Sep 28, 2021 · 1 comment
Closed

Better pillification of matrix.to links #19204

DMRobertson opened this issue Sep 28, 2021 · 1 comment

Comments

@DMRobertson
Copy link

Your use case

In the left-hand side list of rooms, each room has a "..." button which brings up a context menu. If I choose "copy room link" I get a matrix.to url.

If I paste it into element web, it appears as a plain URL. For example: https://matrix.to/#/#synapse-dev:matrix.org

But if I make it a markdown hyperlink with [room](https://matrix.to/#/#synapse-dev:matrix.org), I get a pretty pill: Screenshot from 2021-09-28 14-42-00

It's a shame that the pretty thing is harder to do and requires you to know that you have to format it as markdown. It would be nice if element web automatically "pillified" this link.

What would you like to do?

Refer to and describe a room and give people the ability to join it if they're interested. (An ordinary hyperlink doesn't look like a special "thing I can interact with" in the same way that a pill does).

Why would you like to do it?

Give people the choice to join/peek the room if they're interested rather than invite them manually.

How would you like to achieve it?

Have you considered any alternatives?

I tried copying the room id !abcdefghijk:matrix.org and pressing tab, in the same way that I can type a username and press tab to make a pill for them. That didn't work. Sometimes the input box would flash red. Other times pressing tab would switch focus to the attachment button.

I also tried pressing tab after pasting a matrix.to link. No joy.

Additional context

No response

@SimonBrandner
Copy link
Contributor

It seems you're not the only one to have come across this bug, as it's been reported previously. I'm going to close this issue now so we can focus on the older issue. Please watch, vote or comment on that issue if there is any additional information you can provide.

Duplicate of element-hq/element-meta#281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants