Repository navigation
Editable stacks, dash versions that follow the dash, dashes as files, a logo of your own and a zoom that stays - #304
Merged
Merged
Conversation
…wn and a zoom that stays Stacks: a stack could only be reached through its widgets, so an empty layer left nothing to click once deselected, and a widget could only get into a stack with a hidden Alt+drag. Every stack now has its cell and always-visible layer tabs; an empty layer is a drop zone, and a widget clicked or dropped from the library fills it or becomes a new layer. Layers show their count and can be deleted; a stack with no widgets left goes, and on the wheel an empty layer never blanks the stack. Dash versions: a version per device, game, class or car was a whole copy, so a change to the dash never reached it. A version now keeps only what it changes (removed, changed and added widgets, page settings) and a car's sits on its class's. When the dash puts a widget where a version has its own, the version keeps its own and the designer says it doesn't fit, with Place it and Leave out; the title bar counts the changes and resets to the dash. Old copies turn into changes on load. New ids are free across the dash and all its versions. Older Sprint builds cannot read dashes with versions in the new shape. Settings > Appearance > Logo picks the Sprint mark for the sidebar, the designer and the window icon; until you pick one, your build's own is picked, and picking it again goes back to following the build. The UI zoom is kept in settings.json with every other setting, saved the moment it changes, so it no longer comes back zoomed in after updates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dash files had no version, so an older Sprint met a newer dash only by silently dropping it. Every dash file now carries its format and the Sprint that saved it. A Sprint that finds a newer format leaves the file alone (never migrates, saves over it or seeds a preset on its id), and the Dashes page names the Sprint to update to; a newer dash from the cloud is not taken either. Builds from before this cannot say it yet. Dashes can be shared: Export... in a dash's menu saves it as a .sprintdash, and Import... on the Dashes page adds one as a dash of its own, brought up to date like a dash on disk, or turned away with the Sprint to update to when it is from a newer one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kratofl
enabled auto-merge (squash)
December 3, 2026 13:37
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
Beta drives turned up four problems:
What changes for a driver
Stacks in the designer
Dash versions follow the dash
Dashes as files
.sprintdash.Settings › Appearance › Logo
Zoom that stays
settings.jsonwith every other setting and saved the moment it changes, so it no longer comes back zoomed in after an update.Breaking
Older Sprint builds cannot read dashes that have versions in the new shape, and they skip such dashes. Builds from now on name the Sprint to update to instead of skipping silently.
Under the hood
DashVariantDiff,DashVariants(apply in chain order, conflicts,Updatere-diffing every version,ConvertLegacy).variantChanges.ts,variants.ts,VersionMarks.tsx.app/Sprint.Desktop.Tests/Fixtures/dash-variant-changes.jsonpins host and designer to the same result.DashFileFormat(format 2,savedBy).GET /api/dashes/{id}/fileandPOST /api/dashes/import, with Electron owning the dialogs as for lap files.groupOps(addToStack,putInLayer, pruning empty stacks). The empty-layer fallback is ingroups.rsandgroups.ts.AppSettings.Logo(null = the build's own). Electron sets the window icon, and the three icon PNGs now ship in the package.AppSettings.UiZoom. Electron applies it on every page load and only reacts to a change in the settings, so a poll in flight cannot undo a zoom step.select=<selector>=<value>picks an option in a native select, for example a scope in the designer.logo=andnewerDash=1set the logo and simulate a dash from a newer Sprint.docs/internals/dash-rendering.md› Versions (shape, chain, doesn't fit, ids, file format) and the glossary.Checks
dotnet build app/Sprint.Desktop.slnx -warnaserror: 0 warnings. Desktop tests 1216, host tests 233.@sprint/desktop: type-check, 347 tests.@sprint/dashboard: type-check, 47 tests.-D warnings,fmt --check.pnpm lint(uncached) and the web build.make smoke-app: the real app replays a race and renders all ten pages without errors.Not verified
🤖 Generated with Claude Code