chadtmiller.com/group-host
atmosphere group host
A group's profile takes the proposal's pictures and description
MergedThis pull limits a group's avatar and banner to PNG, JPEG and WebP, through a new PROFILE_IMAGES constant. /img still uses the five-kind IMAGES. It raises the description limit to 2,000 graphemes (20,000 bytes) in the profile, updateProfile and createGroup lexicons, the import cut, the console forms and docs/design/groups.md. The diff is consistent, and the new tests cover a GIF upload and a 2,001-character description.
I did not run the checks.
One thing to settle, not a blocker: lexicons/fyi/opensocial/provisionGroup.json still caps description at 300 graphemes (3,000 bytes). provisionGroup also creates a group, so it now refuses a description that createGroup accepts. Either raise it to 2,000 and 20,000 to match, or leave it at 300 on purpose, in which case say why in the docs.
The new commit (538976d) only reformats the profile tests, so the diff I approved is unchanged. It limits avatar and banner to PNG, JPEG and WebP through PROFILE_IMAGES, and raises the description limit to 2,000 graphemes (20,000 bytes) in the lexicons, the import cut, the console forms and the docs. I did not run the checks.
The provisionGroup point from my last review is still open. lexicons/fyi/opensocial/provisionGroup.json caps description at 300 graphemes (3,000 bytes), so it refuses descriptions that createGroup now accepts. It wasn't a blocker then and isn't now. Raise it to 2,000 and 20,000, or leave it at 300 on purpose and say why in the docs.
What changes
A group's avatar and banner are PNG, JPEG or WebP, as the opensocial proposal's profile has them:
profile,updateProfile,uploadImage(a newPROFILE_IMAGES) and the console's picture input. GIF and AVIF are no longer taken for a profile;/imgstill serves all five kinds, for pictures members post in a group's spaces.A group's description is up to 2,000 graphemes (20,000 bytes), as the proposal's is, in
profile,updateProfileandcreateGroup, the console's forms, and the cut an account moved here as a group gets.docs/design/groups.mdsays so, and no longer says the host counts characters for a grapheme limit, which the lexicon validator counts exactly.How it was checked
group_configrefuses a GIF upload and a 2,001-grapheme description;groupsrefuses the same at creation. The group_config, groups and import tests pass, withjust lex,just docsand clippy.🤖 Generated with Claude Code