-
Notifications
You must be signed in to change notification settings - Fork 12k
Include VERSION.full in initial scaffolding of app #7103
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
Comments
I don't think it's very helpful to have this added. The Angular version doesn't make a difference overall really, and all that text is getting removed in the first 5 minutes of the app being created. |
Agree it will be removed once the app "becomes real". I was hoping to have it included in the "initial scaffolding" to let the "newbies" understand two things:
It's no different than all the current set of links that get scafolded into app.component.html, which I hope you'll agree are also one of the "first things to go" once the app "becomes real". At least I tried. Thanks for listening. |
Completely agree, all the stuff in that app template meant to be deleted ASAP. I just don't think there's anything that is actionable/would change in user behaviour by having the version information. Overall I haven't seen a lot of confusion about CLI and Angular versions myself. There's also another factor that I didn't mention: there is an overall effort to de-emphasize versions, and to encourage users to update frequently. It shouldn't matter much to a user whether it's Angular v2 or Angular v4, which is at the source of the |
On the one hand, I see your point about encouraging frequent updates, but in the real world, it's best to reduce the potential chaos by limiting updates of "the tools" to 3-4 times per year for a production application. Throw in the recent major overhaul of Http (HttpClient in particular) in version 4.3+ and I can almost make the case for knowing which version of Angular is running in order to understand if replacing the way the application deals with HTTP requests with the post-4.3 HttpClient plus Interceptors technique is worth it or not. Meanwhile, I'll agree that it's my responsibility to get the desired initial scaffolding to look-and-feel the way I want via a post-ng-new PowerShell script that augments the initial scaffolding of app.component.ts with the display of VERSION.full. |
Actually, as far as getting personalized scaffolding goes, we should get #7090 in soon which should allow you to get custom blueprints. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
Repro steps.
Note The
--style
is not germaine to the specifics of this feature request. It is only an example.The log given by the failure.
Desired functionality.
title
property via string interpolation.Benefits
Immediately shows which version of Angular the app is using when the first
ng serve --open
is performed.Mention any other details that might be useful.
Example of desired default
app.component.ts
The text was updated successfully, but these errors were encountered: