Skip to content

feat(ui): add display toggles and trend dots - #22

Merged
mrcsin merged 1 commit into
masterfrom
display-toggles
Nov 16, 2026
Merged

mrcsin merged 1 commit into
masterfrom
display-toggles

Conversation

@mrcsin

@mrcsin mrcsin commented Nov 16, 2026

Copy link
Copy Markdown
Member

Problem

The client asked to stop showing the Q factor and to draw the intensity trend as dots instead of connected values. With an oscillating sample the line turns into a comb of vertical strokes that cannot be read.

Change

  • The readout pane hides the Q factor row by default. The row gap moved from the grid's row spacing to the texts' top margin, so the hidden row leaves no extra 8 px gap.
  • The trend draws a 3 px dot at each pixel column's minimum and maximum, with no line. The old line stays as the Trend as lines mode.
  • Two View menu items, Q factor and Trend as lines, switch both choices. DisplaySettingsViewModel is their single writer.
  • The choices persist in C:\DISTR\Config\SemiSpec\settings.yaml (YamlDotNet 18.1.0, as in SemiPlot). A run without the installer falls back to %LOCALAPPDATA%\SemiSpec\Config and logs a Warning. An unreadable file or a failed save shows one Warning in the message panel.
  • The installer creates C:\DISTR\Config\SemiSpec with users-modify and uninsneveruninstall.
  • docs/architecture/README.md: the locked Startup row now allows the one settings file.
  • docs/plans/20261116-trend-normalization-and-display-toggles.md: PR 1 of 3. Normalization and .NET 11 follow in separate PRs.

Verification

  • dotnet build SemiSpec.slnx -c Release: 0 warnings, 0 errors.
  • dotnet test: 1092 passed, 0 skipped. 16 tests are new: the settings file, the display settings view model, the hidden Q row spacing, the menu items, the dots geometry and render, and the mode switch.
  • dotnet format --verify-no-changes and terse over every SemiSpec/*.cs: exit 0.
  • The operator ran the app against the board emulator and approved the dots, the menu and the hidden Q row.
Per-task commits before collapse
2983a42 feat(ui): add display toggles and trend dots
8cf233b docs(plans): add trend normalization and toggles plan

🤖 Generated with Claude Code

The client asked to stop showing the Q factor and to draw the intensity
trend as dots instead of connected values: with an oscillating sample
the line turns into a comb of vertical strokes that cannot be read.

The readout pane now hides the Q factor row by default, and the trend
draws a 3 px dot at each pixel column's minimum and maximum. Two View
menu items, Q factor and Trend as lines, bring the old look back in case
the client changes his mind. The choices persist in
C:\DISTR\Config\SemiSpec\settings.yaml, the folder SemiPlot and SemiStep
use; the installer creates it with modify rights for users, and a run
without the installer falls back to %LOCALAPPDATA%\SemiSpec\Config.
This revises the locked "no config files" startup decision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrcsin
mrcsin marked this pull request as ready for review November 16, 2026 13:05
@mrcsin
mrcsin merged commit fe0d4de into master Nov 16, 2026
1 check passed
@mrcsin
mrcsin deleted the display-toggles branch November 16, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant