Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

feat(@schematics/angular): use application name as title in AppComponent #906

Merged
merged 1 commit into from
May 16, 2018

Conversation

beeman
Copy link
Contributor

@beeman beeman commented May 12, 2018

The current schematic creates a new AppComponent with the value of the title property set to app (the value of prefix in the schematic).

With the support of multiple projects it makes more sense to use the app name, so if you run ng generate application admin the initial page will reflect that: Welcome to admin.

@Brocco Brocco merged commit 75a87ff into angular:master May 16, 2018
@cexbrayat
Copy link
Member

Doesn't this break the default e2e test? We just fixed it so it now uses the prefix 😢 https://github.com/angular/devkit/blob/master/packages/schematics/angular/e2e/files/src/app.e2e-spec.ts

@beeman
Copy link
Contributor Author

beeman commented May 16, 2018

Good point @cexbrayat - let's get it fixed in the e2e test! Happy to send in a PR for that

@beeman beeman deleted the beeman/use-app-name-as-title branch May 16, 2018 22:56
cexbrayat added a commit to cexbrayat/devkit that referenced this pull request May 17, 2018
PR angular#906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by angular#720 to fix the e2e test when it was using prefix),
and has been removed.
cexbrayat added a commit to cexbrayat/devkit that referenced this pull request May 17, 2018
PR angular#906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by angular#720 to fix the e2e test when it was using prefix),
and has been removed.
@cexbrayat
Copy link
Member

@beeman Don't bother, it was quick for me to fix it as I already fixed last week :)

@Brocco @hansl See #930

cexbrayat added a commit to cexbrayat/devkit that referenced this pull request May 17, 2018
PR angular#906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by angular#720 to fix the e2e test when it was using prefix),
and has been removed.
filipesilva pushed a commit that referenced this pull request May 17, 2018
PR #906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by #720 to fix the e2e test when it was using prefix),
and has been removed.
filipesilva pushed a commit that referenced this pull request May 24, 2018
PR #906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by #720 to fix the e2e test when it was using prefix),
and has been removed.
clydin pushed a commit that referenced this pull request May 29, 2018
PR #906 updated the app schematics to display the name of the app in the title,
so the e2e test has to be fixed.
The prefix is now useless (it was introduced by #720 to fix the e2e test when it was using prefix),
and has been removed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants