Repository navigation
Multi-head 6/7: documentation page and diagrams - #101
Conversation
In-app guide covering prerequisites, color runs and windows, the Head Schedule, the combination search space and search depth, with four diagrams. Diagrams follow the docs accessibility convention (role, title, description) and use American spelling. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Unit test results for this branch ( |
vycdev
left a comment
There was a problem hiding this comment.
Automated code review
Verdict: Needs changes · Findings: 3 (3 inline)
Scope: only what this PR adds on top of #100; the earlier PRs in this stack are reviewed in their own threads.
This PR adds the multi-head guide, four SVG diagrams, navigation, and a changelog entry. Docs tests (3/3), i18n tests (10/10), and read-only TypeScript compiler checks pass. However, translation-coverage and diagram-layout build checks fail, and the page's navigation metadata is missing even in English.
Reviewed by GPT 6.1 Sol
| --- | ||
| title: Multi-Head Printing | ||
| slug: multi-head-printing | ||
| order: 65 |
There was a problem hiding this comment.
[high] Include translated guides before exposing the new page
None of the 11 non-English locales has this guide. loadTranslatedDoc throws without falling back, so opening /fr/docs/multi-head-printing, for example, displays a load error that retry cannot resolve. This also blocks production builds: node scripts/check-translations.mjs, invoked by npm run build, reports 11 missing-guide errors. Add the translated guides and matching localized metadata before registering this page.
Reviewed by GPT 6.1 Sol
| @@ -0,0 +1,74 @@ | |||
| <svg xmlns="http://www.w3.org/2000/svg" width="820" height="540" viewBox="0 0 820 540" role="img" aria-labelledby="title desc"> | |||
There was a problem hiding this comment.
[high] Integrate the new SVGs with diagram localization
All four new SVGs lack data-i18n annotations and corresponding entries in the diagram catalogs. The static localized-page generator enumerates every SVG and calls Object.values on its catalog entry, so these files cause a TypeError even after the missing guides are supplied. Independently, node scripts/check-diagram-layout.mjs fails because the added SVGs invalidate the committed measurement hash. Add the localization annotations/catalog entries and regenerate the checked-in diagram measurements.
Reviewed by GPT 6.1 Sol
| 'flat-paint', | ||
| 'calibration-workflows', | ||
| 'calibration-theory', | ||
| 'multi-head-printing', |
There was a problem hiding this comment.
[medium] Add the guide's English navigation metadata
The sidebar obtains titles through t('docsMeta:<slug>.title'), but multi-head-printing is absent from src/locales/en/docsMeta.json and every translated catalog. Consequently, even with English selected, this new link displays multi-head-printing.title instead of the guide's title; the Markdown frontmatter is not used as a fallback here. Add title and description entries to the metadata catalogs.
Reviewed by GPT 6.1 Sol
# Conflicts: # CHANGELOG.md
- Add translated guides and navigation metadata for all locales - Localize four diagrams and regenerate text measurements - Align workflow explanations with routing, schedules, exports, and fallback - Add reciprocal Auto-paint links and documentation regression checks
- Preserve reviewed mappings, optics, reconciliation, scheduling, routing, and build lifecycle - Integrate Color grouping with final-stack analysis and build snapshots - Localize grouping controls and combine guide and changelog changes - Adapt integration regressions while preserving localized guides for the next step
Fixes for the automated reviewPushed This branch also merges the fixed lower layers (#100), so it builds on the corrected code. Findings
Also fixed
Verification: Fixed by GPT 6.1 Sol |
vycdev
left a comment
There was a problem hiding this comment.
Automated code review: second pass
Verdict: Looks good · New or remaining findings: 0
Reviewed head 6048cd9, which includes the fixes for the first review. Scope: only what this PR adds on top of #100; the other PRs in this stack are reviewed in their own threads.
All three first-pass findings are resolved. The localized guide and diagrams match the implemented routing, reload schedule, export, and fallback behavior; no new actionable defects were found in this PR’s changes above #100. npm run test:docs (5/5), npm run test:i18n (10/10), npm run check:i18n, and npx tsc -b --noEmit all passed.
First-pass findings
- ✅ Resolved: Include translated guides before exposing the new page. All 11 non-English guides are present with matching localized metadata and reciprocal Auto-paint links. Translation checks and documentation tests pass.
- ✅ Resolved: Integrate the new SVGs with diagram localization. All four SVGs have localization annotations, catalogs for every locale, and label bounds. Catalog localization tests and the committed measurement-hash check pass.
- ✅ Resolved: Add the guide's English navigation metadata. All 12 docsMeta catalogs now contain the guide’s title and description. The regression test verifies that these match each guide’s frontmatter.
Reviewed by GPT 6.1 Sol
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
Second-round fixes merged inPushed This branch merges the second-round fixes from the lower layers (#100), so it builds on the corrected code. The second review found nothing new in this PR's own changes, so there are no other edits here. Verification: After the merge: full unit suite 1,034/1,034, Reviewed by GPT 6.1 Sol |
- Say that window size is also limited by the runs above the first run, and that heads that are not needed stay EMPTY in the head schedule - Update the guide in all 12 languages
Guide update for the head-count fixPushed
Verification: after the merge, full unit suite 1,036/1,036, Fixed by Claude Opus 5.5 |
Search fix merged inPushed Verification: after the merge, full unit suite 1,038/1,038, Fixed by Claude Opus 5.5 |
…o mph-split-6-docs # Conflicts: # CHANGELOG.md
- Say that builds also fall back when the predicted improvement is too small to justify the head swaps - Update the guide in all 12 languages
…o mph-split-7-color-grouping # Conflicts: # CHANGELOG.md
|
Note 🤖 Claude Opus 5.5 responding on behalf of Victor Sandu The guide now explains the new fallback. Pushed The Fallback and Rebuilding section says builds also fall back when the predicted improvement is too small to justify the head swaps. This is updated in all 12 languages. The fallback notice in the app is unchanged, so it still says "found no layout that improves the normal stack". Verified: after the merge, unit suite 1,043/1,043, |
Sixth of seven PRs splitting up #38 (Multi Print Head Capability).
Depends on the earlier parts, mainly #100. Until they merge, this diff also shows them; the new files are
src/docs/multi-head-printing.mdand four SVGs undersrc/assets/diagrams/.What
An in-app guide for Multi-head printing: prerequisites, how layers become color runs and windows, the Head Schedule, the combination search space, and what Fast/Balanced/Thorough search depth change. The four diagrams follow the docs accessibility convention (
role,<title>,<desc>).Known gap
There is no translated
multi-head-printing.mdfor the 11 non-English locales, so those users would get a missing-translation error on this page. Needs translations or an English fallback before release.Tests
Covered by the existing docs test, which checks every docs image for accessibility tags (
test:docspasses;test:i18npasses).tscis clean and the full unit suite passes (978 tests, 0 failures, 1 skipped).Series
mph-split-5-ui-wiring)mph-split-6-docs)mph-split-7-color-grouping)🤖 Generated with Claude Code