matrix-org/matrix-viewer

Add intra-app pill link action to matrix.to links

bkil opened this issue · 0 comments

bkil commented

Background

It is useful and common to share matrix.to permalinks to people outside Matrix by showing matrix.to links that I can right-click to copy the URL for them.

However, as a user viewing something in the Matrix Public Archive, I can't navigate such permalinks within the Matrix Public Archive site and have to manually resolve the matrix.to link to the archive URL pattern.

(or have http-links disabled, etc)

Potential solution

Please add an onclick handler that opens the respective screen and/or scrolls to the referenced message or an equivalent fallback without JavaScript (e.g., either always rewrite such URL to point within the archive or perhaps include the original link in parenthesis).

This affects at least user submitted matrix.to links, room and user pills and generated references to the message and the user hidden behind the In reply to header.

Related: #235 element-hq/hydrogen-web#1104