Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Help Header App + Menu #2261

Merged
merged 19 commits into from
Sep 13, 2024
Merged

Conversation

madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Sep 10, 2024

Description

This PR adds a "Help" header app, which includes a "Help" menu with links to the Umbraco Learning Base and Our. The two links are visible only to administrators. The feature is built on the "Menu" feature, allowing anyone to add additional menu items to the "Help" menu.

To register a custom link menu item in the Help menu:

import { UMB_HELP_MENU_ALIAS } from '@umbraco-cms/backoffice/help';

const manifest = {
  type: 'menuItem',
  kind: 'link',
  alias: 'My.MenuItem.NameOfLink',
  name: 'Name Of Link Menu Item',
  weight: 300,
  meta: {
    menus: [UMB_HELP_MENU_ALIAS],
    label: 'My Link',
    icon: 'icon-hearts',
    href: 'https://...',
  }
};

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

@madsrasmussen madsrasmussen marked this pull request as ready for review September 11, 2024 11:14
Copy link

Copy link
Member

@nielslyngsoe nielslyngsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@nielslyngsoe nielslyngsoe merged commit 4b1ade7 into v15/dev Sep 13, 2024
8 checks passed
@nielslyngsoe nielslyngsoe deleted the v15/feature/help-header-app branch September 13, 2024 07:50
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.

2 participants