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

Simplified secondary navigation #1086

Merged
merged 13 commits into from
Mar 31, 2020
Merged

Conversation

sdorra
Copy link
Member

@sdorra sdorra commented Mar 31, 2020

Proposed changes

This PR simplifies the collapse state management of the secondary navigation. The Menu is now collapsible regardless if the entry has sub navigation items or not. The menu gets automatically uncollapsed on every interaction with the menu.

The ExtensionPoint component is now able to handle react component instances and not only react components (Foo vs ). Also a propTransformer was introduced to transform the react props which are delegated to the extensions.

This should make the menu behave more consistent and simplifies the implementation drastically.

Your checklist for this pull request

  • PR is well described
  • Target branch is not master (in most cases develop should bet the target of choice)
  • Code does not conflict with target branch
  • New code is covered with unit tests
  • CHANGELOG.md updated
  • Documentation updated (only necessary for new features or changed behaviour)

Checklist for branch merge request (not required for forks)

@sdorra sdorra added the enhancement New feature or request label Mar 31, 2020
@eheimbuch eheimbuch merged commit 2b50364 into develop Mar 31, 2020
@eheimbuch eheimbuch deleted the bugfix/navigation_ep_with_submenu branch March 31, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants