Skip to content

fix(web): ease the macos header clearance with the sidebar - #57

Merged
nixuuu merged 1 commit into
devfrom
fix/sidebar-titlebar-inset
Nov 4, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/sidebar-titlebar-inset

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

On macOS, collapsing/expanding the sidebar left an empty gap in front of the page header until the animation finished and then jumped: the traffic-light clearance (data-sidebar) only switched after settling ended.

Now data-sidebar follows the target state immediately and, while the column eases (data-sidebar-settling), the header's padding-left transitions on the same duration and curve as the column (slow when opening, medium when closing). With equal timing the header edge is a blend of the column edge and the clearance, so it moves smoothly and never comes closer to the window controls than the clearance. Reduced motion: no transition, as before.

Measured in Chromium with the darwin platform (toggle button x per frame): collapse 302→88, expand 88→302, monotonic, never below the 88 px clearance.

Toggling the sidebar kept the page header's traffic-light clearance until the column finished easing, so the toggle rode with the column and then jumped. The clearance now switches at once and eases on the column's own duration and curve; the header edge moves smoothly and never comes closer to the window controls than the clearance.
@nixuuu
nixuuu merged commit d590c98 into dev Nov 4, 2026
2 checks passed
@nixuuu
nixuuu deleted the fix/sidebar-titlebar-inset branch November 4, 2026 13:01
nixuuu added a commit that referenced this pull request Nov 4, 2026
Releases no longer need a human: a scheduled workflow promotes soaked
changes.

**Schedule:** every 3 h (`0 */3 * * *`), first next → main, then dev →
next, inside the `release-branch-mutations` concurrency group. Promotion
stays fast-forward only: a continuous prefix of the source branch up to
a cutoff commit C, never backwards, never forced; Release is dispatched
on the target with `expected_sha`.

**Cutoff**
1. Soak: dev → next takes the newest commit on dev for ≥ 24 h; next →
main takes the newest published beta that has been complete for ≥ 72 h
(an older beta stays a candidate while a newer one soaks).
2. Follow-up fixes: a `fix`/`perf`/revert that landed after C and
corrects something in (target, C] holds that change and everything after
it, iterating to a fixpoint. Fixes already soaked are inside the prefix
and ship with their feature.
- Explicit links win: `Fixes: #68`, `Refs: #68` / `Refs: <sha>`,
`follow-up to #68`, the PR template line, standard reverts, GitHub
closing keywords.
- Otherwise line-level attribution (SZZ): `git diff -w -U0 F^ F` gives
the pre-image lines the fix changes, `git blame -w -M -C` (honouring
`.git-blame-ignore-revs`) gives the commits that introduced them; pure
additions use unambiguous adjacent lines. Shared/generated paths are
excluded; 7-day upper bound. Owners already released don't hold
anything.
3. Readiness: a successful Release run for exactly C (prefer a published
nightly), no open `release-blocker`, docs-only / no-version ranges are a
no-op.

**Controls:** repo variable `AUTO_PROMOTION=off` pauses it; label
`promotion-hold` on a merged PR holds it and everything after;
`release-blocker` blocks both paths; manual **Promote** uses the same
selector with a default dry-run and explicit overrides (never skipping
CI, beta, blockers, linked fixes or fast-forward). Job summaries show
C0, C, version, included and held commits with reasons; a history issue
records each promotion; a starvation issue opens when a change has been
held for more than 7 days.

**Manual smoke gates:** `live_smoke`/`update_smoke` stay as dispatch
inputs but no longer gate promotion. They are replaced by green Release
CI (incl. updater tests and the 4-platform binary smoke) plus soak;
stable also requires that verification on the beta. Not covered anymore
by a human: live provider smoke and a full self-update/rollback on a
real installation.

**Convention:** AGENTS.md, docs/contributing.md, docs/release.md and a
new PR template ask for an explicit link in follow-up fixes; commitlint
accepts the footers.

Dry-run on the real history (read-only): nothing to promote yet. #57 is
attributed to #18 by changed lines; with today's state the first beta
would be `0.2.0-beta.1` at #76 in the 2026-11-05 18:00 UTC cycle.

Checks: install, typecheck, lint, format:check, actionlint/shellcheck,
check:tmp (973 pass, 153 skip, 0 fail); promotion tests run against
local git fixtures and a mocked GitHub API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant