feat: first cut at menu editor

This commit is contained in:
2026-02-21 19:51:34 +01:00
parent f371dbd2b2
commit 76c3a8368e
37 changed files with 2148 additions and 4 deletions

View File

@@ -63,4 +63,15 @@ describe('Help menu documentation entry', () => {
it('maps Edit Preferences to a renderer menu event', () => {
expect(APP_MENU_ACTION_EVENT_MAP.editPreferences).toBe('menu:editPreferences');
});
it('includes Edit Menu action in Blog menu', () => {
const blogGroup = APP_MENU_GROUPS.find((group) => group.label === 'Blog');
expect(blogGroup).toBeDefined();
expect(blogGroup?.items.some((item) => item.action === 'editMenu')).toBe(true);
});
it('maps Edit Menu to a renderer menu event', () => {
expect(APP_MENU_ACTION_EVENT_MAP.editMenu).toBe('menu:editMenu');
});
});