Skip to content

Uses the formatted message to enable clickable links for mobile

Jose Flores requested to merge bootloop/neochat:work/messageLink into master

There currently isn't a way to click a link on the mobile version of neochat (on Android or using the PinePhone).

On mobile if you click a message it launches the messageDelegateContextMenu (bottomsheet/ overlay in screenshot) so you can't click a link from the message itself. When the overlay is shown you lose all message formatting (links are no longer blue) and still can't click a link.

This change uses the event.display which is the message that is displayed on messages which shows the links in blue and are clickable.

Notes

Ideally you would also be able to copy any text. This is possible on some text views but I haven't been able to figure out how to in this case.

Another design change might be to allow users to click the links on the messages themselves and to long press to bring up the context overlay. That's a bigger design change but wanted to at least enable clicking links for mobile users.

Old oldMessageLink

New chatLinkScreenshot

Merge request reports

Loading