Clicking on a hash tag opens other instance page #195

Closed
opened 2018-12-04 17:06:49 +00:00 by pavi · 5 comments
Member

I think this behaviour is from GNU Social.

In mastodon if you click on a hash tag it will open the hash tag in a pane showing all the posts in the federated timeline with that particular tag.

I think its a nice feature to have and it is super annoying to go to visit other instance pages especially if you have JS blocked for other sites. Its also annoying to open a new webpage for every click on hash tag.

I think this behaviour is from GNU Social. In mastodon if you click on a hash tag it will open the hash tag in a pane showing all the posts in the federated timeline with that particular tag. I think its a nice feature to have and it is super annoying to go to visit other instance pages especially if you have JS blocked for other sites. Its also annoying to open a new webpage for every click on hash tag.
Member

@lambadalambda i'm not sure but does backend generate those?

@lambadalambda i'm not sure but does backend generate those?
Author
Member

does backend generate those?

It exists on mastodon front end. So I think its a front end issue.

> does backend generate those? It exists on mastodon front end. So I think its a front end issue.
Member
  1. mastofe uses different API than pleromafe
  2. as far as i know, pleroma FE doesn't generate any links in posts, it just renders HTML that it gets from backend, it cannot pick apart hashtag from a user for example.

that's AFAIK tho, just want to confirm

1. mastofe uses different API than pleromafe 2. as far as i know, pleroma FE doesn't generate any links in posts, it just renders HTML that it gets from backend, it cannot pick apart hashtag from a user for example. that's AFAIK tho, just want to confirm

What mastodon frontend seems to do is hijack the click event on the link, not really sure how the detection is done and it seems to be wacky sometimes so it could be a buggy detection based on how the link looks like.

What mastodon frontend seems to do is hijack the click event on the link, not really sure how the detection is done and it seems to be wacky sometimes so it could be a buggy detection based on how the link looks like.
Member

Mastodon does some real jack shit github.com/tootsuite/mastodon@9c38c5daa3/app/javascript/mastodon/components/status_content.js (L39)

I propose NOT doing what they are doing.

Mastodon does some real jack shit https://github.com/tootsuite/mastodon/blob/9c38c5daa3d7298f02c763a84a74680dcc89dac2/app/javascript/mastodon/components/status_content.js#L39 I propose **NOT** doing what they are doing.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe#195
No description provided.