There are over 8K LoC for Pixelfed Groups atm, and that will likely double in the coming months (mobile apps, federation, etc...)
It's the most complex feature we've ever shipped, and we've pioneered several mod and safety tools to enable the best experience across Pixelfed instances
Rest assured, I will show the fediverse how it's done 💅
One of the challenging aspects of building a federated mobile app is parsing post captions and being able to render them properly
See, when you make a post with mentions or hashtags, mastodon converts it to HTML and mobile apps have to deconstruct that HTML to be able to render mentions, hashtags and links properly
We could just render the HTML, but when you would tap on a hashtag or mention, it would open the browser instead of in-app
Mastodon and Pixelfed do provide mentions and hashtags as lists in the federated activity, you can't just trust the HTML itself because not every platform uses the same attributes
We can use the mention/hashtag lists to build the entitymap with indices we can provide to clients so they can properly implement deep linking
The new Pixelfed mobile app will preserve media aspect ratios, no need to tap to view the full image as photos will be rendered to preserve native aspect ratios😎
@dansup Yooo this sparked some ideas about UI in fediverse apps:
What if, when seeing posts from different services, each service had a UI according to the kind of service it is?
A pixelfed video is normally not the same as a peertube video, so it would make sense to see each post via a UI adapted to it. Maybe even add some indication about which kind of service the post is coming from (something that indicates “this is a mastodon post” in a clean way), or add filters/tabs per serv. (…)
@gianclgar this is highly dependent on each project. I think you're pretty much asking for Mastodon to embed the video as seen on the remote server instead of fetching it.
Maybe even add some indication about which kind of service the post is coming from (something that indicates “this is a mastodon post” in a clean way)
This thing already happens in Friendica btw. Here's a screenshot of your comment from here. You can see a Mastodon icon to the right of your comment: