New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull theme-color from nodeinfo instead of HTML/PWA config #8897
Comments
The
Using nodeinfo metadata for things like this seems like a bad idea to me because unlike for example JSON-LD you can not uniquely define what the semantics of a property are supposed to be. |
this is true, but note that it says "clients", i don't think that remote servers should be relying on the frontend of other instances to provide identifying information; this will break if the instance does not provide a frontend or PWA
that's fine though - http://nodeinfo.diaspora.software/ns/schema/2.1 according to the schema, it feels awfully fragile to rely on something a remote server only intends to be used for clients that attach directly to it |
The standard says "user agents" not "clients", and I don't think you specify what Misskey's "intent" is. :P My issue is that using "free form key value pairs for software specific values" means the meaning is not well defined and I do not see how that is any less fragile. Would you not have to check the software name (and maybe also version) to find out what the intended meaning of a field is supposed to be? And keep a list of other softwares? |
and misskey isn't a user agent, is my point, instance information pulls aren't user-initiated if you want information about remote instances, you should ask it, instead of scraping from its client - it'd be a bit silly for me to pull the otherwise you force other frontend implementations (not backend AP implementations) to add compatibility with your way of doing things, which is a bit bizarre |
馃挕 Summary
Currently,
theme-colour
, used for the banner on posts, is pulled from:/
pathmanifest.json
propertyThese should be considered instance-internal paths and should not be used for federated information
馃グ Expected Behavior
Theme-color should have a fallback (or, priority?) in the nodeinfo -
metadata.nodeAccentColor
? (take your pick on the actual property)The text was updated successfully, but these errors were encountered: