-
Notifications
You must be signed in to change notification settings - Fork 25
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
Properly handle matrix.to
links for Rooms
#87
Labels
Milestone
Comments
kevinaboos
added
enhancement
New feature or request
help wanted
Looking for help from anyone!
labels
Jul 15, 2024
kevinaboos
added this to the Stage 1: release v0.1.0 with fundamental Matrix features milestone
Aug 19, 2024
kevinaboos
changed the title
Properly handle
Properly handle Aug 20, 2024
matrix.to
links for Rooms and Messagesmatrix.to
links for links Rooms and Messages (events)
|
kevinaboos
changed the title
Properly handle
Properly handle Oct 31, 2024
matrix.to
links for links Rooms and Messages (events)matrix.to
links for Rooms
This is now unblocked, as the dock-tab UI and the mobile stack navigation both support jumping to or opening another room. |
I am looking at this. |
tyreseluo
added a commit
to tyreseluo/robrix
that referenced
this issue
Nov 20, 2024
kevinaboos
modified the milestones:
Stage 1: basic Matrix features,
Stage 2: full Matrix functionality
Jan 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These links are special and should be handled via in-app actions rather than by opening them as a regular URL in the system browser.
There is a separate issue #222 for handling
matrix.to
links to a specific Event, which is much more complicated.Implementation
Currently, Robrix just ignores
matrix.to
links that are clicked on, as seen in the code here:robrix/src/home/room_screen.rs
Lines 857 to 868 in 61f4994
Note that issue #84 already covers one specific case of this: links to Users, which should be displayed as a special
UserTag
widget.This issue covers one other type of
matrix.to
links:https://matrix.to/#/#matrix:matrix.org
), and rooms by ID (e.g.,https://matrix.to/#/!cURbafjkfsMDVwdRDQ:matrix.org
)Links to a room
We should create a
RoomTag
widget similar to theUserTag
widget mentioned above, which looks like this in Element:Upon click, if the current user has already joined the room, we simply open that room's timeline view.
However, if the user has not yet joined that room, Robrix should open a preview view of the room that shows the last few messages
The text was updated successfully, but these errors were encountered: