-
Notifications
You must be signed in to change notification settings - Fork 13
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
Matrix.to permalinks should be pills #1030
Comments
Stretch Goals for Web
Stretch Goals for Design & Product
Stretch Goals for Android |
This issue will be solved if we pillify all MXIDs on Web: element-hq/element-web#23342 |
Web Issues:
|
When copying those pills or text containing the them, they should convert to an URL. |
iOS issues:
|
Android issues:
|
@daniellekirkwood we need to clarify the expectation about the composer in the following point (Matrix.to links to a room/space):
Does that mean the composer should display a pill as soon as a permalink is pasted into it? |
Sending.a.Matrix.to.URL.to.timeline.mov@giomfo this is the behaviour today, and the behaviour I would expect when pasting a link and sharing it. Is this what you had in mind? This is only for the paste link use case, and not the Composer in general - if you have questions about more composer behaviour lets have a quick chat about those :) |
Thanks @daniellekirkwood this is clear now |
New question: Example message: Pill for a link with the label „ask this person“: 1- We first considered that we should keep the custom label if any, but in that case we will display an hyperlink (instead of a pill) There is not really a solution because we cannot distinguish custom label auto-filled (by the composer) and those filled by the user. |
@daniellekirkwood testing on March 28, 2023 Web: Element Nightly version: 2023032801
Retested and recorded here and it looks great. ✅ Did not test: Sharing a link to a Space I'm not in using markdown - where the markdown should be shown. iOS: 1.10.7 (20230322213716) Did not test: Sharing a link to a Space I'm not in using markdown - where the markdown should be shown. |
@daniellekirkwood you have to click next to the message. On my side Forward is working correctly on iOS. In case of Copy, we copy the formatted body -> we send a label with the permalink, iOS is rendering a hyperlink
This last point should be fixed by element-hq/element-ios#7455 |
Wonderful! Let's consider it passed then :D ✅
Yeah - I thought we had a PR open for it, just couldn't find it :D |
This issue is not closed yet, however as feedback was already asked in TWIM, I want to note here:
These should only use the generic name & avatar if they are not accessible. I am experiencing them not being shown despite the room (https://matrix.to/#/!zzGPdcyFqxIOJEijoI:matrix.org/$apwByPtYX72BXt1bKPjQEIkcVTJ87_fI1f6GJmSBGIM?via=sosnowkadub.de&via=matrix.org&via=element.io) being previewable, running develop.element.io Element version: 89054a50acb2-react-212977c4ac42-js-5fc6b3ed1711 Edit: ohey now it suddenly fixed itself, it was just real slow previewing that info as I wasn't in the room. I would also suggest to change the pill from |
Great. We'll consider this resolved then.
This was the original design but we are not able to implement that due to technical constraints and opted for platform consistency with the designs. |
Actually no, I think it only fixes "itself" when I otherwise make my client aware of the room e.g. manually preview/join/etc it. |
@HarHarLinks Hi, this is the expected behaviour. We don't display the room name and avatar if you didn't already retrieve them locally, even if the room is previewable. This is to prevent us from displaying inappropriate content |
I think I see what you mean, thanks for pointing it out. Personally if i had the choice to enable it regardless, I would. There's another issue in today's nightly 23040601 clicking in an |
@HarHarLinks Hi, on which client did you observe this failure? I failed to reproduce on my side |
https://packages.element.io/debian/pool/main/e/element-nightly/element-nightly_2023040501_amd64.deb which i thought was up to date and didn't realize was outdated by a day so I need to retest with a newer version. |
Nope, still an issue on Element web Nightly version: 2023040601 |
@HarHarLinks sorry we don't reproduce your issue about @room pill. |
i can confirm the issue disappeared somewhere between my reported version and Element Nightly version: 2023041301 |
this is a duplicate on purpose, we do not want to repurpose the current issue in order to satisfy the customer request
Matrix.to links, when posted in Element timeline, should transform from their URL format to a 'pill'
To satisfy the customer request we're scoping the below behaviour to apply to permalinks only. If a user sends a raw MXID it should not pillify. If the user sends a matrix.to permalink, this should be a pill in the timeline.
Matrix.to links to a room/space
Matrix.to links to an MXID
Matrix.to links to a message in the same room
Matrix.to links to a message in a different room
We're not aiming to change the behaviour of the pills, just polish the feature and extend the functionality to matrix.to links for specific messages. IE: If the composer renders the pill, that should continue to be the case.
We will not do Alias handling or URL 'pillifying' in this round, though we should look to improve those things in the future. We also will not update the share dialog at this time.
Notes
Future
The text was updated successfully, but these errors were encountered: