Skip to content

armgit / nota

Public Imported from GitHub
0

Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.

20.7 KB
Raw Blame

Feature Specification: UI Polish Pass

Feature Branch: 012-ui-polish

Created: 2026-10-14

Status: Draft

Input: User description: "UI polish pass after the Studio restyle and colour themes, driven by a screenshot critique of 11 screens: (1) fix real layout defects — a newly added track overlapping the return tracks in the arrangement (to confirm), the Session toolbar overflowing and the inspector clipping track column headers, the Modular view showing an empty Tracks list while the project has tracks; (2) one treatment for in-window overlays (mixer, export dialog) with a header, edge and popover shadow, modelled on the command palette; (3) finish the sentence-case label rule — remove leftover all-caps and Title Case and extend the automated check; (4) one device-card header anatomy across all cards; (5) one icon set — inline icon paths moved into the shared Glyph set; (6) lighter arrangement chrome — fewer header rows above tracks, quieter browser rows, slimmer add-device target, en dash for ranges. Features and behaviour unchanged."

Clarifications

Session 2026-10-14

  • Q: Should this pass also settle the two open questions from 010 — device-card sections divided by rules instead of framed boxes, and soft menu shadows? → A: Sections divided by rules, yes; menu shadows no (later, separately).
  • User addition (same session): replace the Arrangement / Session / Modular word buttons with icons, as part of the icon-set work.
  • Q: To reach two header rows above the first track, should the Sections row or the Overview strip give way? → A: Neither. Keep the Overview, Sections and Zoom/ruler rows exactly as they are, with no removal, merge, move or restyle. Critique F9 is out of scope.
  • Q: Should the "Nota" prefix on built-in browser rows go, dim, or stay? → A: Go, in the browser rows only. Rows read "Aurora", "Bass"…, and full names ("Nota Aurora") stay everywhere else: card headers, device chain, menus and search.
  • Q: Where does the power key sit on every device-card header? → A: At the far right. The order is name, preset stepper, badges, power, as on Auto Filter today.
  • Plan finding (research R4): the mixer and export are separate OS windows, not in-window overlays. Under the test display (no window manager) they showed no frame. On macOS and Windows they have Nota's own title bar. US2 is narrowed to what users see: the mixer fits its strips, and Escape closes the mixer and export like the palette. Neither becomes an overlay.
  • Plan finding (research R8, R9): the view commands have no keyboard shortcut today, so the view keys show their name (and a shortcut only if one is assigned later). The loop readout already uses an en dash. The real number defect is the mixer scale's hyphen-minus.

Nota Context (fill in — drives plan and tasks)

Feature area (pick the main one):

  • Engine (C++, src/native/nota.engine) — real-time audio rules apply, see ARCHITECTURE.md AR table
  • Managed app (C#, src/managed/*) — domain, application, infrastructure, presentation
  • UI (Avalonia, src/managed/Nota.Presentation) — follow DESIGN.md (Studio)
  • Plugin hosting (pluginhost/) — the only place JUCE is allowed
  • Build / packaging / CI (scripts/, .github/) — see BUILD.md
  • Docs only

Nota docs to keep in mind (links relative to specs/<slug>/, where this file lands): ARCHITECTURE.md (AR rules), CONTRIBUTING.md (licensing, dependency policy, PR expectations), BUILD.md, DESIGN.md, FEATURES.md.

Depends on: 011-colour-themes, which in turn builds on 010-studio-visual-style. This branch builds on both.

Input evidence: critique.md, findings F1–F12 from a screenshot tour of 11 screens. Every requirement below traces to one or more findings.

User Scenarios & Testing (mandatory)

User Story 1 - Nothing overlaps, overflows or goes missing (Priority: P1)

A producer adds tracks, works in Session view on a laptop-sized window, and opens Modular. Every track header, toolbar control and track list is fully visible and in the right place. Nothing is drawn on top of anything else, cut off at the edge, or shown empty when there is content.

Why this priority: These are defects, not taste. A track drawn over a return track or a cut-off toolbar makes the app look broken (critique F1–F3).

Independent Test: At a 1200 × 800 window, add tracks of each type in Arrangement and check the order and spacing of headers and lanes. Open Session and check that every toolbar control and column header is fully visible. Open Modular with a project that has tracks and check the track list.

Acceptance Scenarios:

  1. Given a project with returns, When the user adds an instrument, audio or MIDI track, Then the new track appears above the returns with its full header height, and no header or lane overlaps another, both immediately and after the window repaints.
  2. Given Session view at a 1200 × 800 window, When it shows, Then every toolbar control is either fully visible or reachable from an overflow control, and no track column header is covered by the inspector.
  3. Given a project with tracks, When the user opens Modular, Then the track list shows those tracks. If the list is legitimately empty, it shows an empty state saying what to do.

User Story 2 - Floating windows behave like the palette (Priority: P1)

The mixer and the export window are separate windows with Nota's title bar. They should behave as consistently as the command palette: Escape closes them, and the mixer is exactly as wide as its strips, with no dead space.

Why this priority: The mixer and export are used constantly. A mixer with an empty half and windows that ignore Escape feel unfinished (F4, corrected by research R4).

Independent Test: Open the mixer with 2, 5 and 12 tracks and check its width. Press Escape in the mixer, the export window and the palette.

Acceptance Scenarios:

  1. Given the mixer window, When it opens, Then its width fits its strips and the master. It is at least 560 px and at most the screen width (scrolling beyond that), with no empty area to the right of the last strip.
  2. Given the mixer, the export window or the command palette, When the user presses Escape, Then it closes. The export window treats Escape as Cancel.
  3. Given macOS or Windows, When the mixer or export opens, Then its title bar names it in sentence case ("Mixer", "Export audio").

User Story 3 - One labelling voice (Priority: P2)

Every label in the app is in sentence case, with acronyms and units kept as written (MIDI, LFO, dB). No label shouts in capitals or uses Title Case.

Why this priority: The Studio rule is mostly in place already, and the leftovers stand out precisely because everything else is consistent (F5, F6).

Independent Test: Visit the screens in the critique and confirm no label is in all caps or Title Case. The automated check fails if one is reintroduced.

Acceptance Scenarios:

  1. Given the palette, Drum Rack, mixer, session toolbar, browser menu and freeze menu, When they show, Then the labels read "Suggested · Arrangement", "0 pads · 0 choke groups", "Choke", "Pan", "Add to favorites", "Stop all clips", "Capture scene", "Session rec" and "Live freeze".
  2. Given a new label in all caps or Title Case in Nota's own UI, When the automated check runs, Then it fails and names the file and line.

User Story 4 - Every device card has the same header and calmer sections (Priority: P2)

Whatever device a producer adds, its card header has the same parts in the same places: name, preset stepper, any badges, and the power key at the far right. Their eye and hand learn one layout. Inside the card, sections sit on the card's own surface, separated by thin rules rather than each framed in its own box, as the Studio rules set out.

Why this priority: Cards are where producers spend most of their time, and three different header layouts in one chain look accidental (F7).

Independent Test: Add one of every built-in device and compare the headers side by side.

Acceptance Scenarios:

  1. Given every built-in instrument, audio effect and MIDI effect, When its card shows, Then its header has, from left to right: the name, the preset stepper, device-specific badges, then the power key at the far right. Each part is in the same position and size on every card.
  2. Given a device that has no power state or no presets, When its card shows, Then the missing part's slot is empty, and the other parts do not shift.
  3. Given any built-in card with several sections, When it shows, Then its sections are divided by 1 px rules on the card surface, with no framed box around each section. Section titles, contents and positions are unchanged, and graph windows keep their own frame.

User Story 5 - One icon set, including the view switcher (Priority: P2)

Every icon in the app comes from one set, drawn on one grid with one stroke weight, so icons in the rail, browser, Settings, palette and cards look like siblings. The Arrangement / Session / Modular switcher in the transport row becomes three icon keys, freeing room in the transport.

Why this priority: The view switcher is on screen all the time, and icon keys give the crowded transport row room to breathe. One set also makes swapping or extending icons later easy (F8). Raised from P3 at the user's request.

Independent Test: Visit the left rail, browser tabs, Settings sidebar, command palette, history view and preview player and compare icon weight and size. The automated check fails if an icon is drawn outside the shared set.

Acceptance Scenarios:

  1. Given any screen, When icons show, Then they share one stroke weight and one grid, and each looks the same as before in shape and meaning.
  2. Given a view that draws an icon outside the shared set, When the automated check runs, Then it fails and names the file.
  3. Given the transport row, When it shows, Then Arrangement, Session and Modular are three icon keys in the same place and order, with the current view marked as selected (accent fill, as today). Hovering a key shows its name (and its shortcut, if one is ever assigned), and screen readers announce the view name.
  4. Given the view keys, When the user clicks one, Then the same view opens as before. View switching from the menu and the command palette is unchanged; there is no keyboard shortcut today and none is added.

User Story 6 - Lighter chrome around the work (Priority: P3)

The browser list is quieter. An empty device chain doesn't fill the dock with a dashed box. Ranges read as ranges. The arrangement's header rows (Overview, Sections, Zoom/ruler) stay exactly as they are.

Why this priority: Each item is small, and together they give calm to the main screen (F10–F12).

Independent Test: Compare the browser, the empty dock and the range readouts against the critique screenshots. Confirm the arrangement header rows are unchanged.

Acceptance Scenarios:

  1. Given the arrangement, When it shows, Then the Overview, Sections and Zoom/ruler rows are exactly as before, with the same rows, positions, contents and controls.
  2. Given the browser's built-in list, When it shows, Then each row starts with the device's own name ("Aurora", "Bass"…) without the "Nota" prefix, and the type tag is visually quieter than the name. The full name ("Nota Aurora") still appears on the device card, in the device chain and in menus, and searching "Nota Aurora" or "Aurora" still finds it.
  3. Given an empty device chain, When the dock shows, Then the add-device target is a slim element at the end of the chain. A dashed outline appears only while something is being dragged.
  4. Given any range, When it shows, Then it uses an en dash, closed between plain numbers ("1–127") and spaced when an endpoint contains a space. Negative numbers use the true minus sign everywhere, including the mixer scale ("−12").

Edge Cases

  • Small windows: at the minimum window size, the session toolbar overflow and the arrangement header changes still leave every control reachable.
  • Every theme: windows, card headers, sections and icons look right in all four built-in themes, and every theme still passes the readability bar.
  • Third-party plugin cards (VST3 / AU) use the same header anatomy for the parts Nota draws: name, preset where available, and power at the far right.
  • Devices with unusual widths (the documented card-width exceptions) keep the same header order. The parts do not stretch or reflow.
  • Labels from data (user track names, preset names, plugin names, tags) are shown as written and are never re-cased.
  • Localised or long labels must not truncate where they fitted before.

Requirements (mandatory)

Functional Requirements

Defects (US1)

  • FR-001: Adding a track MUST place its header and lane above the returns at full height with no overlap, both immediately and after any repaint (F1). If the overlap reproduces on the earlier releases too, the fix still belongs here.
  • FR-002: The session toolbar MUST keep every control fully visible or reachable through an overflow control at a 1200 × 800 window. The inspector MUST NOT cover track column headers (F2).
  • FR-003: Modular MUST list the project's tracks. When the list is legitimately empty, it MUST show an empty state naming the next action (F3).

Overlays (US2)

  • FR-004: The mixer and export windows MUST close on Escape (export as Cancel), the same as the command palette. Their window titles MUST be in sentence case (F4, research R4). They stay separate windows.
  • FR-005: The mixer window MUST size its width to its strips and the master, between 560 px and the screen width, with no dead area to the right of the last strip (F4).

Labels (US3)

  • FR-006: Every label in Nota's own UI MUST be in sentence case, with acronyms and units kept as written. The labels listed in US3/AC1 MUST change accordingly (F5, F6).
  • FR-007: The automated design check MUST fail on an all-caps or Title Case label literal in Nota's own UI and name the file and line. It MUST allow acronyms, units, proper names and labels that come from user data.

Device cards (US4)

  • FR-008: Every built-in device card's header MUST follow one anatomy, left to right: name, preset stepper, device-specific badges, then the power key at the far right, at fixed positions and sizes (clarified). A part a device lacks leaves its slot empty (F7).
  • FR-009: Plugin device cards MUST use the same anatomy for the parts Nota draws.

Icons (US5)

  • FR-010: Every icon MUST come from the shared icon set, drawn on one grid at one stroke weight, with no change in shape or meaning (F8).
  • FR-011: The automated design check MUST fail when a view draws an icon outside the shared set.
  • FR-019: The Arrangement / Session / Modular switcher MUST be three icon keys from the shared set, in the same order and place, with the selected-key treatment for the current view. Each key MUST have a tooltip with the view name (plus the shortcut, if one exists) and an accessible name. Menu and palette commands for switching views are unchanged, and no shortcut is added.
  • FR-020: Built-in device-card sections MUST be divided by 1 px rules on the card surface instead of framed boxes. Section titles, contents, positions and the card frame are unchanged, and graph windows keep their own frame (resolves 010 T066).

Chrome (US6)

  • FR-012: The arrangement's header rows (Overview, Sections, Zoom/ruler) MUST NOT be removed, merged, moved or restyled by this feature. Critique F9 is deferred (clarified).
  • FR-013: Built-in browser rows MUST show the device name without the "Nota" prefix, in the browser list only. Full names stay everywhere else, and search still matches both forms. The type tag MUST be visually quieter than the name (F10).
  • FR-014: An empty device chain MUST show a slim add-device target at the end of the chain. A dashed outline appears only during a drag (F11).
  • FR-015: Ranges MUST use an en dash, closed between plain numbers and spaced when an endpoint contains a space. Negative numbers MUST use the true minus sign everywhere numbers are shown, including the mixer scale (F12, research R9).

General

  • FR-016: No feature, shortcut, menu item, gesture or saved format may change. Device card frames, arrangement row heights and the arrangement header rows stay as they are.
  • FR-017: All changes MUST look right in all four built-in themes and keep every theme passing the readability bar.
  • FR-018: DESIGN.md MUST describe the floating-window behaviour, the device-card header anatomy and the icon-set rule. The changelog MUST record the visible changes.

Key Entities

  • Floating window: the mixer and export windows. Each has a title bar (Nota's on macOS/Windows, native on Linux), closes on Escape, and the mixer sizes to its content.
  • Device-card header: the strip at the top of a card, with fixed slots, left to right: name, preset stepper, badges, power.
  • Icon: a named shape in the shared set. It has one grid, one stroke weight, and a filled or stroked style. New in this feature: icons for Arrangement, Session and Modular.

Success Criteria (mandatory)

Measurable Outcomes

  • SC-001: A re-run of the critique's screenshot tour shows 0 of the in-scope findings left (F1–F8 and F10–F12; F9 is deferred). F1 and F3 count as closed if they are fixed or shown not to reproduce.
  • SC-002: At a 1200 × 800 window, no control in any main view is cut off, and the arrangement header rows are pixel-identical to before, apart from colour from the active theme.
  • SC-003: Every built-in device card has its power, name and preset parts at the same positions, within 1 px.
  • SC-004: The automated check finds 0 all-caps or Title Case label literals and 0 icons drawn outside the shared set. The existing design, theme and appearance checks still pass.
  • SC-005: Escape closes the mixer, export and palette in 3 of 3 cases, and the mixer's empty width to the right of the master strip is 0 px with 2, 5 and 12 tracks.
  • SC-006: Every feature in FEATURES.md is still reachable by the same path and shortcut.
  • SC-007: The view switcher takes at least 100 px less width in the transport row at a 1200 × 800 window, and every view is still one click and one shortcut away.

Assumptions

  • Scope is the critique plus the clarified additions. That means rule-divided card sections (010 T066) and icon view keys. New features, new device layouts and engine work are out of scope. Soft menu shadows (010 T067) stay out: they need menus drawn inside the window, which is a separate piece of work.
  • View-key icons are new drawings in the shared set (arrangement: horizontal lanes; session: a clip grid; modular: connected nodes), at Studio's 16 px, 1.5 px monoline spec. The final drawings are a plan and design decision.
  • Sentence case follows the existing Studio rule and acronym list. Proper nouns and product names stay capitalised ("Nota Auto Filter" keeps its capitals as a name).
  • The browser's "Nota" prefix is dropped from the browser rows only (clarified). Device names themselves are unchanged.
  • Windows stay windows. The mixer and export keep being separate windows (research R4). Preferences and plugin windows are out of scope.
  • Arrangement header rows are out of scope (clarified): Overview, Sections and the Zoom/ruler row stay as they are.
  • Screenshots come from the same Xvfb harness as 010 and 011, at 1200 × 800, in every theme.
  • Depends on 011, which in turn depends on 010, landing first or this branch carrying both.

Nota Compliance Checklist (review before implementation; re-check in tasks.md)

  • Every new source file will carry the AGPL-3.0-only SPDX header (two lines, see CONTRIBUTING.md)
  • No new dependency
  • Audio-thread impact considered: UI-only; no engine or audio-thread involvement
  • Managed/native crossings unchanged; no JUCE outside pluginhost/
  • Smoke-test impact assessed: design checks extended (FR-007, FR-011); no engine behaviour change
  • User-visible change → CHANGELOG.md [Unreleased] entry planned (FR-018); FEATURES.md only if a described behaviour changes
  • UI change → follows DESIGN.md (Studio design language)