Skip to content

Give Stroke Nightly a night sky in the title bar - #418

Merged
broisnees merged 1 commit into
nightlyfrom
feat/nightly-sky
Nov 24, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
feat/nightly-sky

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Stroke Nightly had no visible cue, so it was easy to mistake for Stable. Only Nightly builds get this.

  • NightlySky.svelte: a violet glow from the left of the title bar, 14 hand-placed stars twinkling out of step, and one shooting star across the left every 18s. It's painted under the bar's content (the bar is now isolate) and takes no clicks. Light themes keep the glow but hide the stars, which read as dust on a light bar. Reduced motion stills the stars and hides the shooting star.
  • NightlyEdge.svelte: a 1px violet-to-amber line along the top of the window, on every screen.
  • build-track.js: the one copy of the running version and isNightly. Settings reads it too, instead of fetching the version separately.

This replaces a "Nightly" pill I tried first; I dropped it because it looked bad. The sky is my own take on the starry header in T3 Code, plus the shooting star.

Testing

  • Checks: npm test passes (2009 node tests, 20 DOM tests). svelte-check shows 0 errors, the design lint has no new violations, and the build passes.
  • Real app (Linux, Xvfb): I gave the page a Nightly version string, then:
    • Dark: the glow and stars show, and one frame caught the shooting star crossing under the menus.
    • Light: the glow and edge line show, with no stars.
  • Shooting star: I sampled its animation clock. It travels about 160px by 32px along its tilt and fades in and out over the last 5% of each 18s loop.

This is the group's last PR, so it bumps the version (the connections fix in #417 went in with release:skip).

Nightly had no visible cue, so it was easy to mistake for Stable. NightlySky paints a violet glow from the left of the title bar, 14 hand-placed stars twinkling out of step, and a shooting star across the left every 18 seconds, under the bar's content (the bar is isolate) and without taking clicks. NightlyEdge adds a 1px violet to amber line along the top of the window. Light themes keep the glow and line, not the stars; reduced motion stills them.

build-track.js is the one copy of the running version and isNightly, which Settings now reads too. The Update track note says connections are shared.
@broisnees broisnees added the release:patch Default for PRs into nightly: next patch (.9 rolls to the next minor). On master: hotfix release label Nov 24, 2026
@broisnees
broisnees merged commit 95594d5 into nightly Nov 24, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release:patch Default for PRs into nightly: next patch (.9 rolls to the next minor). On master: hotfix release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant