Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/improve tables (#157)
Thomas8314b98f81d7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex febad474a6..d2a1f60932 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,9 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## Unreleased+### Added++- Added a counter column to the transactions table+- Added a label to indicate the default account in the accounts table+### Changed- Cleaned up the analysis page with an unused chart module+- Improved the cell alignment in the users table of the admin control panel## 1.14.0 - 09.06.2021@@ -106,11 +112,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Added-- Added an index in the user table of the admin control panel+- Added an index in the users table of the admin control panel### Changed-- Improved the alignment in the user table of the admin control panel+- Improved the alignment in the users table of the admin control panel## 1.5.0 - 22.05.2021@@ -242,7 +248,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed-- Improved the user table styling of the admin control panel+- Improved the users table styling of the admin control panel- Improved the background colors in the dark mode## 0.92.0 - 25.04.2021@@ -250,7 +256,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Added- Prepared further for multi accounts support: store account for new transactions-- Added a horizontal scrollbar to the user table of the admin control panel+- Added a horizontal scrollbar to the users table of the admin control panel### Fixed@@ -277,7 +283,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed-- Improved the user table of the admin control panel+- Improved the users table of the admin control panel## 0.89.0 - 21.04.2021@@ -308,7 +314,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Fixed-- Fixed an issue in the user table of the admin control panel with missing data+- Fixed an issue in the users table of the admin control panel with missing data## 0.86.1 - 18.04.2021@@ -323,7 +329,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Changed the about page for the new license- Optimized the data management for historical data- Optimized the exchange rate service-- Improved the user table of the admin control panel+- Improved the users table of the admin control panel### Fixeddiff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.html b/apps/client/src/app/components/accounts-table/accounts-table.component.htmlindex e89044f4d5..bcf8bc475d 100644--- a/apps/client/src/app/components/accounts-table/accounts-table.component.html+++ b/apps/client/src/app/components/accounts-table/accounts-table.component.html@@ -3,6 +3,11 @@<th *matHeaderCellDef class="px-1" i18n mat-header-cell>Name</th><td *matCellDef="let element" class="px-1" mat-cell>{{ element.name }}+ <span+ *ngIf="element.isDefault"+ class="d-lg-inline-block d-none text-muted"+ >(Default)</span+ ></td></ng-container>@@ -49,8 +54,10 @@</ng-container><ng-container matColumnDef="transactions">- <th *matHeaderCellDef i18n mat-header-cell>Transactions</th>- <td *matCellDef="let element" mat-cell>+ <th *matHeaderCellDef class="text-right" i18n mat-header-cell>+ Transactions+ </th>+ <td *matCellDef="let element" class="text-right" mat-cell>{{ element.Order?.length }}</td></ng-container>diff --git a/apps/client/src/app/components/transactions-table/transactions-table.component.html b/apps/client/src/app/components/transactions-table/transactions-table.component.htmlindex d96fc28ba2..e8da188585 100644--- a/apps/client/src/app/components/transactions-table/transactions-table.component.html+++ b/apps/client/src/app/components/transactions-table/transactions-table.component.html@@ -40,6 +40,16 @@mat-table[dataSource]="dataSource">+ <ng-container matColumnDef="count">+ <th *matHeaderCellDef class="px-1 text-right" i18n mat-header-cell>#</th>+ <td+ *matCellDef="let element; let i = index"+ class="px-1 text-right"+ mat-cell+ >+ {{ dataSource.data.length - i }}+ </td>+ </ng-container><ng-container matColumnDef="date"><th*matHeaderCellDefdiff --git a/apps/client/src/app/components/transactions-table/transactions-table.component.ts b/apps/client/src/app/components/transactions-table/transactions-table.component.tsindex 1a6d214647..f260900463 100644--- a/apps/client/src/app/components/transactions-table/transactions-table.component.ts+++ b/apps/client/src/app/components/transactions-table/transactions-table.component.ts@@ -133,6 +133,7 @@ export class TransactionsTableComponentpublic ngOnChanges() {this.displayedColumns = [+ 'count','date','type','symbol',diff --git a/apps/client/src/app/pages/admin/admin-page.html b/apps/client/src/app/pages/admin/admin-page.htmlindex 5fdc966665..da46d62cbb 100644--- a/apps/client/src/app/pages/admin/admin-page.html+++ b/apps/client/src/app/pages/admin/admin-page.html@@ -73,18 +73,18 @@<table class="gf-table"><thead><tr class="mat-header-row">- <th class="mat-header-cell px-1 py-2 text-center" i18n>#</th>+ <th class="mat-header-cell px-1 py-2 text-right" i18n>#</th><th class="mat-header-cell px-1 py-2" i18n>User</th>- <th class="mat-header-cell px-1 py-2 text-center" i18n>+ <th class="mat-header-cell px-1 py-2 text-right" i18n>Registration Date</th>- <th class="mat-header-cell px-1 py-2 text-center" i18n>+ <th class="mat-header-cell px-1 py-2 text-right" i18n>Accounts</th>- <th class="mat-header-cell px-1 py-2 text-center" i18n>+ <th class="mat-header-cell px-1 py-2 text-right" i18n>Transactions</th>- <th class="mat-header-cell px-1 py-2 text-center" i18n>+ <th class="mat-header-cell px-1 py-2 text-right" i18n>Engagement</th><th class="mat-header-cell px-1 py-2" i18n>Last Activitiy</th>