Search: Handle Mastodon v4 remote post URLs #300

Open
opened 2022-11-23 00:50:50 +00:00 by nninja · 1 comment

Mastodon v4 frontend has some UX tricks to display remote posts without having the user "leave" the instance. Nifty trick, but breaks the search bar in Akkoma/Pleroma

Would be very convenient if Akkoma search function can follow the Mastodon redirects and fetch the remote post.

Example: User browsing masto.nu and find a funny post, User right-clicks the timestamp and copy the URL, and get this:

https://masto.nu/@charlotte@akko.chir.rs/109387908449143493

Suggest Akkoma search function to fetch this URL, follow Mastodon's HTTP 302 redirect and fetch https://akko.chir.rs/notice/APrew44Zg0zn1z2xyi

Mastodon v4 frontend has some UX tricks to display remote posts without having the user "leave" the instance. Nifty trick, but breaks the search bar in Akkoma/Pleroma Would be very convenient if Akkoma search function can follow the Mastodon redirects and fetch the remote post. Example: User browsing `masto.nu` and find a funny post, User right-clicks the timestamp and copy the URL, and get this: `https://masto.nu/@charlotte@akko.chir.rs/109387908449143493` Suggest Akkoma search function to fetch this URL, follow Mastodon's HTTP 302 redirect and fetch `https://akko.chir.rs/notice/APrew44Zg0zn1z2xyi`
Contributor

this isn't new to mastodon, we've had this problem for a while with misskey (which doesn't even redirect, it just shows the post in the remote instance and makes it unclear in the URL)
that would be a bit harder to figure out because Misskey™ but yes it would be very useful

this isn't new to mastodon, we've had this problem for a while with misskey (which doesn't even redirect, it just shows the post in the remote instance and makes it unclear in the URL) that would be a bit harder to figure out because Misskey™ but yes it would be very useful
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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: AkkomaGang/akkoma#300
No description provided.