-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature/angular 8 support #34
Feature/angular 8 support #34
Conversation
ISSUES CLOSED: NationalBankBelgium#31
135aa85
to
b439a36
Compare
Well, it seems we need to change the
What do you guys think? Shall we change the node versions to |
The maintenance of Node 8 ends in January 2020 and in NBB we are now using Node 10 for our projects. |
yes, I fully agree. We don't need the version 8 anymore. |
Ok, so I'll replace node 8 by 12 😉 |
b439a36
to
002a8f6
Compare
Ok, node version changed and Travis builds passing! 👍 |
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.
Small changes
this.formGroup = this.formBuilder.group({ | ||
username: [undefined, Validators.required], | ||
matchingPasswords: new FormGroup( | ||
{ |
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.
The indentation is not the same in both demo-apps (ng7, ng8).
Could you please fix it to have "2 spaces" everywhere ? 😊
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.
Sorry, I don't get it. What "2 spaces"?
I've ran Prettier on the whole project and the 2 demo-apps have exactly the same code formatting...
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.
@christophercr my apologies...
I did the review with GitHub and I thought that the indentation was incorrect. But it's not. So please forget this comment 😊
demo-app/ng8/src/polyfills.ts
Outdated
* APPLICATION IMPORTS | ||
*/ | ||
// FixMe: Remove when NBB upgrades chrome browser (https://caniuse.com/#search=grid) | ||
import "./polyfills/css-grid-layout-polyfill"; |
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.
Should we remove this import, and the file "css-grid-layout-polyfill", since we are using Chrome >v74 at NBB ? 😊
Or should we keep it for another reason?
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.
Ah true, we should remove it. I'll remove it and test it also in IE 😉
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've tested and indeed, we don't need the polyfill for Chrome, however it is necessary for IE but... the problem in IE with this polyfill is that it causes some flickering which is quite annoying.
So I think we should just remove the polyfill and let IE display the grid the best it can... which doesn't look too bad in my opinion, you know... it's IE 😕
…Angular 7 demo to demo-app/ng7
…prevent 'Invalid Host/Origin header' error in IE Workaround mentioned in webpack/webpack-dev-server#1604 (comment)
002a8f6
to
48606e0
Compare
@SuperITMan @nicanac I've updated this PR with a couple of changes:
|
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.
Perfect, thanks
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.
LGTM ! 👍
ISSUES CLOSED: #31
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #31
What is the new behavior?
ngx-form-errors
officially supports Angular 8 now.travis.yml
file.Does this PR introduce a breaking change?
Other information
@SuperITMan @nicanac you can see that the second commit of this PR adds two subfolders under
/demo
containing the demo app in the latest Angular version (8.x) and the previous one (7.x).I suggest to keep these 2 versions of the demo app and maintain them with every new major version of Angular. For example, once Angular 9 is out, we keep the demo app in Angular 8 and 9, and so on.
Cause maybe with a new major version of Angular, it might not be possible to keep support for an old version. So at least we keep our demo with the 2 latest major versions so we are aligned with the Angular support schedule.