Repository navigation
Give Stroke Nightly a night sky in the title bar - #418
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 nowisolate) 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 andisNightly. 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
npm testpasses (2009 node tests, 20 DOM tests).svelte-checkshows 0 errors, the design lint has no new violations, and the build passes.This is the group's last PR, so it bumps the version (the connections fix in #417 went in with
release:skip).