feat: Add a simple mode to the visual card editor (#2588)

This commit is contained in:
Dermot Duffy authored and GitHub committed 2026-07-21 19:13:29 -07:00
1 parent b6e1de5999
commit e29c0826cf
56 files changed
+1722 -353

No files matched your search

@@ -28,7 +28,7 @@ describe('SectionController', () => {
it('should build the forms of the requested section', () => {
const { controller } = createController();
controller.setInput({ kind: 'section', name: 'menu' }, INPUT);
controller.setInput({ kind: 'full-section', name: 'menu' }, INPUT);
const contexts = controller.getContexts();
expect(contexts.length).toBeGreaterThan(0);
@@ -39,7 +39,7 @@ describe('SectionController', () => {
const { host, controller } = createController();
const listener = vi.fn();
host.addEventListener('advanced-camera-card:editor:intent', listener);
controller.setInput({ kind: 'section', name: 'menu' }, INPUT);
controller.setInput({ kind: 'full-section', name: 'menu' }, INPUT);
controller
.getContexts()[0]