Batch: grace 30 days (#799), update check default-on (#793), 640–780px rows (#674), phone details sheet (#675) #829

Merged
Cordy merged 2 commits from batch-799 into main 2026-10-01 13:43:15 +00:00
Owner

One release, v0.6.313. #729 is not in here (see the chat: #749 already shipped most of it; the remaining admin-side part needs a decision).

#799: licence grace window 7 → 30 days

  • graceWindow = 30 * 24h; new boundary test (day 29 licensed, day 31 not) went red before the change.
  • Admin strings ×4 (licWrongUnreachVal, licDropUnreachWhy, licBellDropGrace), licensing-faq, README, ARCHITECTURE. EULA states no period (checked). Revoked watch (14 days, #437) left as is, per the issue's default.
  • Site: separate PR on cairn-site (terms/account/docs say 30 days; the terms todo is resolved). The design/ exports still say "a week"; they are design sources, not served pages, so I left them alone.

#793: update check on by default

  • updates.check is now *bool: unset = on whenever a feed is known, false = off, true = on (old configs keep working). Resolve() applies the defaults.
  • Built-in feed = DefaultUpdatesTagsURL / DefaultUpdatesReleaseURL, empty until the public mirror exists (#27/#202). With no feed the check stays off instead of failing daily; filling the two constants is the whole switch.
  • Pagination: asks for 100 per page (per_page + limit) and follows Link: rel="next" (≤10 pages); test with the newest tag on page 2.
  • Daily timer armed at boot (Start()), no fetch at boot.
  • UI copy ×4: updSentV now says nothing about the instance is sent (matches code + EULA §3), updDisabled says "switched off", updCheckFailed tells air-gapped operators how to switch it off or use an internal feed.
  • applyHint ignored (never rendered); dropped from the API response.
  • Docs: updates.md (default, when it runs, request shape, config table, pagination, air-gapped), admin-policy, deployment, EULA §3. Site already describes the default-on behaviour; no change needed.

#674: rows between ~640 and 780 px

Root cause: the 780px grid has five columns, but #743's Status column took a slot, so size (and owner outside Personal) pushed the actions onto a second line. That band now hides tags/size/owner/modified and shows size in the name's second line, like phones. Measured: actions inline, 28px buttons, 52px rows.

#675: phone details sheet

Root cause: every #app > aside rule (sidebar) also matched #detpane, an aside too: display:none below 820px, and position:sticky; top:56px beating the sheet rule. All of them now exclude #detpane; the resizer no longer pins an inline desktop width below 820px. Desktop pane checked unchanged (button computed styles identical, pane 380px at x=1020).

Before/after screenshots (720px and 375px with a file tapped) were taken on a local build and shared in the chat.

Tests

license boundary; config Resolve (unset/false/true/no block/internal feed); pagination + Link parsing; web pins qa674 (both fixes), qa743 pin updated deliberately (its 780px tag-hide now sits in the combined selector). go vet, go test ./..., all web tests green.

One release, v0.6.313. #729 is not in here (see the chat: #749 already shipped most of it; the remaining admin-side part needs a decision). ## #799: licence grace window 7 → 30 days - `graceWindow = 30 * 24h`; new boundary test (day 29 licensed, day 31 not) went red before the change. - Admin strings ×4 (`licWrongUnreachVal`, `licDropUnreachWhy`, `licBellDropGrace`), licensing-faq, README, ARCHITECTURE. EULA states no period (checked). Revoked watch (14 days, #437) left as is, per the issue's default. - Site: separate PR on cairn-site (terms/account/docs say 30 days; the terms todo is resolved). The `design/` exports still say "a week"; they are design sources, not served pages, so I left them alone. ## #793: update check on by default - `updates.check` is now `*bool`: unset = on whenever a feed is known, `false` = off, `true` = on (old configs keep working). `Resolve()` applies the defaults. - Built-in feed = `DefaultUpdatesTagsURL` / `DefaultUpdatesReleaseURL`, **empty until the public mirror exists** (#27/#202). With no feed the check stays off instead of failing daily; filling the two constants is the whole switch. - Pagination: asks for 100 per page (`per_page` + `limit`) and follows `Link: rel="next"` (≤10 pages); test with the newest tag on page 2. - Daily timer armed at boot (`Start()`), no fetch at boot. - UI copy ×4: `updSentV` now says nothing about the instance is sent (matches code + EULA §3), `updDisabled` says "switched off", `updCheckFailed` tells air-gapped operators how to switch it off or use an internal feed. - `applyHint` ignored (never rendered); dropped from the API response. - Docs: updates.md (default, when it runs, request shape, config table, pagination, air-gapped), admin-policy, deployment, EULA §3. Site already describes the default-on behaviour; no change needed. ## #674: rows between ~640 and 780 px Root cause: the 780px grid has five columns, but #743's Status column took a slot, so size (and owner outside Personal) pushed the actions onto a second line. That band now hides tags/size/owner/modified and shows size in the name's second line, like phones. Measured: actions inline, 28px buttons, 52px rows. ## #675: phone details sheet Root cause: every `#app > aside` rule (sidebar) also matched `#detpane`, an aside too: `display:none` below 820px, and `position:sticky; top:56px` beating the sheet rule. All of them now exclude `#detpane`; the resizer no longer pins an inline desktop width below 820px. Desktop pane checked unchanged (button computed styles identical, pane 380px at x=1020). Before/after screenshots (720px and 375px with a file tapped) were taken on a local build and shared in the chat. ## Tests license boundary; config Resolve (unset/false/true/no block/internal feed); pagination + Link parsing; web pins qa674 (both fixes), qa743 pin updated deliberately (its 780px tag-hide now sits in the combined selector). `go vet`, `go test ./...`, all web tests green.
Cordy merged commit d12fc32f38 into main 2026-10-01 13:43:15 +00:00
Cordy deleted branch batch-799 2026-10-01 13:43:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#829
No description provided.