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:
parent
a0ceb56309
commit
1ce7783a2e
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user