Skip to content

refactor(pens): suffix the start scale pair _on_start - #112

Merged
mrcsin merged 1 commit into
masterfrom
on-start-scale-pair
Oct 7, 2026
Merged

mrcsin merged 1 commit into
masterfrom
on-start-scale-pair

Conversation

@mrcsin

@mrcsin mrcsin commented Oct 7, 2026

Copy link
Copy Markdown
Member

Problem

SemiBase v0.5.0 (Semiteq/SemiBase#14) renamed semiplot_tags.scale_min/scale_max to
scale_min_on_start/scale_max_on_start, so every start value carries the _on_start suffix.
master still reads the old names: against the current ghcr.io/semiteq/semibase:latest its catalogue
read fails with 42703 and the container tests are red.

Change

  • SQL: both catalogue SELECTs, the editor's pair update and the seeder's upsert name the new columns.
  • C#: every member named for the stored pair takes the suffix (Pen, StoredPen, SyntheticPen,
    PenCatalogColumn, PenColumn, the form drafts; PenSettingChange.ScaleOnStart,
    PenField.ScaleOnStart, UpdatePenScaleOnStart), and the resource keys follow. Operator text is
    unchanged.
  • Docs in docs/architecture use the new names.

Prepares #72; the log10 axis follows in its own pull request.

Verification

  • dotnet build SemiPlot.slnx: 0 errors; dotnet format --verify-no-changes: clean.
  • SemiPlot.Tests.Unit: 1668/1668.
  • git grep -nwE "scale_min|scale_max|ScaleMin|ScaleMax" -- ':!docs/plans' prints nothing.
  • The container tests run in this pull request's linux job against SemiBase v0.5.0.

SemiBase v0.5.0 renamed semiplot_tags.scale_min/scale_max to
scale_min_on_start/scale_max_on_start: a column holding what a pen
opens with carries the _on_start suffix, as enabled_on_start does. The
catalogue reads, the editor's update and the bench seeder name the new
columns, so the viewer reads a v0.5.0 database again.

The C# members named for the stored pair follow the column: Pen,
StoredPen and SyntheticPen expose ScaleMinOnStart/ScaleMaxOnStart,
PenSettingChange.Scale and PenField.Scale become ScaleOnStart, and the
pen editor's columns, drafts and resource keys take the same suffix.
The operator text does not change.
@mrcsin
mrcsin marked this pull request as ready for review October 7, 2026 11:25
@mrcsin
mrcsin merged commit 10a12db into master Oct 7, 2026
2 checks passed
@mrcsin
mrcsin deleted the on-start-scale-pair branch October 7, 2026 11:29
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