From 7c22969de1757a1c8c9e0dc80888e277a6567930 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Wed, 2 Jun 2021 20:10:44 +0200 Subject: [PATCH] Feature/move tools to sub path (#125) * Move tools to sub path * Update changelog --- CHANGELOG.md | 6 ++++ apps/client/src/app/app-routing.module.ts | 28 +++++++++---------- .../analysis/analysis-page-routing.module.ts | 0 .../analysis/analysis-page.component.ts | 0 .../{ => tools}/analysis/analysis-page.html | 0 .../analysis/analysis-page.module.ts | 0 .../{ => tools}/analysis/analysis-page.scss | 0 .../report/report-page-routing.module.ts | 0 .../report/report-page.component.ts | 0 .../pages/{ => tools}/report/report-page.html | 0 .../{ => tools}/report/report-page.module.ts | 0 .../pages/{ => tools}/report/report-page.scss | 0 .../src/app/pages/tools/tools-page.html | 14 ++++++++-- 13 files changed, 32 insertions(+), 16 deletions(-) rename apps/client/src/app/pages/{ => tools}/analysis/analysis-page-routing.module.ts (100%) rename apps/client/src/app/pages/{ => tools}/analysis/analysis-page.component.ts (100%) rename apps/client/src/app/pages/{ => tools}/analysis/analysis-page.html (100%) rename apps/client/src/app/pages/{ => tools}/analysis/analysis-page.module.ts (100%) rename apps/client/src/app/pages/{ => tools}/analysis/analysis-page.scss (100%) rename apps/client/src/app/pages/{ => tools}/report/report-page-routing.module.ts (100%) rename apps/client/src/app/pages/{ => tools}/report/report-page.component.ts (100%) rename apps/client/src/app/pages/{ => tools}/report/report-page.html (100%) rename apps/client/src/app/pages/{ => tools}/report/report-page.module.ts (100%) rename apps/client/src/app/pages/{ => tools}/report/report-page.scss (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38f7efbb8..77aea462b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Moved the tools to a sub path (`/tools`) + ## 1.9.0 - 01.06.2021 ### Added diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.ts index 947677767..30338f400 100644 --- a/apps/client/src/app/app-routing.module.ts +++ b/apps/client/src/app/app-routing.module.ts @@ -28,13 +28,6 @@ const routes: Routes = [ loadChildren: () => import('./pages/admin/admin-page.module').then((m) => m.AdminPageModule) }, - { - path: 'analysis', - loadChildren: () => - import('./pages/analysis/analysis-page.module').then( - (m) => m.AnalysisPageModule - ) - }, { path: 'auth', loadChildren: () => @@ -52,13 +45,6 @@ const routes: Routes = [ (m) => m.PricingPageModule ) }, - { - path: 'report', - loadChildren: () => - import('./pages/report/report-page.module').then( - (m) => m.ReportPageModule - ) - }, { path: 'resources', loadChildren: () => @@ -76,6 +62,20 @@ const routes: Routes = [ loadChildren: () => import('./pages/tools/tools-page.module').then((m) => m.ToolsPageModule) }, + { + path: 'tools/analysis', + loadChildren: () => + import('./pages/tools/analysis/analysis-page.module').then( + (m) => m.AnalysisPageModule + ) + }, + { + path: 'tools/report', + loadChildren: () => + import('./pages/tools/report/report-page.module').then( + (m) => m.ReportPageModule + ) + }, { path: 'transactions', loadChildren: () => diff --git a/apps/client/src/app/pages/analysis/analysis-page-routing.module.ts b/apps/client/src/app/pages/tools/analysis/analysis-page-routing.module.ts similarity index 100% rename from apps/client/src/app/pages/analysis/analysis-page-routing.module.ts rename to apps/client/src/app/pages/tools/analysis/analysis-page-routing.module.ts diff --git a/apps/client/src/app/pages/analysis/analysis-page.component.ts b/apps/client/src/app/pages/tools/analysis/analysis-page.component.ts similarity index 100% rename from apps/client/src/app/pages/analysis/analysis-page.component.ts rename to apps/client/src/app/pages/tools/analysis/analysis-page.component.ts diff --git a/apps/client/src/app/pages/analysis/analysis-page.html b/apps/client/src/app/pages/tools/analysis/analysis-page.html similarity index 100% rename from apps/client/src/app/pages/analysis/analysis-page.html rename to apps/client/src/app/pages/tools/analysis/analysis-page.html diff --git a/apps/client/src/app/pages/analysis/analysis-page.module.ts b/apps/client/src/app/pages/tools/analysis/analysis-page.module.ts similarity index 100% rename from apps/client/src/app/pages/analysis/analysis-page.module.ts rename to apps/client/src/app/pages/tools/analysis/analysis-page.module.ts diff --git a/apps/client/src/app/pages/analysis/analysis-page.scss b/apps/client/src/app/pages/tools/analysis/analysis-page.scss similarity index 100% rename from apps/client/src/app/pages/analysis/analysis-page.scss rename to apps/client/src/app/pages/tools/analysis/analysis-page.scss diff --git a/apps/client/src/app/pages/report/report-page-routing.module.ts b/apps/client/src/app/pages/tools/report/report-page-routing.module.ts similarity index 100% rename from apps/client/src/app/pages/report/report-page-routing.module.ts rename to apps/client/src/app/pages/tools/report/report-page-routing.module.ts diff --git a/apps/client/src/app/pages/report/report-page.component.ts b/apps/client/src/app/pages/tools/report/report-page.component.ts similarity index 100% rename from apps/client/src/app/pages/report/report-page.component.ts rename to apps/client/src/app/pages/tools/report/report-page.component.ts diff --git a/apps/client/src/app/pages/report/report-page.html b/apps/client/src/app/pages/tools/report/report-page.html similarity index 100% rename from apps/client/src/app/pages/report/report-page.html rename to apps/client/src/app/pages/tools/report/report-page.html diff --git a/apps/client/src/app/pages/report/report-page.module.ts b/apps/client/src/app/pages/tools/report/report-page.module.ts similarity index 100% rename from apps/client/src/app/pages/report/report-page.module.ts rename to apps/client/src/app/pages/tools/report/report-page.module.ts diff --git a/apps/client/src/app/pages/report/report-page.scss b/apps/client/src/app/pages/tools/report/report-page.scss similarity index 100% rename from apps/client/src/app/pages/report/report-page.scss rename to apps/client/src/app/pages/tools/report/report-page.scss diff --git a/apps/client/src/app/pages/tools/tools-page.html b/apps/client/src/app/pages/tools/tools-page.html index 00107cb61..b37469329 100644 --- a/apps/client/src/app/pages/tools/tools-page.html +++ b/apps/client/src/app/pages/tools/tools-page.html @@ -9,7 +9,12 @@ portfolio.

-

@@ -23,7 +28,12 @@ risks in your portfolio.

-