-
Notifications
You must be signed in to change notification settings - Fork 21
Implement drop-down SDK language on left menu #21
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
|
@rakeshAlgo Can you rebase this so there's only one commit instead of all the commits from your local merge? |
src/js/01-nav.js
Outdated
| navMenuControl.addEventListener('click', function () { | ||
| // navWrap.style.display = 'none' | ||
| for (var i = 0; i < navItems.length; i++) { | ||
| console.log(navItems[i], 85) |
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.
All debug statements should be removed before submitting a PR.
src/partials/nav-version-control.hbs
Outdated
| {{/each}} | ||
| </ul> | ||
| {{#if (ends-with page.component.name '-sdk')}} | ||
| {{!-- {{#if (ends-with page.component.name '-sdk')}} |
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 old code instead of commenting out when submitting a PR.
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.
Ok, Sure. I"ll remove all commented code and console things as well.
Are you asking about the URL to make "SDK" a link? You can use resolvePageURL to resolve the URL of an arbitrary page, such as |
|
Yes @mojavelinux , I'm asking about the URL to make the SDK link when we click on the main menu button. |
|
@mojavelinux FYI - we discussed this in the call tonight and I clarified the SDK nav behavior. @rakeshAlgo will be updating the behavior of SDK nav and the "< Main Menu" link too. |
|
Hi @amarantha-k , In this PR border is present under the dropdown link, In the next PR it will be removed. |
amarantha-k
left a comment
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.
Noted that SDK lang switch UI will continue to be updated and expect more changes in the next PR.
|
I noticed that the UI project is not configured to allow the SDK menu to be tested in the UI preview. Would you like me to set that up to avoid having to bundle the UI and build the real site to test it? If you'd like me to do that task, please let me know what the priority is. |
|
@mojavelinux That would be a good enhancement. However, given the current tasks & priorities, I would say this is low on the priority list. |

Hi @amarantha-k ,
I remove the SDK languages from the version drop-down and place it on the left menu. By default, it is open while going on any SDK landing page.
Please look into this and provide your feedback.
And for the main menu button, the SDK landing page menu link is not rendered over this page that why when we click on the back menu button it will not go to the SDK landing page.
Please look into in screenshot below.
So, main idea is SDK landing page URL is not available on this page as you can see on the screenshot.
So @mojavelinux , can you suggest to me it will be handled by my side or backend.