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

refactor(interior-left-nav): Update to 7.x #33

Merged
merged 7 commits into from
Apr 17, 2017
Merged

refactor(interior-left-nav): Update to 7.x #33

merged 7 commits into from
Apr 17, 2017

Conversation

marijohannessen
Copy link
Contributor

Overview

Resolves https://github.ibm.com/Bluemix/bluemix-components/issues/2112

Updated the interior left nav as it was the 6.x version (and the 7.x version was in the v6 release).

Changed

Changed all occurrences of inline-left-nav to interior-left-nav.

@hellobrian
Copy link
Contributor

image

Lots of ESLint errors

@hellobrian
Copy link
Contributor

👍 ✅ ❗️

@iangfleming
Copy link
Contributor

Linting is failing! but besides that it looks good 👍

@tw15egan
Copy link
Member

👍 ✅

@tw15egan tw15egan merged commit 06d9491 into carbon-design-system:master Apr 17, 2017
@@ -183,3 +183,4 @@ module.exports = function (config) {
concurrency: Infinity,
});
};

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change to this file seems necessary.

@@ -136,3 +136,4 @@ module.exports = function (config) {
concurrency: Infinity,
});
};

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change to this file seems necessary.

this.element.dataset.collapsed = true;
this.element.classList.add(this.options.classLeftNavCollapsing);

window.setTimeout(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No window prefix is necessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The timer should be cancelled when user expands/collapses again. Otherwise the code introduces possibility of race condition (note that the timeout duration is approximate, not guaranteed).

this.element.classList.remove(this.options.classLeftNavCollapsed);
this.element.classList.add(this.options.classLeftNavExpanding);

window.setTimeout(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No window prefix is necessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The timer should be cancelled when user expands/collapses again. Otherwise the code introduces possibility of race condition (note that the timeout duration is approximate, not guaranteed).

joshblack referenced this pull request in joshblack/carbon May 2, 2019
joshblack referenced this pull request in joshblack/carbon May 2, 2019
Remove an out of date ref to addon-info
joshblack referenced this pull request in joshblack/carbon May 8, 2019
* chore: sync offline mirror

* feat(grid): add grid package

* chore: sync offline mirror
designertyler pushed a commit to designertyler/carbon that referenced this pull request Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants