-
Notifications
You must be signed in to change notification settings - Fork 174
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
Open profile items in a modal window #1083
Open profile items in a modal window #1083
Conversation
core/src/Authorization.html
Outdated
typeof item.openNodeInModal === 'object' && | ||
item.openNodeInModal !== null | ||
) { | ||
const route = RoutingHelpers.buildRoute(item, `/${item.link}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
route
is in my case //settings
. I would remove the slash.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me 👍
* master: remove tech writers and add alex to default users (#1104) update sample app (#1106) Update README.md release-v0.7.5 (#1102) Svelte example app (#1070) update fiddle (#1100) Open profile items in a modal window (#1083) # Conflicts: # .travis.yml # test/e2e-test-application/package-lock.json # test/e2e-test-application/package.json
Steps to reproduce:
Go to
core/examples/luigi-sample-angular/src/luigi-config/extended/navigation.js
find settings node and replace with this one{ pathSegment: 'settings', hideFromNav: true, hideSideNav: true, label: 'Settings', viewUrl: '/sampleapp.html#/settings' }
.In the same file, find getProfileItems and in items array add this node
{ label: "Settings", icon: "action-settings", link: "/settings", openNodeInModal: { title: "Settings M", size: "m" } }
.Before changes:
After changes: