-
Notifications
You must be signed in to change notification settings - Fork 90
Add uib
prefixes in accordance to migration guide
#353
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
Add uib
prefixes in accordance to migration guide
#353
Conversation
Migrate deprecated `angular-ui-bootstrap` usage to new `uib`-prefixed versions. Most of the changes apply to dropdowns, modals and tooltips. Also remove classes and aria attributes that are added during link phase for dropdown directives. Tested against latest ManageIQ Service UI and was not able to locate any issues. https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Upgrade to the most recent version of `angular-ui-bootstrap`. This includes a significant number of bug fixes and improvements for a library that we heavily use. The biggest breaking change for the upgrade is the addition of a `uib` prefix to all of `angular-ui-bootstrap` directives. This PR updates all deprecated usage to the new version. Because another dependency `angular-patternfly` is still using an older version of `angular-ui-bootstrap`, a few minor things will not work until the upgrade is complete there (the about modal and some tooltips). A PR is open to make the changes there so hopefully it will be updated in the next release patternfly/angular-patternfly#353 https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Hi @jjlangholtz, funny we were just discussing this week how/when to upgrade to latest angular-ui-bootstrap. Thanks for starting this effort! 👍
|
@dtaylor113 I believe the version was already bumped in a recent PR https://github.com/patternfly/angular-patternfly/blob/master/bower.json#L43, I was thinking that it could actually be bumped to the latest version |
Hi @jjlangholtz, you are correct, we did just update to angular-bootstrap "0.14.x". The migration guide says the new prefixes were introduced in 0.14, so it seems like release 0.14 works with and without the 'uib-' prefixes?
|
@dtaylor113 so it looks for the |
Upgrade to the most recent version of `angular-ui-bootstrap`. This includes a significant number of bug fixes and improvements for a library that we heavily use. The biggest breaking change for the upgrade is the addition of a `uib` prefix to all of `angular-ui-bootstrap` directives. This PR updates all deprecated usage to the new version. Because another dependency `angular-patternfly` is still using an older version of `angular-ui-bootstrap`, a few minor things will not work until the upgrade is complete there (about modal, toolbar, and tooltips). A PR is open to make the changes there so hopefully it will be updated in the next release patternfly/angular-patternfly#353 https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Upgrade to the most recent version of `angular-ui-bootstrap`. This includes a significant number of bug fixes and improvements for a library that we heavily use. The biggest breaking change for the upgrade is the addition of a `uib` prefix to all of `angular-ui-bootstrap` directives. This PR updates all deprecated usage to the new version. Because another dependency `angular-patternfly` is still using an older version of `angular-ui-bootstrap`, a few minor things will not work until the upgrade is complete there (about modal, toolbar, and tooltips). A PR is open to make the changes there so hopefully it will be updated in the next release patternfly/angular-patternfly#353 https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Hi @jjlangholtz, thanks for the uib prefix info. Cloned this branch, unit tests all passed, but saw the following issues when reviewing the ngdoc examples (grunt ngdocs:view):
All other ngdoc examples seem to be running fine 😄 |
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.
👍
Upgrade to the most recent version of `angular-ui-bootstrap`. This includes a significant number of bug fixes and improvements for a library that we heavily use. The biggest breaking change for the upgrade is the addition of a `uib` prefix to all of `angular-ui-bootstrap` directives. This PR updates all deprecated usage to the new version. Because another dependency `angular-patternfly` is still using an older version of `angular-ui-bootstrap`, a few minor things will not work until the upgrade is complete there (about modal, toolbar, and tooltips). A PR is open to make the changes there so hopefully it will be updated in the next release patternfly/angular-patternfly#353 https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Remove intermediate `div` used to `ng-include` the card filter partial. The angular-ui-bootstrap dropdown directives require the `uib-dropdown` directive to be a direct parent of the toggle and menu directives. This change conditionally loads the card filter template without splitting the `uib` dropdown directives. Issue was raised here: patternfly#353
Upgrade to the most recent version of `angular-ui-bootstrap`. This includes a significant number of bug fixes and improvements for a library that we heavily use. The biggest breaking change for the upgrade is the addition of a `uib` prefix to all of `angular-ui-bootstrap` directives. This PR updates all deprecated usage to the new version. Because another dependency `angular-patternfly` is still using an older version of `angular-ui-bootstrap`, a few minor things will not work until the upgrade is complete there (about modal, toolbar, and tooltips). A PR is open to make the changes there so hopefully it will be updated in the next release patternfly/angular-patternfly#353 https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Upgrade to the most recent version of `angular-ui-bootstrap`. This includes a significant number of bug fixes and improvements for a library that we heavily use. The biggest breaking change for the upgrade is the addition of a `uib` prefix to all of `angular-ui-bootstrap` directives. This PR updates all deprecated usage to the new version. Because another dependency `angular-patternfly` is still using an older version of `angular-ui-bootstrap`, a few minor things will not work until the upgrade is complete there (about modal, toolbar, and tooltips). A PR is open to make the changes there so hopefully it will be updated in the next release patternfly/angular-patternfly#353 https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Migrate deprecated
angular-ui-bootstrap
usage to newuib
-prefixedversions. Most of the changes apply to dropdowns, modals and tooltips.
Also remove classes and aria attributes that are added during link phase
for dropdown directives.
Tested against latest ManageIQ Service UI and was not able to locate any
issues.
https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes