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

need some way to easily jump to a matrix.to link #3248

Closed
uhoreg opened this issue Feb 17, 2017 · 6 comments
Closed

need some way to easily jump to a matrix.to link #3248

uhoreg opened this issue Feb 17, 2017 · 6 comments
Assignees

Comments

@uhoreg
Copy link
Member

uhoreg commented Feb 17, 2017

For example, some GitHub issues include matrix.to links to a specific comment. It would be nice to be able to stick that link somehow in Riot and have it jump to that link, rather than having to open a new tab with Riot. This would be especially helpful with the Electron app, since the user may not be signed into Riot in their browser.

I have no idea how the UX for this would look without being completely ugly.

@lukebarnard1
Copy link
Contributor

Maybe this could be an added feature to message searching? If the query looks like a matrix.to link, turn it into a riot URL (using linkify-matrix.js of react-sdk) and then just redirect the user?

@uhoreg
Copy link
Member Author

uhoreg commented Jun 1, 2017

Another possibility might be to add a new /command, say /goto https://matrix.to/#/...

@z3ntu
Copy link
Contributor

z3ntu commented Aug 23, 2018

The "/goto" variant would probably be the quickest to implement and easiest to use. After it's implemented it also should be put on the matrix.to website.

A workaround is copy-pasting the matrix.to url into an empty room and clicking it then.

@MurzNN
Copy link
Contributor

MurzNN commented Aug 23, 2018

Good place may be input field in Room Directory page, if user type url in it - show button "Jump" that do the thing.
Riot already show "Join" button if user type any random url alias, so this will be the same behavior.

@turt2live turt2live self-assigned this Nov 7, 2018
turt2live added a commit to matrix-org/matrix-react-sdk that referenced this issue Nov 7, 2018
Mostly useful for power users who want to jump to places more easily.

Examples:
* `/join !somewhere:example.org`
* `/join !somewhere:example.org altserver.com` - to join through `altserver.com`
* `/goto https://matrix.to/#/!somewhere:example.org/$something:example.org?via=altserver.com`

Fixes element-hq/element-web#3248
Fixes element-hq/element-web#7543
@turt2live
Copy link
Member

Fixed by matrix-org/matrix-react-sdk#2272

@maxidorius
Copy link

Is there an issue for the GUI version of the command? The GUI gives a way to get the matrix.to directly in the GUI, even with a nice QR pic and all, but no GUI way to use it.

/goto is not documented on the share window either, is not documented on the matrix.to pages, is not directly mentionned in the react-sdk corresponding release (only join is mentionned), is not mentioned in the Riot release either - all in all, it feels like it's easy to miss.

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

8 participants