-
Notifications
You must be signed in to change notification settings - Fork 90
perf(angular): upgrade to Angular 1.7.7 #768
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
@@ -1,6 +1,6 @@ | |||
/** | |||
* @ngdoc directive | |||
* @name patternfly.card.component:pfAggregateStatusCard | |||
* @name patternfly.card.directive:pfAggregateStatusCard |
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 the change to directive
? pfAggregateStatusCard does appear to be a component:
angular.module( 'patternfly.card' ).component('pfAggregateStatusCard', {
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.
Needed for grunt-ui-docs to even show the component on the generated doc webpage.
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.
Yeah - something changed after angular 1.6 that requires the name match directive now (and components aren't natively supported by grunt-ui-docs or ngdocs)
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, thought it was something along those lines
Hi @redallen, great work! I downloaded this branch and ran though most uidoc examples: charts, wizards, toolbar, table, nav, notification drawer, filter, etc... Everything ran as expected! Plus, all unit tests pass, so I think this is ready to go, nice work! Couple of issues:
Thanks,
|
fb84d75
to
2c70d2f
Compare
I just squashed the commit and force pushed. Coveralls was failing because test coverage went down 0.8% (not sure why...) |
Also, pls note that the 'npm publish' step will most likely fail after merge. I will have to create a PR to manually update the version number, similar to #770 |
Not sure we need to do a Major release only because of the number of files. If it's non-breaking, there shouldn't be a need to bump the major version. |
I 'somewhat' agree, but there are a lot of source code changes and dependency version updates. I'm for minimizing risk to existing projects who don't necessarily need angular 1.7.7. Even though all unit tests are passing, I'm concerned dependency version updates may affect existing customers in ways we aren't testing for. |
Description
Closes #766 .
PR Checklist
<script src="http://localhost:8000/grunt-scripts/jquery.js"></script>
will become<script src="https://www.patternfly.org/angular-patternfly/grunt-scripts/jquery.js"></script>
somewhere in the deploy)Additional notes
All urls in the app have changed to use
#!
instead of#
. See the Angular 1.6 changelog. As a result, we need to upgrade to grunt-uidocs-generator.