Fix Ignition view.json: match working Testing_View structure

- Component gets meta.name + position at same level as type/props
- Root container uses props.mode="percent" not direction="column"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
igurielidze 2026-03-30 22:49:04 +04:00
parent a0ceb56309
commit 1ce7783a2e

View File

@ -557,9 +557,13 @@ export async function deployToIgnition() {
defaultSize: { height: layout.canvasH, width: layout.canvasW },
},
root: {
children: [component],
children: [{
meta: { name: viewName },
position: { width: 1, height: 1 },
...component,
}],
meta: { name: 'root' },
props: { direction: 'column' },
props: { mode: 'percent' },
type: 'ia.container.coord',
},
}, null, 2);