fix(ui): split ViewBuilders for Swift 5.7 ten-child limit (#146) #157

Merged
gronod merged 1 commits from fix/146-viewbuilder-ten-child into milestone/m10-studio 2026-09-13 13:35:39 +01:00
Owner

Refs #146

Fix for Actions run 33666 (Xcode 14.2 / Swift 5.7): ViewBuilder.buildBlock caps at 10 children.

  • SidebarView.body had 14 children → extracted header / presetBlock / mediaBlock / studioButtons / stepperAndProject as layout-transparent Group subviews → outer body now 5
  • SaveMediaRecipeDialog.body had 13 children → extracted fields (4 TextFields) + readOnlyRows (4 captureRows) → outer body now 7
  • Audited SpotReadView, GamutView, ProjectUI, RootView, SettingsView, Stage1View, Stage4View, ManageMediaDialog — all ≤ 10 already
  • No identifier, order, 270 pt sidebar width, help-overlay, disabled-rule, or sheet-presentation change

Local gate (DerivedData-fix-146-viewbuilder): 439 ICCeryCoreTests + 49 ICCeryUITests, 0 failures, real Automation attach. Proof is this Actions re-run on #156do not merge #156.

Refs #146 Fix for Actions run **33666** (Xcode 14.2 / Swift 5.7): `ViewBuilder.buildBlock` caps at 10 children. - `SidebarView.body` had **14** children → extracted `header` / `presetBlock` / `mediaBlock` / `studioButtons` / `stepperAndProject` as layout-transparent `Group` subviews → outer body now **5** - `SaveMediaRecipeDialog.body` had **13** children → extracted `fields` (4 TextFields) + `readOnlyRows` (4 captureRows) → outer body now **7** - Audited `SpotReadView`, `GamutView`, `ProjectUI`, `RootView`, `SettingsView`, `Stage1View`, `Stage4View`, `ManageMediaDialog` — all ≤ 10 already - No identifier, order, 270 pt sidebar width, help-overlay, disabled-rule, or sheet-presentation change Local gate (`DerivedData-fix-146-viewbuilder`): 439 ICCeryCoreTests + 49 ICCeryUITests, **0 failures**, real Automation attach. Proof is this Actions re-run on #156 — **do not merge #156**.
gronod added the Kind/Bug
Priority
High
2
Project/ICCery-v2Feature/UI
labels 2026-09-13 13:35:26 +01:00
gronod added 1 commit 2026-09-13 13:35:27 +01:00
Actions run 33666 (Xcode 14.2, macOS 12) failed to compile: the
sidebar VStack had 14 children and SaveMediaRecipeDialog had 13,
over the Swift 5.7 ViewBuilder 10-child cap. Extracted
layout-transparent Group subviews (header/presetBlock/mediaBlock/
studioButtons/stepperAndProject; fields/readOnlyRows) — no id,
order, or layout change.

Refs #146

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
gronod merged commit 3d8e70be62 into milestone/m10-studio 2026-09-13 13:35:39 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/iccery-v2-mac#157