Skip to content

feat(minimap): page the archive by day with a calendar (#78) - #172

Merged
mrcsin merged 1 commit into
masterfrom
minimap-calendar
Nov 12, 2026
Merged

mrcsin merged 1 commit into
masterfrom
minimap-calendar

Conversation

@mrcsin

@mrcsin mrcsin commented Nov 12, 2026

Copy link
Copy Markdown
Member

Problem

With six months in the archive the minimap read 250 columns over the whole extent, about 17 h per column, so a working day's shape was lost, and reaching a given recipe run meant panning by hand even though the SCADA stores every run start, end and interruption as a locked marker.

Change

  • Detail strip under the chart. It shows one page that follows the chart zoom: a day's working hours (derived from the data, P5-P95 of each day's first and last sample), a Monday-Sunday week, or a month, at the strip's width. Recipe runs are shaded on a day page. A live day page holds still: whether the window fits is judged against the newest sample.
  • Day calendar under the strip. One capped cell per archive day, right-anchored so today sits above the live edge, shaded by working-hour coverage, the shown page outlined, operator-marker ticks, month labels (plus Mondays on archives of 42 days or less), and a tooltip with the day's data hours and marker count. A click lands on the nearest day with rows.
  • Page steps. The chevrons and Alt+Left/Right step to the previous or next page with rows and land the chart on data.
  • Recipe runs and operator markers. The navigation bar steps runs (Ctrl+Left/Right, Ctrl+End) and markers (Ctrl+Shift+Left/Right). "Рецепт" and "Метки" open one shared list: whole archive, grouped by month, word filter, fixed 10-row viewport, opening at the entry nearest the chart window (Ctrl+R, Ctrl+M). A new Go menu carries every step and gesture.
  • Archive day-spans read (first and last sample per day) feeds the calendar and the landing.
  • Tooltips no longer inherit trimming or unrounded layout from their owner, which had cut them short inside flyouts.
  • The plan moves to docs/plans/completed/.

Verification

  • dotnet build SemiPlot.slnx: 0 errors; dotnet format --verify-no-changes: clean.
  • SemiPlot.Tests.Unit: 3173 passed on the tested tree; integration day-spans and explain-plan tests passed against Docker during the work.
  • Reviewed by quality, implementation, testing, simplification, documentation, smells and comment-audit passes, plus a redundancy check and an independent final review; all findings fixed or recorded.
  • Tested by hand on the six-month stand (feat(bench): add a six-month working-day stand (#76) #171).
  • Not covered headlessly and left to a person: Ctrl+Left inside the marker label editor as a real Win32 popup, and Alt+Left/Right on a real keyboard.

Implements most of #78. A bounded strip span and separate stepping arrows were replaced by the day calendar and the page that follows the zoom.

Branch history before the split (two-track-minimap)
52b1236 docs(plans): add the two-track minimap plan (#78)
5621afd feat(bench): add the shift schedule model
7712665 feat(bench): generate rows under a shift schedule
1cae286 feat(bench): add schedule, days and pens keys to converge
033576d feat(bench): stream the seed and write recipe markers
241aefe docs(bench): record the six-month shifts stand
d0a4075 feat(data): add the archive day-spans read
db3d5b4 feat(minimap): add the page model
185c541 feat(markers): add the marker navigation model
e5eea3d feat(minimap): add the two-track geometry
a4be67a feat(minimap): add the archive presence feed
d137172 feat(minimap): add the page pager
e7e85fb feat(minimap): read the band over the detail page
4b7a20a feat(minimap): add the archive track
c6f7e7b feat(minimap): add the detail track and its controls
1c763f7 docs(minimap): document the two tracks and day spans
93871e1 feat(nav): add recipe-run and marker steps
1e4f905 feat(nav): add the run group and the marker list
fb8739e feat(nav): add the Go menu and window gestures
17e7687 docs(bench): record the stand after the minimap
0f939ca test(minimap): tell band reads by their request
ce98034 fix(nav): name gestures in tooltips as the Go menu does
7953556 fix(minimap): wait for the day spans before steps
b148b42 test(bench): check the marker zone on any host
95ab2be test(data): cover a cancelled day-spans read
5e5f1c0 test(nav): click each Go step with the bar hidden
c99028c refactor(core): one wall-clock helper, one search
1dfd431 refactor(nav): run the Go item a key names
2fb7a27 refactor(minimap): cut duplicate page, marker code
642592c refactor(minimap): share the tracks' pointer code
b1d02bd docs(repo): record the review in plan and backlog
e0f5d90 refactor(minimap): close second review smells
8a0b35f refactor(minimap): archive track as own control
c4c3bb2 docs(repo): cut restated and stale comments
df9c12d docs(plans): record the exec run and its checks
4fecf23 feat(minimap): show the archive as a day calendar
2e7b533 feat(bench): add the six-month demo stand
7d84443 feat(minimap): follow the zoom and list recipe runs

🤖 Generated with Claude Code

With six months in the archive the minimap read 250 columns over the
whole extent, about 17 h per column, so a working day's shape was
lost and reaching a recipe run meant panning by hand. The strip
under the chart now shows one page that follows the chart zoom, a
day's working hours, a week or a month, at the strip's width, and a
day calendar under it marks the days with rows, the shown page and
the operator's markers. Page steps skip days without rows. The
navigation bar, a new Go menu and window gestures step through
recipe runs and operator markers, and both open one filtered list
grouped by month. A new archive day-spans read feeds the calendar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrcsin
mrcsin marked this pull request as ready for review November 12, 2026 09:39
@mrcsin
mrcsin merged commit f928554 into master Nov 12, 2026
2 checks passed
@mrcsin
mrcsin deleted the minimap-calendar branch November 12, 2026 09:46
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