Nextcloud wears the whole kit: logo bytes + background colour ride the theming push #409
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#409
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ben's drive-17 walkthrough ruling (2026-08-10, drive
20260810T144654Z): the Nextcloud login page carries the accent (#619793asserted), but the signed-in chrome and background are default Nextcloud — no community logo in the header, default blue background.Verified on the live drive-17 guest:
occ config:list themingshows onlyname+primary_colorlanded. Two gaps:nextcloud-brand.service(DDR 0007) already triestheming:config logo <value>but the compiled value is a repo-relative path with no bytes on the machine — the apply fails and is deliberately non-fatal (#362). The kanidm brand push solved exactly this:clan.WriteBrandLogolands the logo bytes seed-leg at a fixed path, and the oneshot pushes them (DDR 0145/0147). Do the same for the files node: land the logo bytes, pointtheming:config logoat them.theming:configsupportsbackground_color(verified in the guest's occ help; setting it replaces the default blue background image with a plain colour). Push the kit palette's background (brandkit.Palette.Background, white default) so the signed-in surface stops wearing Nextcloud blue. A background image in the kit is a separateneeds-designfounding-S3 question (companion ticket) — out of scope here.Acceptance: after a files deploy,
occ config:list themingcarries name, primary_color, background_color and a logo; the login page and signed-in header show the community logo; the e2e drive grows assertions for it (app/tests/e2e/fixtures/provision.tsassertBrandedLogin+ a signed-in brand assertion — mind the drive-15 false-green lesson: assert bytes/status, not URL reachability).Precedents: DDR 0007 (theming push), DDR 0147 (logo bytes oneshot, byte-equality proof), DDR 0151 (the brand wears the chrome). Implementation surface:
internal/clan/files.go(brand oneshot + seed leg).no-triageuntil the bridge worktree merges — the current files-port truth (drive-17 campaign, 7 commits) is unpushed onworktree-bridge-cse_01PLKLFxEnGVFCawokpodMEo; a swarm agent building this off main would collide with it. Flip toready-for-agentafter Ben's merge/push call.Flip condition met: the bridge worktree merged to main and pushed as
90ddba3(2026-08-10, Ben's call) — the drive-17 provisioning truth, DDRs 0156–0158, and the ✎ wireframes are all on origin/main.no-triage→ready-for-agent.Landed on
origin/mainasddbc1f5.Both drive-17 gaps closed in
renderNextcloudBrand(internal/clan/files.go, the DDR 0007 oneshot):logo=logoline is a bare sibling filename, not bytes occ can read (the #362 gap). Founding already lands the uploaded bytes seed-leg beside the conf (WriteSurfaceLogos, #356 / DDR 0147's files-node mirror), so the oneshot now pointsocc theming:config logoat that landed object as a Nix path literal (themingLogo, the world-readable store copy the nextcloud user reads), guarded byhaveLogo = builtins.pathExists(no upload → the block islib.optionalString-omitted, never a bytes-less apply) and added torestartTriggers(a re-upload re-themes).background_color; the barebackgroundocc key expects an image PATH, so the conf'sbackground=<hex>silently no-opped. It now ridesbackground_color. name + primary colour still ride the generic key loop, each apply non-fatal (T5, #362).Acceptance / evidence:
internal/clan/files_test.go—TestRenderFiles_ThemingPushesLogoBytesAndBackgroundColor(new) + the two existing theming tests updated; renderedfiles.nixNix-parses clean.assertBrandedChrome(app/tests/e2e/fixtures/provision.ts, wired intoprovision-nextcloud.live.spec.ts) asks the guest's ownocc config:list theming --output=jsonand compares name/primary_color/background_colorvalues + asserts a storedlogoMime(the landed bytes' mime — #415's value-not-presence rule), then fetches the theming image endpoint asserting a non-empty 200 image body — bytes/status, never URL reachability (the drive-15 false-green lesson).guestExec(strict throwing twin ofguestSsh) added for the occ ask.go test ./internal/{clan,brandkit,founding}/...green; gofmt/vet clean;vue-tscclean; full pre-push gate green.UNPROVEN LIVE until the next Nextcloud-provision drive exercises
assertBrandedChrome. Companion #408 (background image at founding S3) stays deferred. STATUS.md header + milestone log updated.