-
Notifications
You must be signed in to change notification settings - Fork 17
feat(Navigation): relocate tenant nav to main space #936
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
Conversation
|
It seems it's not navigation any longer and not a part of navigation. Let's rename it to let say |
| "controls.query-mode-selector_type": "Query type:", | ||
|
|
||
| "tabs.newQuery": "Query", | ||
| "sections.query": "Query", |
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.
This translations should not be here. The better place is /Tenant/ObjectGeneral/TenantWorkModes/i18n
And please remove old translations from AsideNavigation translations.
| size="l" | ||
| className={b('body')} | ||
| defaultValue={getCurrentItem().id} | ||
| options={Object.values(navigationItems).map(transformItemToOption)} |
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.
Why do you need to use Object.values here?
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.
Forgot to change this line
I used to make an object from the array (array to indexed), but dropped the idea eventually
| id: TENANT_PAGES_IDS.query, | ||
| title: i18n('pages.query'), | ||
| icon: Terminal, | ||
| iconSize: 20, |
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.
Please remove this property, it is set for all items in a row in return.
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.
That's the original code, I made no changes xd
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.
I agree it should be done this way btw
dfb0e22 to
895ff85
Compare
895ff85 to
1cc4ccc
Compare
No description provided.