ISH-498
Created by Jo
1 year ago
Sep 21 2024, 11:33 GMT+2
Updated by Laura Hausmann
1 year ago
Nov 16 2024, 13:47 GMT+1
Avatar Decorations

Avatar decorations as in misskey 13, federatable.

Unsure if this is very possible, since IIRC i don't know any specific standard FEP doc for it. However, it would add a lot of personality to each server and each user.

Avatar

(FEPs are useless for anything regarding misskey stuff)

Avatar

Would need input from @zotan on whether misskeys implementation of this is even reasonable to support.

Avatar

As far as I'm aware, Misskey's decorations do not yet federate. Since they aren't on v12/Iceshrimp-JS we aren't really bound on Misskey for them yet (it's unclear if/when they'll ever federate)

Avatar

Sharkey's decorations are included in the ActivityPub User object (unless /api/ap/show is lying to me), taking the format:

"avatarDecorations": [
  {
    "id": string,
    "url": image url,
    "angle": float,
    "flipH": boolean,
    "offsetX": float,
    "offsetY": float,
  },
]

Parameters other than id and url are not always present.

Avatar

They are not (on latest stable Sharkey, at least). you can verify by fetching a test actor of mine (https://booping.synth.download/@kopper, use the /fetch-raw admin endpoint on your Iceshrimp.NET instance to sign the request)

Avatar

@kopper I don't currently have an iceshrimp.NET instance, and unfortunately booping.synth.download is authorized-fetch so I can't just curl your profile :(

Avatar

@jeder Ah, I see. Yeah.
Upon further inspection, I'm an idiot and should have used /api/ap/get instead (that's the one that actually returns JSON-LD). Sorry :P

Avatar

Unless someone has further input, I'm gonna close this frontend issue as invalid, as there are no implementations that currently support this?

It can be re-opened once this is federated by some other implementation.

Avatar

Either way, it would still be a good idea to implement decorations at least for local users IMO, even if there isn't an established precedent for federation yet.

(Side note: The Sharkey and mainline Misskey APIs both expose avatar decorations in /api/users/show, which doesn't require authentication; it'd be kind of messy, but you could fetch them from remote instances that way until a better standard is agreed upon.)

Avatar

I'm presently not interested in implementing features that do not federate.
They'd be too far down the priority list, and would make for suboptimal UX.

Avatar

Wait, avatar decorations do not federate??

I thought they did, but I just double-checked, and indeed they don't, at least not between booping.synth.download and otherling.social (so someone pls check if this isnt a compat issue between them)

If they don't federate, then this can be closed, since I assumed they could.

Avatar

They don't yet, but Misskey is working on federating avatar decorations: https://github.com/misskey-dev/misskey/issues/12151
So hopefully this issue can be re-opened once the implementation in mainline Misskey is complete.

Avatar

that will still take a longer while, considering the thread has been quite dead

Avatar
State: Untriaged → Invalid
Avatar

We'll reopen this when they start to federate these.

Avatar

one more thing even though this is closed for meantime, i am really not sure if this is the amount of clutter we want, especially with how they can just go over usernames and possibly also posts

Project
Iceshrimp.NET
Priority
Normal
N
Type
Feature
F
State
Invalid
I
Assignee
Lilian
Avatar
Subsystem
Frontend
F
Component
No component
Target version
Unscheduled
Released in version
Unreleased