Skip to content

feat(contexts): edit the menu when creating an application - #23

Open
remko48 wants to merge 1 commit into
stack/m3-menu-nestingfrom
stack/m4-menu-editor
Open

remko48 wants to merge 1 commit into
stack/m3-menu-nestingfrom
stack/m4-menu-editor

Conversation

@remko48

@remko48 remko48 commented Oct 12, 2026

Copy link
Copy Markdown
Member

The create application dialog gets a menu editor, so an application can be created with its menu in one go.

What changes

  • MenuItemsEditor: an ordered list of menu items. Each item has an icon, a label and what it opens: a view, a page with widgets, a table or an external link. Picking a target fills in an empty label.
  • Ordering and nesting: entries can be dragged, and every entry also has move up/down and indent/outdent buttons, so the menu can be arranged with the keyboard. A parent moves together with its children; removing a parent moves its children to the top level instead of deleting them.
  • ApplicationIcon: shows a material icon by name, used for the menu item icons.
  • menuItems.js: turns the editor's list into the API payload, including parentIndex for nested items.
  • CreateContext: sends the menu with the new application.

🖼️ Screenshots

🏚️ Before 🏡 After
|

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔙 Backport requests are created or not needed: /backport to stableX.X
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

The create dialog gets a menu editor. Every entry opens a view, a table or
an external link, can carry an icon and can sit under the top-level entry
above it, one level deep.

- entries are reordered by dragging or with move buttons, and moved in and
  out of a parent with indent buttons, so the menu can be arranged with
  the keyboard
- a parent moves together with its children; removing a parent moves its
  children to the top level

Co-authored-by: Ruben van der Linde <ruben@conduction.nl>
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Remko <remko@conduction.nl>
@remko48
remko48 added this pull request to stack #24 October 12, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant