Skip to content

feat: add navigation actions to the waffle menu - #63134

Open
susnux wants to merge 2 commits into
masterfrom
feat/navigation-actions
Open

feat: add navigation actions to the waffle menu#63134
susnux wants to merge 2 commits into
masterfrom
feat/navigation-actions

Conversation

@susnux

@susnux susnux commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Tip

For testing best to use the example implementation here: nextcloud/calendar#8714

This implements navigation action similar to navigation entries, but they have a dedicated section in the waffle menu with an overflow menu. Actions allow either a link or the more interesting in-app action.
If no link is supplied the action will trigger an event on the event bus (core:navigation:action) with the action object as the payload.
This allows apps to listen and handle such events and then render e.g. a dialog to create an event or do what ever action they registered (see the linked example for creating events above).

This also fixes some issues unrelated in the app menu:

  • On narrow screens the height of the waffle menu was not limited - this is fixed now
  • Once the menu was clamped the actual row height was invalid causing overflow of app navigation labels

Action flow

Bildschirmaufnahme_20260810_222403.webm

Screenshots

Normal waffle

image

Overflow menu

image

No overflow menu needed

image

Narrow screen

image

No actions registered

image

Checklist

AI (if applicable)

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

@susnux susnux added this to the Nextcloud 35 milestone Aug 10, 2026
@susnux
susnux marked this pull request as ready for review August 10, 2026 20:30
@susnux
susnux requested review from a team as code owners August 10, 2026 20:30
@susnux
susnux requested review from come-nc, icewind1991, kristian-zendato, pringelmann, provokateurin, skjnldsv and sorbaugh and removed request for a team and skjnldsv August 10, 2026 20:30
@susnux
susnux force-pushed the feat/navigation-actions branch from 4d6f384 to b5b56ed Compare August 10, 2026 20:46
susnux added 2 commits August 12, 2026 13:52
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux force-pushed the feat/navigation-actions branch from b5b56ed to 61b2154 Compare August 12, 2026 11:54
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App navigation: file creation actions in waffle menu App Navigation Redesign

1 participant