Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript π€
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/add page titles (#1114)
Thomas Kauleee1f1c72250
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 28c77e173f..0ba5231c88 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## Unreleased+### Added++- Added page titles+### Changed- Improved the performance of data provider requests by introducing a maximum number of symbols per request (chunk size)diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.tsindex 13ed5d7d5c..558a3360d2 100644--- a/apps/client/src/app/app-routing.module.ts+++ b/apps/client/src/app/app-routing.module.ts@@ -1,5 +1,6 @@import { NgModule } from '@angular/core';-import { RouterModule, Routes } from '@angular/router';+import { RouterModule, Routes, TitleStrategy } from '@angular/router';+import { PageTitleStrategy } from '@ghostfolio/client/services/page-title.strategy';import { ModulePreloadService } from './core/module-preload.service';@@ -234,7 +235,10 @@ const routes: Routes = [})],- providers: [ModulePreloadService],+ providers: [+ ModulePreloadService,+ { provide: TitleStrategy, useClass: PageTitleStrategy }+ ],exports: [RouterModule]})export class AppRoutingModule {}diff --git a/apps/client/src/app/pages/about/about-page-routing.module.ts b/apps/client/src/app/pages/about/about-page-routing.module.tsindex 38e89077c1..441d130dab 100644--- a/apps/client/src/app/pages/about/about-page-routing.module.ts+++ b/apps/client/src/app/pages/about/about-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { AboutPageComponent } from './about-page.component';const routes: Routes = [- { path: '', component: AboutPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: AboutPageComponent,+ path: '',+ title: 'About'+ }];@NgModule({diff --git a/apps/client/src/app/pages/about/changelog/changelog-page-routing.module.ts b/apps/client/src/app/pages/about/changelog/changelog-page-routing.module.tsindex 052f5e01f1..f92cb12efa 100644--- a/apps/client/src/app/pages/about/changelog/changelog-page-routing.module.ts+++ b/apps/client/src/app/pages/about/changelog/changelog-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { ChangelogPageComponent } from './changelog-page.component';const routes: Routes = [- { path: '', component: ChangelogPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: ChangelogPageComponent,+ path: '',+ title: 'Changelog & License'+ }];@NgModule({diff --git a/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page-routing.module.ts b/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page-routing.module.tsindex 285443bc95..7cbeeb247f 100644--- a/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page-routing.module.ts+++ b/apps/client/src/app/pages/about/privacy-policy/privacy-policy-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { PrivacyPolicyPageComponent } from './privacy-policy-page.component';const routes: Routes = [- { path: '', component: PrivacyPolicyPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: PrivacyPolicyPageComponent,+ path: '',+ title: 'Privacy Policy'+ }];@NgModule({diff --git a/apps/client/src/app/pages/account/account-page-routing.module.ts b/apps/client/src/app/pages/account/account-page-routing.module.tsindex fc0fd03499..1e5e6f00a3 100644--- a/apps/client/src/app/pages/account/account-page-routing.module.ts+++ b/apps/client/src/app/pages/account/account-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { AccountPageComponent } from './account-page.component';const routes: Routes = [- { path: '', component: AccountPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: AccountPageComponent,+ path: '',+ title: 'My Ghostfolio'+ }];@NgModule({diff --git a/apps/client/src/app/pages/accounts/accounts-page-routing.module.ts b/apps/client/src/app/pages/accounts/accounts-page-routing.module.tsindex 7cb67a39b6..74f5ea0509 100644--- a/apps/client/src/app/pages/accounts/accounts-page-routing.module.ts+++ b/apps/client/src/app/pages/accounts/accounts-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { AccountsPageComponent } from './accounts-page.component';const routes: Routes = [- { path: '', component: AccountsPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: AccountsPageComponent,+ path: '',+ title: 'Accounts'+ }];@NgModule({diff --git a/apps/client/src/app/pages/admin/admin-page-routing.module.ts b/apps/client/src/app/pages/admin/admin-page-routing.module.tsindex 9c5b6fee6b..48cf239bad 100644--- a/apps/client/src/app/pages/admin/admin-page-routing.module.ts+++ b/apps/client/src/app/pages/admin/admin-page-routing.module.ts@@ -10,8 +10,6 @@ import { AdminPageComponent } from './admin-page.component';const routes: Routes = [{- path: '',- component: AdminPageComponent,canActivate: [AuthGuard],children: [{ path: '', redirectTo: 'overview', pathMatch: 'full' },@@ -19,7 +17,10 @@ const routes: Routes = [{ path: 'market-data', component: AdminMarketDataComponent },{ path: 'overview', component: AdminOverviewComponent },{ path: 'users', component: AdminUsersComponent }- ]+ ],+ component: AdminPageComponent,+ path: '',+ title: 'Admin Control'}];diff --git a/apps/client/src/app/pages/auth/auth-page-routing.module.ts b/apps/client/src/app/pages/auth/auth-page-routing.module.tsindex 37c13f94e4..2c9741845f 100644--- a/apps/client/src/app/pages/auth/auth-page-routing.module.ts+++ b/apps/client/src/app/pages/auth/auth-page-routing.module.ts@@ -4,8 +4,8 @@ import { RouterModule, Routes } from '@angular/router';import { AuthPageComponent } from './auth-page.component';const routes: Routes = [- { path: '', component: AuthPageComponent },- { path: ':jwt', component: AuthPageComponent }+ { component: AuthPageComponent, path: '' },+ { component: AuthPageComponent, path: ':jwt' }];@NgModule({diff --git a/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page-routing.module.ts b/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page-routing.module.tsindex d2f4532c12..5c7bdb138b 100644--- a/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page-routing.module.ts+++ b/apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page-routing.module.ts@@ -6,9 +6,10 @@ import { HalloGhostfolioPageComponent } from './hallo-ghostfolio-page.component'const routes: Routes = [{- path: '',+ canActivate: [AuthGuard],component: HalloGhostfolioPageComponent,- canActivate: [AuthGuard]+ path: '',+ title: 'Hallo Ghostfolio'}];diff --git a/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page-routing.module.ts b/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page-routing.module.tsindex 5165ad5bbf..cf54b8f8a2 100644--- a/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page-routing.module.ts+++ b/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page-routing.module.ts@@ -6,9 +6,10 @@ import { HelloGhostfolioPageComponent } from './hello-ghostfolio-page.component'const routes: Routes = [{- path: '',+ canActivate: [AuthGuard],component: HelloGhostfolioPageComponent,- canActivate: [AuthGuard]+ path: '',+ title: 'Hello Ghostfolio'}];diff --git a/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page-routing.module.ts b/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page-routing.module.tsindex 96f8ab5328..39364ffe70 100644--- a/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page-routing.module.ts+++ b/apps/client/src/app/pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page-routing.module.ts@@ -6,9 +6,10 @@ import { FirstMonthsInOpenSourcePageComponent } from './first-months-in-open-souconst routes: Routes = [{- path: '',+ canActivate: [AuthGuard],component: FirstMonthsInOpenSourcePageComponent,- canActivate: [AuthGuard]+ path: '',+ title: 'First months in Open Source'}];diff --git a/apps/client/src/app/pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page-routing.module.ts b/apps/client/src/app/pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page-routing.module.tsindex 6d2d1d49c7..999d79c3e0 100644--- a/apps/client/src/app/pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page-routing.module.ts+++ b/apps/client/src/app/pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page-routing.module.ts@@ -6,9 +6,10 @@ import { GhostfolioMeetsInternetIdentityPageComponent } from './ghostfolio-meetsconst routes: Routes = [{- path: '',+ canActivate: [AuthGuard],component: GhostfolioMeetsInternetIdentityPageComponent,- canActivate: [AuthGuard]+ path: '',+ title: 'Ghostfolio meets Internet Identity'}];diff --git a/apps/client/src/app/pages/blog/2022/07/how-do-i-get-my-finances-in-order/how-do-i-get-my-finances-in-order-page-routing.module.ts b/apps/client/src/app/pages/blog/2022/07/how-do-i-get-my-finances-in-order/how-do-i-get-my-finances-in-order-page-routing.module.tsindex 19be1e4952..93dbcb57e7 100644--- a/apps/client/src/app/pages/blog/2022/07/how-do-i-get-my-finances-in-order/how-do-i-get-my-finances-in-order-page-routing.module.ts+++ b/apps/client/src/app/pages/blog/2022/07/how-do-i-get-my-finances-in-order/how-do-i-get-my-finances-in-order-page-routing.module.ts@@ -6,9 +6,10 @@ import { HowDoIGetMyFinancesInOrderPageComponent } from './how-do-i-get-my-financonst routes: Routes = [{- path: '',+ canActivate: [AuthGuard],component: HowDoIGetMyFinancesInOrderPageComponent,- canActivate: [AuthGuard]+ path: '',+ title: 'How do I get my finances in order?'}];diff --git a/apps/client/src/app/pages/blog/blog-page-routing.module.ts b/apps/client/src/app/pages/blog/blog-page-routing.module.tsindex 1b688ff52c..44f02178cb 100644--- a/apps/client/src/app/pages/blog/blog-page-routing.module.ts+++ b/apps/client/src/app/pages/blog/blog-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { BlogPageComponent } from './blog-page.component';const routes: Routes = [- { path: '', component: BlogPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: BlogPageComponent,+ path: '',+ title: 'Blog'+ }];@NgModule({diff --git a/apps/client/src/app/pages/faq/faq-page-routing.module.ts b/apps/client/src/app/pages/faq/faq-page-routing.module.tsindex 682524edc3..66b522e86c 100644--- a/apps/client/src/app/pages/faq/faq-page-routing.module.ts+++ b/apps/client/src/app/pages/faq/faq-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { FaqPageComponent } from './faq-page.component';const routes: Routes = [- { path: '', component: FaqPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: FaqPageComponent,+ path: '',+ title: 'FAQ'+ }];@NgModule({diff --git a/apps/client/src/app/pages/features/features-page-routing.module.ts b/apps/client/src/app/pages/features/features-page-routing.module.tsindex 4e01e886fd..ffaed244b3 100644--- a/apps/client/src/app/pages/features/features-page-routing.module.ts+++ b/apps/client/src/app/pages/features/features-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { FeaturesPageComponent } from './features-page.component';const routes: Routes = [- { path: '', component: FeaturesPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: FeaturesPageComponent,+ path: '',+ title: 'Features'+ }];@NgModule({diff --git a/apps/client/src/app/pages/home/home-page-routing.module.ts b/apps/client/src/app/pages/home/home-page-routing.module.tsindex d2f1f04c78..80c5a141bc 100644--- a/apps/client/src/app/pages/home/home-page-routing.module.ts+++ b/apps/client/src/app/pages/home/home-page-routing.module.ts@@ -10,8 +10,6 @@ import { HomePageComponent } from './home-page.component';const routes: Routes = [{- path: '',- component: HomePageComponent,canActivate: [AuthGuard],children: [{ path: '', redirectTo: 'overview', pathMatch: 'full' },@@ -19,7 +17,10 @@ const routes: Routes = [{ path: 'holdings', component: HomeHoldingsComponent },{ path: 'summary', component: HomeSummaryComponent },{ path: 'market', component: HomeMarketComponent }- ]+ ],+ component: HomePageComponent,+ path: '',+ title: 'Overview'}];diff --git a/apps/client/src/app/pages/markets/markets-page-routing.module.ts b/apps/client/src/app/pages/markets/markets-page-routing.module.tsindex 80b50fead6..47a10820fc 100644--- a/apps/client/src/app/pages/markets/markets-page-routing.module.ts+++ b/apps/client/src/app/pages/markets/markets-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { MarketsPageComponent } from './markets-page.component';const routes: Routes = [- { path: '', component: MarketsPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: MarketsPageComponent,+ path: '',+ title: 'Markets'+ }];@NgModule({diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page-routing.module.ts b/apps/client/src/app/pages/portfolio/allocations/allocations-page-routing.module.tsindex 8b2182fe41..f402823ccd 100644--- a/apps/client/src/app/pages/portfolio/allocations/allocations-page-routing.module.ts+++ b/apps/client/src/app/pages/portfolio/allocations/allocations-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { AllocationsPageComponent } from './allocations-page.component';const routes: Routes = [- { path: '', component: AllocationsPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: AllocationsPageComponent,+ path: '',+ title: 'Allocations'+ }];@NgModule({diff --git a/apps/client/src/app/pages/portfolio/analysis/analysis-page-routing.module.ts b/apps/client/src/app/pages/portfolio/analysis/analysis-page-routing.module.tsindex 2b2356fed5..c2f15863d4 100644--- a/apps/client/src/app/pages/portfolio/analysis/analysis-page-routing.module.ts+++ b/apps/client/src/app/pages/portfolio/analysis/analysis-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { AnalysisPageComponent } from './analysis-page.component';const routes: Routes = [- { path: '', component: AnalysisPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: AnalysisPageComponent,+ path: '',+ title: 'Analysis'+ }];@NgModule({diff --git a/apps/client/src/app/pages/portfolio/fire/fire-page-routing.module.ts b/apps/client/src/app/pages/portfolio/fire/fire-page-routing.module.tsindex 445457e01c..50be75498b 100644--- a/apps/client/src/app/pages/portfolio/fire/fire-page-routing.module.ts+++ b/apps/client/src/app/pages/portfolio/fire/fire-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { FirePageComponent } from './fire-page.component';const routes: Routes = [- { path: '', component: FirePageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: FirePageComponent,+ path: '',+ title: 'FIRE'+ }];@NgModule({diff --git a/apps/client/src/app/pages/portfolio/holdings/holdings-page-routing.module.ts b/apps/client/src/app/pages/portfolio/holdings/holdings-page-routing.module.tsindex a1ede073ee..208248bcf3 100644--- a/apps/client/src/app/pages/portfolio/holdings/holdings-page-routing.module.ts+++ b/apps/client/src/app/pages/portfolio/holdings/holdings-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { HoldingsPageComponent } from './holdings-page.component';const routes: Routes = [- { path: '', component: HoldingsPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: HoldingsPageComponent,+ path: '',+ title: 'Holdings'+ }];@NgModule({diff --git a/apps/client/src/app/pages/portfolio/portfolio-page-routing.module.ts b/apps/client/src/app/pages/portfolio/portfolio-page-routing.module.tsindex acd0cf95d2..c0c5c55fb1 100644--- a/apps/client/src/app/pages/portfolio/portfolio-page-routing.module.ts+++ b/apps/client/src/app/pages/portfolio/portfolio-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { PortfolioPageComponent } from './portfolio-page.component';const routes: Routes = [- { path: '', component: PortfolioPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: PortfolioPageComponent,+ path: '',+ title: 'Portfolio'+ }];@NgModule({diff --git a/apps/client/src/app/pages/portfolio/report/report-page-routing.module.ts b/apps/client/src/app/pages/portfolio/report/report-page-routing.module.tsindex e1306a6f5e..9189debb02 100644--- a/apps/client/src/app/pages/portfolio/report/report-page-routing.module.ts+++ b/apps/client/src/app/pages/portfolio/report/report-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { ReportPageComponent } from './report-page.component';const routes: Routes = [- { path: '', component: ReportPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: ReportPageComponent,+ path: '',+ title: 'X-ray'+ }];@NgModule({diff --git a/apps/client/src/app/pages/portfolio/transactions/transactions-page-routing.module.ts b/apps/client/src/app/pages/portfolio/transactions/transactions-page-routing.module.tsindex ae3de4dbab..17feefa27d 100644--- a/apps/client/src/app/pages/portfolio/transactions/transactions-page-routing.module.ts+++ b/apps/client/src/app/pages/portfolio/transactions/transactions-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { TransactionsPageComponent } from './transactions-page.component';const routes: Routes = [- { path: '', component: TransactionsPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: TransactionsPageComponent,+ path: '',+ title: 'Activities'+ }];@NgModule({diff --git a/apps/client/src/app/pages/pricing/pricing-page-routing.module.ts b/apps/client/src/app/pages/pricing/pricing-page-routing.module.tsindex 183dbed0e5..3380ccdab0 100644--- a/apps/client/src/app/pages/pricing/pricing-page-routing.module.ts+++ b/apps/client/src/app/pages/pricing/pricing-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { PricingPageComponent } from './pricing-page.component';const routes: Routes = [- { path: '', component: PricingPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: PricingPageComponent,+ path: '',+ title: 'Pricing'+ }];@NgModule({diff --git a/apps/client/src/app/pages/public/public-page-routing.module.ts b/apps/client/src/app/pages/public/public-page-routing.module.tsindex 2a648c0af6..b303d499fd 100644--- a/apps/client/src/app/pages/public/public-page-routing.module.ts+++ b/apps/client/src/app/pages/public/public-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { PublicPageComponent } from './public-page.component';const routes: Routes = [- { path: ':id', component: PublicPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: PublicPageComponent,+ path: ':id',+ title: 'Portfolio'+ }];@NgModule({diff --git a/apps/client/src/app/pages/register/register-page-routing.module.ts b/apps/client/src/app/pages/register/register-page-routing.module.tsindex 730e5c95e7..b41e9365fa 100644--- a/apps/client/src/app/pages/register/register-page-routing.module.ts+++ b/apps/client/src/app/pages/register/register-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { RegisterPageComponent } from './register-page.component';const routes: Routes = [- { path: '', component: RegisterPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: RegisterPageComponent,+ path: '',+ title: 'Registration'+ }];@NgModule({diff --git a/apps/client/src/app/pages/resources/resources-page-routing.module.ts b/apps/client/src/app/pages/resources/resources-page-routing.module.tsindex 74b0502e90..d6ff024962 100644--- a/apps/client/src/app/pages/resources/resources-page-routing.module.ts+++ b/apps/client/src/app/pages/resources/resources-page-routing.module.ts@@ -5,7 +5,12 @@ import { AuthGuard } from '@ghostfolio/client/core/auth.guard';import { ResourcesPageComponent } from './resources-page.component';const routes: Routes = [- { path: '', component: ResourcesPageComponent, canActivate: [AuthGuard] }+ {+ canActivate: [AuthGuard],+ component: ResourcesPageComponent,+ path: '',+ title: 'Resources'+ }];@NgModule({diff --git a/apps/client/src/app/pages/webauthn/webauthn-page-routing.module.ts b/apps/client/src/app/pages/webauthn/webauthn-page-routing.module.tsindex 35bfb25808..0297c10d90 100644--- a/apps/client/src/app/pages/webauthn/webauthn-page-routing.module.ts+++ b/apps/client/src/app/pages/webauthn/webauthn-page-routing.module.ts@@ -2,7 +2,9 @@ import { NgModule } from '@angular/core';import { RouterModule, Routes } from '@angular/router';import { WebauthnPageComponent } from '@ghostfolio/client/pages/webauthn/webauthn-page.component';-const routes: Routes = [{ path: '', component: WebauthnPageComponent }];+const routes: Routes = [+ { component: WebauthnPageComponent, path: '', title: 'Login' }+];@NgModule({imports: [RouterModule.forChild(routes)],diff --git a/apps/client/src/app/pages/zen/zen-page-routing.module.ts b/apps/client/src/app/pages/zen/zen-page-routing.module.tsindex 54b0cd691d..77e8a21699 100644--- a/apps/client/src/app/pages/zen/zen-page-routing.module.ts+++ b/apps/client/src/app/pages/zen/zen-page-routing.module.ts@@ -8,14 +8,15 @@ import { ZenPageComponent } from './zen-page.component';const routes: Routes = [{- path: '',- component: ZenPageComponent,canActivate: [AuthGuard],children: [{ path: '', redirectTo: 'overview', pathMatch: 'full' },{ path: 'overview', component: HomeOverviewComponent },{ path: 'holdings', component: HomeHoldingsComponent }- ]+ ],+ component: ZenPageComponent,+ path: '',+ title: 'Overview'}];diff --git a/apps/client/src/app/services/page-title.strategy.ts b/apps/client/src/app/services/page-title.strategy.tsnew file mode 100644index 0000000000..e8be5516e9--- /dev/null+++ b/apps/client/src/app/services/page-title.strategy.ts@@ -0,0 +1,23 @@+import { Injectable } from '@angular/core';+import { Title } from '@angular/platform-browser';+import { RouterStateSnapshot, TitleStrategy } from '@angular/router';++@Injectable()+export class PageTitleStrategy extends TitleStrategy {+ private static readonly DEFAULT_TITLE =+ 'Ghostfolio β Open Source Wealth Management Software';++ public constructor(private readonly title: Title) {+ super();+ }++ public override updateTitle(routerState: RouterStateSnapshot) {+ const title = this.buildTitle(routerState);++ if (title) {+ this.title.setTitle(`${title} β ${PageTitleStrategy.DEFAULT_TITLE}`);+ } else {+ this.title.setTitle(`${PageTitleStrategy.DEFAULT_TITLE}`);+ }+ }+}