Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.
description: "Tasks for the Classic look (spec 091, issue #572)"
Tasks: Classic look
Input: Design documents from specs/091-classic-look/
Prerequisites: plan.md, spec.md, research.md, data-model.md, contracts/, quickstart.md
Tests: The project gate is tests/Nota.SmokeTest; the plan (Constitution IV, R9)
requires smoke checks for the pure logic, palettes, file format and type rules, so they
are included as tasks. No separate unit-test project.
Organization: Grouped by user story; each story is testable on its own.
Format: [ID] [P?] [Story] Description
- [P]: Can run in parallel (different files, no dependencies)
- [Story]: US1 (switch, P1), US2 (skins, P2), US3 (MCP, P3)
Phase 1: Setup
Purpose: Bring back the font files and the data the rest builds on.
- T001 Restore
assets/fonts/GeistMono-Regular.ttf,GeistMono-Medium.ttf,GeistMono-SemiBold.ttf,GeistMono-Bold.ttfunmodified fromv0.59.2(git show v0.59.2:assets/fonts/<file> > assets/fonts/<file>), and make suresrc/managed/Nota.App/Nota.App.csprojpacks them asAssets/Fontslike the Geist files - T002 [P] Update the Geist row and note 5 in
LICENSES/third-party.md: Geist Mono back in use for values and readouts under the classic look, same OFL 1.1 licence fileLICENSES/OFL-1.1-Geist.txt, unmodified files from the same package - T003 [P] Write
scripts/classic-role-sites.py(SPDX header): from the #296 commitcbd77012list every removed line containingNotaFonts.Mono,MonoFamily,MonoBold,MonoMediumorFont.Monowith its file, and for each file that still exists on HEAD print the likely current line (the added line of the same hunk); outputfile:line old → new, used by T019–T023 - T004 [P] Commit the 0.59.2 palettes as a test fixture
tests/Nota.SmokeTest/Fixtures/classic-0.59.2.json:{ "<theme id>": { "<token>": "#RRGGBB[AA]" } }for the four built-ins, values read fromgit show v0.59.2:src/managed/Nota.App/Theme/Themes/<id>.json(107 tokens each)
Phase 2: Foundational (blocking)
Purpose: The look as data and the composition rule every story uses.
- T005 Add
public string Look { get; set; } = "";with a doc comment (""/"new"→ New,"classic"→ Classic; unknown reads as New, never rewritten on read) tosrc/managed/Nota.Application/Settings.cs, next toAccent - T006 Create
src/managed/Nota.Application/Looks.cs(SPDX header, why-comment):public enum Look { New, Classic };Looks.Resolve(Settings);Looks.Store(Settings, Look)(writes""for New,"classic"for Classic);Looks.Id(Look)→"new"/"classic"andLooks.Parse(string)→Look?for MCP - T007 Extend
src/managed/Nota.Application/Themes/SkinGeometry.cs: addstring? ValuesFamilyandbool HasRadius(true when the file carried aradiusobject, even an empty one); include both inEquals/GetHashCode;DefaulthasValuesFamily = null,HasRadius = false;IsDefaultalso requiresValuesFamily is null && !HasRadius; update every constructor call (grepnew SkinGeometry() includingThemeFile.csreading format 2 (HasRadius = root has "radius") - T008 In
src/managed/Nota.Application/Looks.csaddClassicGeometry= roundness0.4, stepsCard 3, Group 3, Field 3, Cell 2, ValueBar 2, Switch 2, Fine 2, andCompose(SkinGeometry skin, Look look) → SkinGeometry: typeface =skin.FontFamily; radii =skin.HasRadius→ skin's roundness+steps, else Classic →ClassicGeometry's, else design (roundness 1, no steps);ValuesFamily=skin.ValuesFamily(installed-ness is checked in the app layer, T015) - T009 Create
tests/Nota.SmokeTest/LooksCheck.cs(RunLooks()):Resolveof"","new","classic","Classic","x"→ New, New, Classic, New, New;Storeround-trips;Composerows of data-model § Composition — default skin × New = design scale; default × Classic = classic steps 3/3/3/2/2/2/2 andMapRadius(9)=3,MapRadius(6)=3,MapRadius(0)=0, off-scaleMapRadius(10)=4; skin withHasRadius(scale 0) × Classic = all 0; skin font kept in both looks; register intests/Nota.SmokeTest/Program.csnext toRunSkins
Checkpoint: scripts/build.sh green with the new checks.
Phase 3: User Story 1 — Switch to the classic look (P1) 🎯 MVP
Goal: Preferences → Appearance → Look: New | Classic, live and stored; classic colours, corners and Geist Mono for values on the four built-in themes.
Independent Test: quickstart § 2 and § 3 — flip during playback, compare with 0.59.2, restart, flip back; New previews identical to before.
Colours
- T010 [P] [US1] Create the four classic palettes
src/managed/Nota.App/Theme/Themes/Classic/{studio-dark,studio-light,ember-graphite,ember-paper}.json(format 1, sameid/name/kindas the built-in, keys in catalogue order): copy the current built-in file, setPanel,SurfaceRaised,TextDisabled,VizInk(studio-dark) andMute(studio-light) back to theirv0.59.2values, and give the 15 new tokens (Well,WellTrack,KnobTrack,Groove,DeviceSection,DeviceSectionEdge,DeviceHeader,Bevel,AccentSoft,KnobCap,MeterSafe,MeterHot,MeterOver,TrackHeaderSelected,LaneSelected) values that read like 0.59.2, taken from the colours thev0.59.2styles used for those parts (git show v0.59.2:src/managed/Nota.App/Theme/NotaTheme.axamland the views) per research R7 - T011 [US1] Embed the classic palettes in
src/managed/Nota.App/Nota.App.csprojwithLogicalName="Nota.Themes.Classic.%(Filename)%(Extension)"(the existingTheme\Themes\*.jsonglob must not pick them up as built-ins), and load them insrc/managed/Nota.App/Theme/NotaColourTheme.cs(NotaThemes) into aClassic(string id) → NotaColourTheme?lookup that is never listed inAll/BuiltIn - T012 [P] [US1] Add
RunClassicPalettes()totests/Nota.SmokeTest/DesignTokenCheck.Themes.cs(registered inProgram.cs): each built-in has a classic file; each passes F1–F6 with the full catalogue; every token present inFixtures/classic-0.59.2.jsonequals the fixture (SC-002, no exceptions); T3 readability warnings are allowed only when every token of the pairing is in the fixture and equals it — a pairing that involves one of the 15 new tokens must pass (research R8)
Corners and composition
- T013 [US1] In
src/managed/Nota.App/Theme/NotaThemeService.csaddLookstate,public static Look Look,SetLook(Look)(live; saving is the caller's, asSetAccent), and changeSetto take the look at startup; inApplyActivecompose per research R3: theme → under Classic a built-in id is replaced byNotaThemes.Classic(id)→ accent (Worn) →Looks.Compose(theme.Geometry, look)→NotaSkin.Set+NotaFonts.SetMeasure(T016) → re-coerce, repaint,Changed; compare composed state so a look change with the same theme still re-applies (today'sReferenceEquals(NotaPalette.Theme, theme)short-circuit must not swallow it) - T014 [US1] Keep
NotaThemeService.Worn(theme)look-free for Nota Remote (src/managed/Nota.App/MainWindow.Remote.csstays on the new palette, spec Edge Cases) and addWornForCard(theme)that applies the look's colours (built-ins only) for theme cards - T015 [US1] Teach
src/managed/Nota.App/Theme/NotaSkin.csthe composed geometry:Setkeeps working from aSkinGeometry(now composed), andIsDefaultshort-cuts stay exact no-ops under New with the default skin (SC-004)
Values and readouts role
- T016 [US1] In
src/managed/Nota.App/Theme/NotaFonts.csaddpublic const string MeasureMonoUri = "avares://Nota.App/Assets/Fonts#Geist Mono";, a currentMeasureFamily(defaultUiFamily),SetMeasure(FontFamily)that also writesApplication.Current.Resources["Font.Measure"], and propertiesMeasure,MeasureMedium,MeasureBoldbuilt from the current family (read at call time, never cached in static readonly fields); update the file's header comment (two roles; New is one typeface) - T017 [US1] In
src/managed/Nota.App/Theme/NotaTheme.axamladd<FontFamily x:Key="Font.Measure">avares://Nota.App/Assets/Fonts#Geist</FontFamily>besideFont.UI; makeTextBlock.Mono,.Readout,.Value,.EyebrowsetFontFamily="{DynamicResource Font.Measure}"(sizes/weights unchanged); addTextBlock.Number(Geist viaFont.UI, same size/colour as.Value) for numbers added after 0.59.2; restoreFont.Measureat each 0.59.2Font.Monouse still present (T003 output) - T018 [US1] In
NotaThemeService.ApplyActive(T013) set the measure family: skinValuesFamilyif installed (NotaThemes.IsFontInstalled), else New →NotaFonts.UiFamily, Classic →new FontFamily(NotaFonts.MeasureMonoUri); under New with no skin values font the resource must be the very Geist URI soNotaSkin.IsGeiststill maps it to a skin'sfont.family - T019 [US1] Run
scripts/classic-role-sites.pyand save its output as the inventory checklistspecs/091-classic-look/role-sites.md(file, old line, current line, decision: role / gone / redrawn-same-value) - T020 [P] [US1] Restore the role in the shell views per
role-sites.md—NotaFonts.Sans*→NotaFonts.Measure*(orFont.UI→{DynamicResource Font.Measure}) only at 0.59.2 mono sites:src/managed/Nota.App/{PreferencesWindow*.cs, PreviewPlayer.cs, SessionView*.cs, ArrangementView*.cs, MixerView.cs, CommandPaletteView.cs, WelcomeWindow.cs, StereoMapView.cs, ModularView.cs},src/managed/Nota.App/Remote/ConnectPhoneView.cs - T021 [P] [US1] Same for
src/managed/Nota.App/Controls/*.cs(e.g.ConsortViews.cs,LengthGateViz.cs) and the piano roll / audio editor views listed inrole-sites.md - T022 [P] [US1] Same for
src/managed/Nota.App/DeviceCards/**(instrument cards, bodies, rackMacroPanel.cs,PluginCard.cs); where a card was redrawn, put the role on the same value (e.g. a band's Freq readout) per research R5 - T023 [US1] Move uses of
TextBlock.Mono/.Readout/.Value/.EyebrowandNotaFonts.Sans*numbers that were added after 0.59.2 (inrole-sites.md's "new since" list:git log -S'Classes.Add("Value")' v0.59.2..HEADand the XAML class uses) toTextBlock.Number/NotaFonts.Sans*so they stay Geist under Classic (clarification, FR-009) - T024 [US1] Replace every
static readonlycache of a measure typeface introduced in T020–T022 with a call-time read (NotaFonts.Measure), so a live switch reaches custom-drawn text (research R11)
Preferences and startup
- T025 [US1] Add the Look row to the Appearance pane in
src/managed/Nota.App/PreferencesWindow.cs(AppearancePane, above the mode row) per contracts/ui-contract.md L1: a two-cell segment control New | Classic (shared segment control fromControls/), caption under it, applies on pick viaNotaThemeService.SetLook, storesLooks.Store(settings, look)and saves settings the way the accent does (PreferencesWindow.Accent.cs), Tab/arrow reachable; refresh onNotaThemeService.Changed - T026 [US1] Theme cards in
src/managed/Nota.App/PreferencesWindow.csuseNotaThemeService.WornForCardso built-in cards show classic colours and classic corners under Classic (contract L2) - T027 [US1] At startup in
src/managed/Nota.App/App.axaml.cs(whereNotaThemeService.Set(Appearance.Resolve(...))runs) resolveLooks.Resolve(startSettings)and pass it in, before the splash/first window - T028 [P] [US1] Add the English strings to
src/managed/Nota.Application/Localization/en.json:preferences.look,preferences.look_new("New"),preferences.look_classic("Classic"),preferences.look_new_caption("The current Nota look."),preferences.look_classic_caption("Colours, corners and type as in Nota 0.59.") — Russian follows via the reference sync (FR-018)
Design checks
- T029 [US1] Update
RunType()intests/Nota.SmokeTest/DesignTokenCheck.csper research R9: families in the theme are exactlyFont.UIandFont.Measure;Font.Measure's default equalsFont.UI's URI;NotaFontshasUiUriandMeasureMonoUriand nothing else Mono;assets/fontsholds the fourGeist-*.ttfand fourGeistMono-*.ttfweights and nothing else; the OFL file exists; views still never name a family by string orFontFamily.Default; Geist Mono is named only inTheme/ - T030 [US1] Run
scripts/build.sh; then quickstart § 2–3: switch live during playback (no xrun in log), compare againstv0.59.2on all four themes, restart, switch back; render the MCP preview set under New before (fromdevelop) and after and confirm identical images (SC-004); fix clipping found under Classic at 100 % and the largest UI scale without changing layout sizes (FR-016)
Checkpoint: US1 is shippable on its own.
Phase 4: User Story 2 — Classic with a user skin (P2)
Goal: Skin wins where it sets something; format 3 adds font.values; Duplicate copies
what is worn.
Independent Test: quickstart § 4 with the three skin files.
- T031 [US2] Format 3 in
src/managed/Nota.Application/Themes/ThemeFile.csper contracts/theme-file-v3.md: F1″ accepts 1–3; V1′font.valuesonly in 3; V2′fonthas optionalfamilyand (v3) optionalvalues, "each a string of 1–100 characters after trimming; at least one present; no other keys", problems namefont.family/font.values; W1′ warns for a missingvaluesfamily; reader fillsSkinGeometry.ValuesFamily; writer emitsformatVersion3 only whenValuesFamilyis set, else 2 when font/radius set, else 1 - T032 [P] [US2] Add problem/warning strings for the new rules to
src/managed/Nota.Application/Localization/en.json(themes.problem.needs_v3,themes.problem.font_values, the missing-values-font warning) - T033 [P] [US2] Format-3 cases in
tests/Nota.SmokeTest/LooksCheck.cs(Format3();DesignTokenCheck.Skins.csnow refuses format 4 instead of 3): v3 valid (family+values,valuesonly); invalid (valuesin v2, empty, 101 chars, extra key,font: {}); v1/v2 fixtures unchanged after load+save;Composewith a v3 skin keepsValuesFamilyunder both looks - T034 [US2] Duplicate in
src/managed/Nota.App/PreferencesWindow.Skins.cs: a built-in duplicated while Look is Classic writes the classic palette's colours (not the geometry) (FR-013, contract L2) - T035 [US2] Skins UI in
src/managed/Nota.App/PreferencesWindow.Skins.cs/ theme card tooltip: show the values typeface when a skin sets one; missing-family warning text names the fallback of the current look ("using Geist Mono" under Classic, "using Geist" under New) (contract L3; the warning names the missing values font and the look's own face is used — there is no separate skins editor)
Checkpoint: US1 + US2 work together; skins from #336 unchanged under New (SC-006).
Phase 5: User Story 3 — Look from MCP clients (P3)
Goal: Read/set the look and preview either look over MCP.
Independent Test: quickstart § 5.
- T036 [US3] Extend
IThemeAccessand records insrc/managed/Nota.Mcp/Abstractions.cs:ThemeChoiceInfogainsstring Look;string SetLook(string look)(returns worn id; throwsArgumentExceptionnaming "new, classic" on an unknown value);GetFile(string id, string? look);PreviewAsync(..., string? look) - T037 [US3] Implement them in
src/managed/Nota.App/Mcp/ThemeAccess.cson the UI thread:SetLookwears, stores (Looks.Store+ settings save), refreshes Preferences if open;GetFile(id, "classic")for a built-in returns the classic palette file text; previews go throughNotaThemeService.RenderScoped(theme, themeAccent, look, render)(add thelookparameter insrc/managed/Nota.App/Theme/NotaThemeService.cs, composing asApplyActivedoes and restoring the live look's measure family afterwards) - T038 [US3] In
src/managed/Nota.Mcp/Tools/ThemeTools.csaddset_look(inputlook:"new"|"classic", returns{ look, worn }), optionallookonget_themeandpreview_theme(default: worn look for previews, original file forget_theme), andchoice.lookinlist_themes; descriptions per contracts/mcp-tools.md; format 3 mentioned invalidate_theme/save_themedescriptions - T039 [US3] Verify over MCP per quickstart § 5 (list, set, get classic, preview both looks, live window untouched)
Checkpoint: all stories done.
Phase 7: User Story 4 — Solid or tinted clips (P2, scope widened)
Goal: Preferences → Appearance → Clips: Solid | Tinted; default follows the look.
Independent Test: spec User Story 4; harness renders Arrangement under each combination.
- T046 [US4] Add
public string ClipStyle { get; set; } = "";(""follows the look,"solid","tinted") tosrc/managed/Nota.Application/Settings.cs, andenum ClipStyle { Tinted, Solid }withLooks.ClipStyleOf(Settings)/Looks.StoreClipStyle(Settings, ClipStyle)insrc/managed/Nota.Application/Looks.cs - T047 [P] [US4] Smoke checks in
tests/Nota.SmokeTest/LooksCheck.cs:""× New → Tinted,""× Classic → Solid,"tinted"× Classic → Tinted,"solid"× New → Solid,"x"follows the look - T048 [US4]
ArrangementView.ClipStyleproperty (invalidates the lanes) insrc/managed/Nota.App/ArrangementView.cs, set from settings insrc/managed/Nota.App/MainWindow.axaml.csat start and onSettings.Changed - T049 [US4] Solid branch in
DrawClipBody(src/managed/Nota.App/ArrangementView.LaneControl.cs) per research R12, withClipBand/ClipInkshades restored insrc/managed/Nota.App/ArrangementView.cs; Tinted path unchanged - T050 [US4] Clips row in
src/managed/Nota.App/PreferencesWindow.cs(contract L5) + stringspreferences.clips,preferences.clips_solid,preferences.clips_tinted,preferences.clips_captioninsrc/managed/Nota.Application/Localization/en.json; refresh onNotaThemeService.Changedso a look switch moves the shown default - T051 [US4] Verify headless: Arrangement under New (identical to develop), Classic (solid), New+Solid, Classic+Tinted; update CHANGELOG, FEATURES, DESIGN.md (§ Clip: the Solid style)
Phase 6: Polish & cross-cutting
- T040 [P] Add a "Classic look" section to
DESIGN.md(the switch, classic tokens table with where each of the 15 values came from, corner table with the three deviations, the two type roles and when to useTextBlock.Number) and regenerateDESIGN.htmlwith its script - T041 [P]
CHANGELOG.md[Unreleased]→ Added: the Look switch (classic colours, corners, Geist Mono values), skinsfont.values, MCPset_look(#572) - T042 [P] Run the
nota-featuresskill: FEATURES.md entries for the Look switch, format 3, MCP - T043 Run the
nota-docsskill: Preferences → Appearance page EN + RU in../nota-docs(Look row; screenshots stay in the new look), skins page (font.values) - T044 Re-check the Nota Compliance Checklist in
specs/091-classic-look/spec.mdand tick what holds - T045 Full quickstart run (
specs/091-classic-look/quickstart.md§§ 1–6) andscripts/build.shgreen
Dependencies & Execution Order
- Setup (T001–T004) → Foundational (T005–T009) → stories.
- US1: T010 → T011 → T012; T013 → T014, T015; T016 → T017 → T018; T019 → T020–T022 [P] → T023 → T024; T025–T027 after T013; T029 after T016–T017; T030 last.
- US2 depends on Foundational (T007) and T013/T018 for wearing; T031 → T033; T034–T035 after T011.
- US3 depends on T013 and T031 (format 3 in validate/save); T036 → T037 → T038 → T039.
- Polish after the stories it documents.
Parallel Examples
- Setup: T002, T003, T004 together after T001.
- US1: T010 (palettes) beside T016–T017 (fonts); T020, T021, T022 (role sites in disjoint folders) together; T028 any time.
- US2: T032 and T033 beside T034–T035.
- Polish: T040, T041, T042 together.
Implementation Strategy
- MVP = Phases 1–3 (US1): the switch over built-in themes — what the users asked for. Ship-ready alone (quickstart § 2–3).
- +US2: skins behave predictably under Classic; format 3.
- +US3: MCP parity for the skin design loop.
- Polish, docs, full quickstart,
/speckit-converge.