mlemgroup / mlem

Mlem for Lemmy
https://lemmy.ml/c/mlemapp
GNU General Public License v3.0
178 stars 31 forks source link

Handle links in post titles #91

Open BrooklynMan opened 1 year ago

BrooklynMan commented 1 year ago

App currently does not handle links embedded in post titles, and it's a feature in the web version.

Screenshot 2023-06-26 at 7 14 00 PM
EricBAndrews commented 1 year ago

What's the desired way to handle that? Tapping the link in feed feels like it would take people the the website a lot when they really just want the comments--I'd say put it in a context menu, but that might be too hidden

BrooklynMan commented 1 year ago

in the webui, a link in the post title displays in a link-color (green in the webui) so that tapping the link, specifically, navigates directly to the link rather than the post.

WestonHanners commented 1 year ago

There is an accessibility concern here too. In the feed view, I can't break out paragraphs for VO because they are wrapped in a single NavigationLink

d42ohpaz commented 9 months ago

A few thoughts to aid in usability if links in titles are tapped:

pylapp commented 2 weeks ago

I got the same issue this week.

In fact in Lemmy we can, for a publication, create a new one with a title and a body, or create a new one with a title and an URL to share (making some suggestions for the title). I faced some troubles by just posting the hyperlink in the body, but users in the Lemmy place were a bit disturbed because they expected to have a dedicated rendering of that hyperlink, and not an hyperlink in the area which should contain plain text.

For example, given the following screen capture showing the Web UI, you see a user can define a title with an image and/or an URL and/or some text.

webUI

But with the current version of Mlem, we don't have the specific feature for hyperlinks

Mlem

Thus, users will post things in Lemmy, with hyperlinks in the "text" and readers are disturbed because the hyperlink shuld be defined elswhere and implies a dedicated behavior.

You can read this thread for further details.

cc @EricBAndrews

Sjmarf commented 2 weeks ago

Yeah, we've noticed a lot of people getting confused about the Mlem v1 post creator. You can actually add a link directly to the post by tapping the link button in the toolbar then tapping "Paste", but we realise this isn't a particularly obvious UI. We've improved the way it works in 2.0.