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

feat: add a mechanism to hide top-level nav items #7323

Merged
merged 1 commit into from Dec 5, 2019
Merged

feat: add a mechanism to hide top-level nav items #7323

merged 1 commit into from Dec 5, 2019

Conversation

gashcrumb
Copy link
Contributor

@gashcrumb gashcrumb commented Dec 4, 2019

relates to ENTESB-11500

This can be used to hide the "Extensions" nav item as needed, or any other item in the nav bar. Note that this currently only works for the main navigation but this can be further built upon as needed to hide other elements as needed.

It's driven by the features attribute in the config.json file and I've added some examples:

image

The key name corresponds to the module name, i.e. "extensions" here is compared to the URL that the navigation item has for it's route. So to hide the link to a section of the app you look at the URL bar, for example "extensions":

image

That's the key you'd use in the features map. And it won't blow up if these keys aren't present.

Oh, and also the "logging" entry that's being removed from the example config.json files is cruft.

@pull-request-size pull-request-size bot added the size/m Medium label Dec 4, 2019
@gashcrumb gashcrumb merged commit 2c884b6 into syndesisio:master Dec 5, 2019
@syndesisio-bot
Copy link

@gashcrumb The bot could not transition the ticket automatically, please update this Jira ticket manually: https://issues.redhat.com/browse/ENTESB-11500

@gashcrumb gashcrumb deleted the ENTESB-11500 branch December 5, 2019 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/m Medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants