~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

The console, the harness and the docs site are formatted by oxfmt

Merged chadtmiller.com asked to merge into main from chadtmiller.com/group-host:web/format
.claude/hooks/format.mjsnew+33−0
@@ -0,0 +1,33 @@
// Claude Code's PostToolUse hook: formats each file an agent writes as
// `just fmt` would, so what is committed passes the format checks. Rust
// by rustfmt; the console's, the harness's and the docs site's code by
// oxfmt. Anything else, or a file a formatter cannot parse yet, is left as
// written: the checks still catch what is pushed.
import { execFileSync } from 'node:child_process';
import { existsSync, readFileSync } from 'node:fs';
import { relative, resolve } from 'node:path';
const root = resolve(import.meta.dirname, '../..');
const input = JSON.parse(readFileSync(0, 'utf8'));
const file = input.tool_input?.file_path;
if (!file || !existsSync(file)) process.exit(0);
const path = relative(root, resolve(file));
const run = (cmd, args) => {
try {
execFileSync(cmd, args, { cwd: root, stdio: 'ignore' });
} catch {
// Left as written.
}
};
if (path.endsWith('.rs')) {
run('rustup', ['run', 'stable', 'rustfmt', '--edition', '2024', path]);
} else if (
/^(web|harness|docs-site)\//.test(path) &&
!path.includes('node_modules/') &&
/\.(svelte|ts|js|mjs|cjs|css|json)$/.test(path)
) {
const oxfmt = resolve(root, 'web/node_modules/.bin/oxfmt');
if (existsSync(oxfmt)) run(oxfmt, ['--no-error-on-unmatched-pattern', path]);
}
.claude/skills/ui/SKILL.md+7−7
@@ -164,7 +164,7 @@ thing itself.
same way on both: the same component, the same words, the same order of
controls.
- *Asking for input.* An act that takes a form (inviting, adding a
- _Asking for input._ An act that takes a form (inviting, adding a
rule, a link, a role, a recovery key, an app password, labelling,
giving roles, a picture, resolving) is a button that opens a
`FormDialog` holding the form, as "Invite someone" does: its title the
@@ -173,7 +173,7 @@ controls.
editing what is already there field by field (a group's profile, who
sees it) is a form in place, and finding (a search box) is never a
dialog. A handle is typed into `HandleInput`, wherever it is asked for.
- *In place.* An act on the page you are on keeps you where you are:
- _In place._ An act on the page you are on keeps you where you are:
its form is sent with `use:enhance`, by `inPlace` from
`#lib/forms.ts`, and `FormDialog` and `ConfirmDialog` send theirs by
`inDialog`. Done, the page is drawn again where it was, and a dialog
@@ -182,14 +182,14 @@ controls.
a plain post that reloads the page at its top. Only a form that goes
somewhere else (signing out, starting a group, approving an app) may
post plainly.
- *Confirming.* An act that cannot be undone (leaving, removing
- _Confirming._ An act that cannot be undone (leaving, removing
someone, deleting a rule or role, removing a key, revoking,
disconnecting) opens a `ConfirmDialog`: its title the question
("Leave this group?", "Delete this rule?"), what will happen in a
sentence, a quiet Cancel, and the act in `danger`, its verb alone
("Delete"). What is undone by doing it again (cancelling an invite,
removing a picture, declining an invite) needs no asking.
- *Titles.* A dialog's title is a few fixed words: "Remove this
- _Titles._ A dialog's title is a few fixed words: "Remove this
member?", "Change roles", "Invite someone". Never put a name, handle,
or anything someone typed in it ("bob.test's roles", "Revoke
“Phone”?"). Those are as long as people make them, and the title then
@@ -198,7 +198,7 @@ controls.
access…"), anything else by its name in the sentence ("Apps using
“Phone” are signed out"). `node harness/dialogs.mjs` fails on a title
built around a value.
- *Lists.* `ul` or `ol` with a class, a row per thing, inside the part's
- _Lists._ `ul` or `ol` with a class, a row per thing, inside the part's
card: its `Avatar`, `ordinal` or picture first; its name, and under it
what is said about it (`.row-main` with `.what`); its acts at the
row's end in `.row-actions`, `small`, quiet ones before the one that
@@ -206,11 +206,11 @@ controls.
`#lib/dates.ts`, never as a record holds them. The empty state in the
rows' place; a quiet "Show more" under the last row while there are
more, a page at a time, never every row at once.
- *A part's heading.* `Section`: its title, with its count when that is
- _A part's heading._ `Section`: its title, with its count when that is
worth saying, and the one act on the whole part (Invite someone, Add a
rule, Create an app password) across from it, as a quiet button; never
a link or a button lower down the card doing the same.
- *Where to go.* A group's own pages (Moderation, Settings) sit together
- _Where to go._ A group's own pages (Moderation, Settings) sit together
beside its name, as quiet small `a.button`s; a page under a group says
so with `Page`'s `back`, its name, above its heading.
.claude/settings.jsonnew+15−0
@@ -0,0 +1,15 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/format.mjs\""
}
]
}
]
}
}
.knotless/workflows/web.yml+11−8
@@ -1,24 +1,27 @@
# The console's checks, as `just lint` runs them: that each component uses
# only its own layer and those below (harness/layers.mjs), that every
# dialog's title is its own fixed words (harness/dialogs.mjs), and svelte-check,
# which fails on any warning. The packages are kept between runs and
# installed again only when the lockfile changes.
# The console's checks, as `just lint` runs them: that it, the harness and
# the docs site are formatted as `just fmt` leaves them (oxfmt), that each
# component uses only its own layer and those below (harness/layers.mjs),
# that every dialog's title is its own fixed words (harness/dialogs.mjs),
# and svelte-check, which fails on any warning. The packages are kept
# between runs and installed again only when the lockfile changes.
image: node:24.22.1
# The shared runner host; ci.knotless.dev, also this repository's, runs only deploy.yml.
runners: [runner.knotless.dev]
# Pushes to main, and pulls that change the pages, the lexicons their types
# are made from, the layers' or dialogs' check or this file. A pull changing none passes
# at once, noted as skipped.
# are made from, the harness, the docs site, the format's settings or this
# file. A pull changing none passes at once, noted as skipped.
on:
push: {refs: [refs/heads/main]}
pull:
base: [refs/heads/main, refs/heads/feature/*]
paths: [web/**, lexicons/**, harness/layers.mjs, harness/dialogs.mjs, .knotless/workflows/web.yml, .knotless/uses.lock]
paths: [web/**, lexicons/**, harness/**, docs-site/**, .oxfmtrc.json, .knotless/workflows/web.yml, .knotless/uses.lock]
cache: [web/node_modules]
steps:
- uses: chadtmiller.com/steps/npm-ci@1
name: packages
with: {dir: web}
- name: format
run: web/node_modules/.bin/oxfmt --check web harness docs-site
- name: layers
run: node harness/layers.mjs
- name: dialogs
docs/reference/cli.md+1−0
@@ -148,6 +148,7 @@ An unknown command or flag fails with its usage; any failure exits 1.
| `setup` | installs the console's and the harness's packages, llvm-tools and cargo-llvm-cov |
| `test`, `t <args>` | every test, or those `args` pick |
| `cov`, `cov-html` | the tests under the 100% gate, or their coverage as a page |
| `fmt` | formats the Rust with rustfmt, and the console, the harness and the docs site with oxfmt |
| `lint` | formatting, clippy, the console's layers and svelte-check |
| `lex` | the lexicons' checks |
| `dev` | the console to use, over a world of its own: the reference PDS with alice, bob and harbor, the host, the console at https://group-host.localtest.me, and an invite waiting for alice ([development](../development.md#using-it)) |
docs/development.md+14−5
@@ -115,9 +115,18 @@ docs-deploy` after a change to the docs lands.
## The checks
`just lint` runs what `check` and `web` do but the console's build:
`cargo fmt --check`, clippy with warnings denied, the console's
component layers (`harness/layers.mjs`), that no dialog's title holds a
name or anything typed (`harness/dialogs.mjs`), and svelte-check. `just lex` is
the `lexicons` check, with goat 0.2.8 in CI, and `just docs` with the
site's build the `docs` check. `AGENTS.md` says what each workflow runs,
`cargo fmt --check`, `oxfmt --check`, clippy with warnings denied, the
console's component layers (`harness/layers.mjs`), that no dialog's
title holds a name or anything typed (`harness/dialogs.mjs`), and
svelte-check.
`just fmt` formats everything the checks hold to a format: the Rust with
rustfmt, and the console, the harness and the docs site with
[oxfmt](https://oxc.rs/docs/guide/usage/formatter), set in
`.oxfmtrc.json` (two spaces, single quotes, 100 columns, `.svelte` files
included). An agent need not run it: `.claude/settings.json` has Claude
Code format each file as it is written (`.claude/hooks/format.mjs`).
`just lex` is the `lexicons` check, with goat 0.2.8 in CI, and `just
docs` with the site's build the `docs` check. `AGENTS.md` says what each workflow runs,
and when.
docs-site/src/content.config.ts+1−1
@@ -4,5 +4,5 @@ import { docsSchema } from '@astrojs/starlight/schema';
// The pages content.mjs copies from docs/.
export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() })
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() })
};
docs-site/src/theme.css+117−112
@@ -8,198 +8,203 @@
:root,
:root[data-theme='light'] {
--sl-color-white: var(--fg);
--sl-color-gray-1: var(--fg);
--sl-color-gray-2: var(--fg);
--sl-color-gray-3: var(--mute);
--sl-color-gray-4: var(--faint);
--sl-color-gray-5: var(--line);
--sl-color-gray-6: var(--soft);
--sl-color-gray-7: var(--panel);
--sl-color-black: var(--bg);
--sl-color-accent-low: var(--primary-soft);
--sl-color-accent: var(--primary);
--sl-color-accent-high: var(--primary-hover);
--sl-color-bg-nav: var(--bg);
--sl-color-bg-sidebar: var(--bg);
--sl-color-hairline: var(--line);
--sl-color-hairline-light: var(--line);
--sl-color-hairline-shade: var(--line);
--sl-font: var(--font-sans);
--sl-font-mono: var(--font-mono);
--sl-line-height: var(--leading);
/* Type on the console's scale, not Starlight's larger one. */
--sl-text-body: var(--text-base);
--sl-text-h1: var(--text-2xl);
--sl-text-h2: var(--text-xl);
--sl-text-h3: var(--text-lg);
--sl-text-h4: var(--text-base);
--sl-text-h5: var(--text-base);
--sl-text-h6: var(--text-base);
--sl-color-white: var(--fg);
--sl-color-gray-1: var(--fg);
--sl-color-gray-2: var(--fg);
--sl-color-gray-3: var(--mute);
--sl-color-gray-4: var(--faint);
--sl-color-gray-5: var(--line);
--sl-color-gray-6: var(--soft);
--sl-color-gray-7: var(--panel);
--sl-color-black: var(--bg);
--sl-color-accent-low: var(--primary-soft);
--sl-color-accent: var(--primary);
--sl-color-accent-high: var(--primary-hover);
--sl-color-bg-nav: var(--bg);
--sl-color-bg-sidebar: var(--bg);
--sl-color-hairline: var(--line);
--sl-color-hairline-light: var(--line);
--sl-color-hairline-shade: var(--line);
--sl-font: var(--font-sans);
--sl-font-mono: var(--font-mono);
--sl-line-height: var(--leading);
/* Type on the console's scale, not Starlight's larger one. */
--sl-text-body: var(--text-base);
--sl-text-h1: var(--text-2xl);
--sl-text-h2: var(--text-xl);
--sl-text-h3: var(--text-lg);
--sl-text-h4: var(--text-base);
--sl-text-h5: var(--text-base);
--sl-text-h6: var(--text-base);
}
/* Headings rounded and bold, as the console's are. */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-round);
font-weight: var(--weight-bold);
letter-spacing: var(--tracking-tight);
line-height: var(--leading-tight);
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-round);
font-weight: var(--weight-bold);
letter-spacing: var(--tracking-tight);
line-height: var(--leading-tight);
}
/* A section's heading is ruled off, as in the console. */
.sl-markdown-content .level-h2 {
padding-bottom: var(--space-2);
border-bottom: var(--border);
padding-bottom: var(--space-2);
border-bottom: var(--border);
}
/* The header: the brand, in mono. */
.brand {
display: flex;
align-items: baseline;
gap: var(--space-2);
font: var(--weight-semibold) var(--text-base) var(--font-mono);
color: var(--fg);
text-decoration: none;
white-space: nowrap;
display: flex;
align-items: baseline;
gap: var(--space-2);
font: var(--weight-semibold) var(--text-base) var(--font-mono);
color: var(--fg);
text-decoration: none;
white-space: nowrap;
}
.brand.section {
font-weight: var(--weight-normal);
color: var(--mute);
font-weight: var(--weight-normal);
color: var(--mute);
}
/* Links underlined quietly, as the console has them. */
.sl-markdown-content a:not(:where(.not-content *)) {
color: var(--primary);
text-decoration-color: var(--link-line);
text-underline-offset: var(--space-1);
color: var(--primary);
text-decoration-color: var(--link-line);
text-underline-offset: var(--space-1);
}
.sl-markdown-content a:not(:where(.not-content *)):hover {
color: var(--primary-hover);
text-decoration-color: currentColor;
color: var(--primary-hover);
text-decoration-color: currentColor;
}
/* Sidebar: the page one is on marked as the console marks the tab one is on. */
.sidebar-content a[aria-current='page'] {
background: var(--primary-soft);
color: var(--fg);
font-weight: var(--weight-semibold);
background: var(--primary-soft);
color: var(--fg);
font-weight: var(--weight-semibold);
}
/* Reference: a table of names and what each does, drawn as a list of
them (reference.mjs), each name on a line of its own. */
.sl-markdown-content .ref-list {
margin-top: var(--space-4);
border-top: var(--border);
margin-top: var(--space-4);
border-top: var(--border);
}
.sl-markdown-content .ref-list dt {
margin-top: 0;
padding-top: var(--space-4);
font-weight: var(--weight-normal);
margin-top: 0;
padding-top: var(--space-4);
font-weight: var(--weight-normal);
}
.sl-markdown-content .ref-list dt code {
background: none;
padding: 0;
font-size: var(--text-base);
font-weight: var(--weight-semibold);
/* A signature breaks between its words, never inside a flag. */
overflow-wrap: normal;
word-break: normal;
background: none;
padding: 0;
font-size: var(--text-base);
font-weight: var(--weight-semibold);
/* A signature breaks between its words, never inside a flag. */
overflow-wrap: normal;
word-break: normal;
}
.sl-markdown-content .ref-list dd {
margin: var(--space-1) 0 0;
padding-bottom: var(--space-4);
border-bottom: var(--border);
margin: var(--space-1) 0 0;
padding-bottom: var(--space-4);
border-bottom: var(--border);
}
.sl-markdown-content .ref-list dd > * + * {
margin-top: var(--space-2);
margin-top: var(--space-2);
}
.sl-markdown-content .ref-meta {
font-size: var(--text-sm);
color: var(--mute);
font-size: var(--text-sm);
color: var(--mute);
}
.ref-label {
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--faint);
margin-right: var(--space-1);
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--faint);
margin-right: var(--space-1);
}
/* An HTTP method, as a badge before its route. */
.method {
display: inline-block;
padding: 0 var(--space-2);
border-radius: var(--radius-sm);
font: var(--weight-semibold) var(--text-xs) / var(--leading) var(--font-mono);
letter-spacing: 0.02em;
vertical-align: 0.15em;
background: var(--primary-soft);
color: var(--primary);
display: inline-block;
padding: 0 var(--space-2);
border-radius: var(--radius-sm);
font: var(--weight-semibold) var(--text-xs) / var(--leading) var(--font-mono);
letter-spacing: 0.02em;
vertical-align: 0.15em;
background: var(--primary-soft);
color: var(--primary);
}
.method-post {
background: var(--soft);
color: var(--success);
background: var(--soft);
color: var(--success);
}
.method-ws {
color: var(--done);
color: var(--done);
}
/* A method's lexicon, folded away under it. */
.sl-markdown-content .lexicon {
margin-top: var(--space-2);
border: var(--border);
border-radius: var(--radius-md);
font-size: var(--text-sm);
margin-top: var(--space-2);
border: var(--border);
border-radius: var(--radius-md);
font-size: var(--text-sm);
}
.sl-markdown-content .lexicon summary {
padding: var(--space-2) var(--space-3);
color: var(--mute);
cursor: pointer;
padding: var(--space-2) var(--space-3);
color: var(--mute);
cursor: pointer;
}
.sl-markdown-content .lexicon[open] summary {
border-bottom: var(--border);
border-bottom: var(--border);
}
.sl-markdown-content .lexicon > :not(summary) {
margin: var(--space-3);
margin: var(--space-3);
}
.sl-markdown-content .lex-title {
font-weight: var(--weight-semibold);
color: var(--fg);
margin-bottom: var(--space-1) !important;
font-weight: var(--weight-semibold);
color: var(--fg);
margin-bottom: var(--space-1) !important;
}
.sl-markdown-content .lex-fields {
display: table;
table-layout: fixed;
width: calc(100% - 2 * var(--space-3));
font-size: var(--text-sm);
display: table;
table-layout: fixed;
width: calc(100% - 2 * var(--space-3));
font-size: var(--text-sm);
}
.sl-markdown-content .lex-fields td {
vertical-align: top;
vertical-align: top;
}
.lex-type {
display: block;
margin-top: var(--space-1);
color: var(--mute);
font-size: var(--text-xs);
display: block;
margin-top: var(--space-1);
color: var(--mute);
font-size: var(--text-xs);
}
.sl-markdown-content .lex-fields td:first-child {
width: 40%;
width: 40%;
}
.sl-markdown-content .ref-list dt .word {
white-space: nowrap;
white-space: nowrap;
}
.sl-markdown-content .lex-source {
color: var(--mute);
color: var(--mute);
}
/* The header's link to the repository, quiet as the console's header links
are, and no divider after it: Starlight's sits before the theme
picker, which the docs leave out. */
.social-icons::after {
display: none;
display: none;
}
.social-icons a {
color: var(--mute);
color: var(--mute);
}
.social-icons a:hover {
color: var(--fg);
color: var(--fg);
}
docs-site/astro.config.mjs+18−18
@@ -1,14 +1,14 @@
import { unified } from '@astrojs/markdown-remark'
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import { REPO, remarkLinks } from './plugins.mjs'
import { remarkReference } from './reference.mjs'
import { unified } from '@astrojs/markdown-remark';
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
import { REPO, remarkLinks } from './plugins.mjs';
import { remarkReference } from './reference.mjs';
/** Where the site is served: a private repository's site is at its own host's root. */
const base = '/'
const base = '/';
// The sidebar follows docs/README.md: design, then reference, then deploying and development.
const page = (label, slug) => ({ label, slug })
const page = (label, slug) => ({ label, slug });
export default defineConfig({
base,
@@ -32,8 +32,8 @@ export default defineConfig({
codeFontFamily: 'var(--font-mono)',
codeFontSize: 'var(--text-sm)',
uiFontFamily: 'var(--font-sans)',
frames: { frameBoxShadowCssValue: 'none' },
},
frames: { frameBoxShadowCssValue: 'none' }
}
},
pagination: true,
sidebar: [
@@ -50,8 +50,8 @@ export default defineConfig({
page('Sites', 'design/sites'),
page('MCP', 'design/mcp'),
page('Recovery', 'design/recovery'),
page('Moving', 'design/moving'),
],
page('Moving', 'design/moving')
]
},
{
label: 'Reference',
@@ -59,12 +59,12 @@ export default defineConfig({
page('HTTP and XRPC API', 'reference/api'),
page('MCP tools', 'reference/mcp'),
page('Commands', 'reference/cli'),
page('Configuration', 'reference/config'),
],
page('Configuration', 'reference/config')
]
},
{ label: 'Running it', items: [page('Deploying', 'deploying')] },
{ label: 'Contributing', items: [page('Development', 'development')] },
],
}),
],
})
{ label: 'Contributing', items: [page('Development', 'development')] }
]
})
]
});
docs-site/content.mjs+18−18
@@ -4,28 +4,28 @@
//
// node content.mjs
import { mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs'
import { dirname, join, relative } from 'node:path'
import { fileURLToPath } from 'node:url'
import { mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
import { dirname, join, relative } from 'node:path';
import { fileURLToPath } from 'node:url';
const here = dirname(fileURLToPath(import.meta.url))
export const docs = join(here, '../docs')
const out = join(here, 'src/content/docs')
const here = dirname(fileURLToPath(import.meta.url));
export const docs = join(here, '../docs');
const out = join(here, 'src/content/docs');
const files = (d) =>
readdirSync(d, { withFileTypes: true }).flatMap((e) =>
e.isDirectory() ? files(join(d, e.name)) : e.name.endsWith('.md') ? [join(d, e.name)] : [],
)
e.isDirectory() ? files(join(d, e.name)) : e.name.endsWith('.md') ? [join(d, e.name)] : []
);
rmSync(out, { recursive: true, force: true })
rmSync(out, { recursive: true, force: true });
for (const file of files(docs)) {
const page = relative(docs, file)
const text = readFileSync(file, 'utf8')
const heading = text.match(/^# (.+)\n+/m)
if (!heading) throw new Error(`docs/${page}: no # heading to take its title from`)
const body = text.slice(0, heading.index) + text.slice(heading.index + heading[0].length)
const front = `---\ntitle: ${JSON.stringify(heading[1].replaceAll('`', ''))}\n---\n\n`
const target = join(out, page.replace(/(^|\/)README\.md$/, '$1index.md'))
mkdirSync(dirname(target), { recursive: true })
writeFileSync(target, front + body)
const page = relative(docs, file);
const text = readFileSync(file, 'utf8');
const heading = text.match(/^# (.+)\n+/m);
if (!heading) throw new Error(`docs/${page}: no # heading to take its title from`);
const body = text.slice(0, heading.index) + text.slice(heading.index + heading[0].length);
const front = `---\ntitle: ${JSON.stringify(heading[1].replaceAll('`', ''))}\n---\n\n`;
const target = join(out, page.replace(/(^|\/)README\.md$/, '$1index.md'));
mkdirSync(dirname(target), { recursive: true });
writeFileSync(target, front + body);
}
docs-site/package.json+14−14
docs-site/plugins.mjs+24−20
docs-site/reference.mjs+178−99
harness/e2e/flows.spec.mjs+706−549
1255 lines changed: not loaded until asked for.
harness/e2e/pages.mjs+172−131
harness/e2e/playwright.config.mjs+8−8
harness/e2e/setup.mjs+16−5
harness/look/seeds/apps.mjs+41−20
harness/look/seeds/full.mjs+79−30
harness/look/seeds/long.mjs+39−16
harness/look/seeds/waiting.mjs+11−3
harness/look/look.mjs+263−191
454 lines changed: not loaded until asked for.
harness/dev.mjs+45−35
harness/dialogs.mjs+32−30
harness/docs.mjs+41−37
harness/layers.mjs+20−16
harness/lexicons.mjs+202−131
harness/package.json+1−1
harness/pds.mjs+111−87
harness/tls-proxy.mjs+26−24
harness/world.mjs+97−77
web/src/lib/atoms/Avatar.svelte+22−13
web/src/lib/atoms/Copy.svelte+7−7
web/src/lib/atoms/Icon.svelte+70−28
web/src/lib/atoms/LinkIcon.svelte+9−5
web/src/lib/atoms/Tag.svelte+2−2
web/src/lib/molecules/BackToApp.svelte+12−12
web/src/lib/molecules/ConfirmDialog.svelte+41−28
web/src/lib/molecules/DeleteGroup.svelte+8−7
web/src/lib/molecules/Dialog.svelte+53−24
web/src/lib/molecules/Empty.svelte+12−11
web/src/lib/molecules/Facts.svelte+31−18
web/src/lib/molecules/FormDialog.svelte+48−31
web/src/lib/molecules/GroupRow.svelte+14−9
web/src/lib/molecules/HandleInput.svelte+132−97
web/src/lib/molecules/Links.svelte+14−9
web/src/lib/molecules/MemberRow.svelte+26−14
web/src/lib/molecules/MoveSignIn.svelte+11−11
web/src/lib/molecules/Permissions.svelte+105−76
web/src/lib/molecules/Person.svelte+11−7
web/src/lib/molecules/PickMany.svelte+156−114
web/src/lib/molecules/Rules.svelte+12−10
web/src/lib/molecules/Section.svelte+31−15
web/src/lib/molecules/SignIn.svelte+6−6
web/src/lib/molecules/Standing.svelte+16−12
web/src/lib/molecules/SwitchedOff.svelte+21−21
web/src/lib/molecules/Tabs.svelte+12−6
web/src/lib/molecules/UserMenu.svelte+40−34
web/src/lib/organisms/AccountMove.svelte+49−41
web/src/lib/organisms/AppPasswords.svelte+62−31
web/src/lib/organisms/AuthorizeRequest.svelte+110−85
web/src/lib/organisms/ConnectAiApp.svelte+24−20
web/src/lib/organisms/ConnectedApps.svelte+34−18
web/src/lib/organisms/GroupActivity.svelte+35−27
web/src/lib/organisms/GroupApps.svelte+63−28
web/src/lib/organisms/GroupCard.svelte+64−64
web/src/lib/organisms/GroupList.svelte+18−9
web/src/lib/organisms/Invitations.svelte+42−23
web/src/lib/organisms/InviteDialog.svelte+10−7
web/src/lib/organisms/Invites.svelte+26−16
web/src/lib/organisms/JoinPanel.svelte+64−47
web/src/lib/organisms/JoinRequests.svelte+30−17
web/src/lib/organisms/LabelDialog.svelte+9−7
web/src/lib/organisms/LinksEditor.svelte+37−28
web/src/lib/organisms/MemberList.svelte+117−73
web/src/lib/organisms/ModerationQueue.svelte+101−54
web/src/lib/organisms/NewGroupForm.svelte+94−71
web/src/lib/organisms/ProfileForm.svelte+103−75
web/src/lib/organisms/ProfilePictures.svelte+71−38
web/src/lib/organisms/RecoveryKeys.svelte+44−28
web/src/lib/organisms/RolesEditor.svelte+75−42
web/src/lib/organisms/RulesEditor.svelte+41−24
web/src/lib/organisms/SignInDialog.svelte+74−34
web/src/lib/organisms/SiteFooter.svelte+2−2
web/src/lib/organisms/SiteHeader.svelte+22−14
web/src/lib/organisms/SwitchOff.svelte+16−10
web/src/lib/organisms/Visibility.svelte+19−12
web/src/lib/server/settings.ts+360−229
589 lines changed: not loaded until asked for.
web/src/lib/templates/GroupPage.svelte+10−9
web/src/lib/templates/Page.svelte+28−22
web/src/lib/templates/Welcome.svelte+15−11
web/src/lib/actions.ts+26−25
web/src/lib/activity.ts+40−19
web/src/lib/asGroup.ts+131−78
web/src/lib/data.ts+50−26
web/src/lib/dates.ts+19−6
web/src/lib/forms.ts+37−30
web/src/lib/handles.ts+7−7
web/src/lib/images.ts+9−2
web/src/lib/permissions.ts+302−176
478 lines changed: not loaded until asked for.
web/src/lib/places.ts+31−20
web/src/lib/typeahead.ts+8−6
web/src/routes/authorize/+page.server.ts+22−18
web/src/routes/authorize/+page.svelte+24−17
web/src/routes/g/[handle]/moderation/+page.server.ts+63−43
web/src/routes/g/[handle]/moderation/+page.svelte+42−27
web/src/routes/g/[handle]/settings/apps/+page.server.ts+2−2
web/src/routes/g/[handle]/settings/apps/+page.svelte+19−17
web/src/routes/g/[handle]/settings/recovery/+page.server.ts+2−2
web/src/routes/g/[handle]/settings/recovery/+page.svelte+25−17
web/src/routes/g/[handle]/settings/roles/+page.svelte+11−8
web/src/routes/g/[handle]/settings/rules/+page.svelte+10−7
web/src/routes/g/[handle]/settings/+layout.svelte+34−33
web/src/routes/g/[handle]/settings/+page.server.ts+3−3
web/src/routes/g/[handle]/settings/+page.svelte+34−18
web/src/routes/g/[handle]/+page.server.ts+162−89
web/src/routes/g/[handle]/+page.svelte+132−90
web/src/routes/move/+page.server.ts+31−27
web/src/routes/move/+page.svelte+19−16
web/src/routes/new/+page.server.ts+29−25
web/src/routes/new/+page.svelte+13−13
web/src/routes/+error.svelte+14−10
web/src/routes/+layout.svelte+5−5
web/src/routes/+layout.ts+14−4
web/src/routes/+page.server.ts+8−8
web/src/routes/+page.svelte+22−20
web/src/routes/+page.ts+6−4
web/src/app.css+1264−226
1490 lines changed: not loaded until asked for.
web/src/app.d.ts+1−1
web/src/app.html+9−9
web/src/env.ts+9−8
web/src/hooks.server.ts+34−24
web/src/tokens.css+187−185
web/package-lock.json+414−0
414 lines changed: not loaded until asked for.
web/package.json+41−40
web/tsconfig.json+5−5
web/vite.config.ts+31−29
.oxfmtrc.jsonnew+9−0
AGENTS.md+5−3
Justfile+10−0