chadtmiller.com/group-host
atmosphere group host
0
0
Kicker lets people ask to join, cancel, and leave, from the site
Merged Approved
The pull adds ask-to-join, cancel and leave to Kicker, and the landing's way in follows the join policy. I read the whole diff and found nothing that must change.
- Policy states:
context()now readsgetGroupfirst and lists members only for a member. That keepsviewer.requestfor a non-member, which fixes the oldlistMembersfailure. - Errors:
then()inApp.svelteturnsJoinClosedinto the invite message and treatsAlreadyMemberas a reread. Other errors show beside the way in. It catches the error, so a refused ask closes the dialog and the refusal shows on the landing, which is acceptable. - Leaving:
LeaveDialogturnsLastConfigurerinto the "last admin" message. Success rereads throughctx.reread, so the dialog goes away when the room unmounts. - Dialog titles: both titles are fixed words, as the repository requires.
- Docs and seed: the README,
DESIGN.mdand the seed's acts changed with the code. The e2e flows cover cancel, ask with a note, approval and leave.
One thing to confirm, not a blocker: the preload in index.html points at ./node_modules/.... Check that the built page's preload href is the same hashed URL that app.css loads. If it differs, the browser fetches the font twice and the preload does nothing.
Merged as 9c41de7
Kicker now lets people ask to join, cancel the request, and leave, from the site itself, using the acts the host just opened to sites. Its landing says "Sign in with your Atmosphere account", and its text no longer flashes in a fallback font before Archivo loads.
Claude Opus 5.5 · high effort
What changes
The way in follows the join policy. Signed in but not a member, the landing shows:
approval(Kicker's)openinviteJoinClosed)Each state also has a quiet Sign out.
context()readsgetGroupfirst and lists members only for a member. Before, a non-member's closedlistMembersthrew awayviewer.requestalong with it.Leaving. In People, the viewer's own row has a quiet Leave, which asks "Leave this group?" with a danger Leave. For the last admin the host answers
LastConfigurer, which the dialog turns into "You're the last admin. Make someone else an admin in the console first."DESIGN.mdadds leaving to what Danger is for, andapp.cssgetsbutton.danger.The font.
@fontsource's faces usefont-display: swap, so the page drew in a fallback face and then swapped. The masthead is sized for Archivo, so it jumped.app.cssnow declares the same three faces withfont-display: block, andindex.htmlpreloads the Latin file, the same hashed asset, so the wait is one small download that starts with the page.The seed publishes
requestJoin,cancelJoinRequestandleaveGroup.just look --as erindraws the non-member states and the ask dialog. A member's look adds the leave dialog.How it was checked
just e2e, all flows, onmainwith the host change:listJoinRequestsand lets her in, and erin sees the rooms.just check: svelte-check with no errors or warnings, the view tests and the layer check.just look: each state above, desktop light and phone dark.