Feature/improve the style of the top 3 and bottom 3 performers (#2807)
* Refactor to ordered list * Update changelog
This commit is contained in:
parent
8c1c336fc6
commit
d089662dab
27
CHANGELOG.md
27
CHANGELOG.md
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- Improved the style of the _Top 3_ and _Bottom 3_ performers on the analysis page
|
||||||
- Upgraded `Nx` from version `17.2.7` to `17.2.8`
|
- Upgraded `Nx` from version `17.2.7` to `17.2.8`
|
||||||
|
|
||||||
## 2.33.0 - 2023-12-31
|
## 2.33.0 - 2023-12-31
|
||||||
@ -336,7 +337,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Changed the users table in the admin control panel to an `@angular/material` data table
|
- Changed the users table in the admin control panel to an `@angular/material` data table
|
||||||
- Improved the styling of the membership status
|
- Improved the style of the membership status
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
@ -1511,7 +1512,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the styling in the admin control panel
|
- Improved the style in the admin control panel
|
||||||
- Removed the _Google Play_ badge from the landing page
|
- Removed the _Google Play_ badge from the landing page
|
||||||
- Upgraded `eslint` dependencies
|
- Upgraded `eslint` dependencies
|
||||||
|
|
||||||
@ -2266,7 +2267,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Simplified the initialization of the exchange rate service
|
- Simplified the initialization of the exchange rate service
|
||||||
- Improved the orders query for `assetClass` with symbol profile overrides
|
- Improved the orders query for `assetClass` with symbol profile overrides
|
||||||
- Improved the styling of the benchmarks in the markets overview
|
- Improved the style of the benchmarks in the markets overview
|
||||||
|
|
||||||
### Todo
|
### Todo
|
||||||
|
|
||||||
@ -2600,7 +2601,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed a styling issue in the benchmark component on mobile
|
- Fixed a style issue in the benchmark component on mobile
|
||||||
|
|
||||||
## 1.152.0 - 26.05.2022
|
## 1.152.0 - 26.05.2022
|
||||||
|
|
||||||
@ -3207,7 +3208,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed the styling in the footer row of the activities table
|
- Fixed the style in the footer row of the activities table
|
||||||
|
|
||||||
## 1.106.0 - 23.01.2022
|
## 1.106.0 - 23.01.2022
|
||||||
|
|
||||||
@ -3975,7 +3976,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the wording for the _Restricted View_: _Presenter View_
|
- Improved the wording for the _Restricted View_: _Presenter View_
|
||||||
- Improved the styling of the tables
|
- Improved the style of the tables
|
||||||
- Ignored cash assets in the allocation chart by sector, continent and country
|
- Ignored cash assets in the allocation chart by sector, continent and country
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
@ -4178,8 +4179,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the styling of the current pricing plan
|
- Improved the style of the current pricing plan
|
||||||
- Improved the styling of the transaction type badge
|
- Improved the style of the transaction type badge
|
||||||
- Set the public _Stripe_ key dynamically
|
- Set the public _Stripe_ key dynamically
|
||||||
- Upgraded `angular-material-css-vars` from version `2.0.0` to `2.1.0`
|
- Upgraded `angular-material-css-vars` from version `2.0.0` to `2.1.0`
|
||||||
|
|
||||||
@ -4539,7 +4540,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the users table styling of the admin control panel
|
- Improved the users table style of the admin control panel
|
||||||
- Improved the background colors in the dark mode
|
- Improved the background colors in the dark mode
|
||||||
|
|
||||||
## 0.92.0 - 25.04.2021
|
## 0.92.0 - 25.04.2021
|
||||||
@ -4563,7 +4564,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the styling of the rules in the _X-ray_ section
|
- Improved the style of the rules in the _X-ray_ section
|
||||||
|
|
||||||
## 0.90.0 - 22.04.2021
|
## 0.90.0 - 22.04.2021
|
||||||
|
|
||||||
@ -4758,7 +4759,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the alignment of the _Why Ghostfolio?_ section
|
- Improved the alignment of the _Why Ghostfolio?_ section
|
||||||
- Improved the styling of the _Fear & Greed Index_ (market mood)
|
- Improved the style of the _Fear & Greed Index_ (market mood)
|
||||||
|
|
||||||
## 0.73.0 - 31.03.2021
|
## 0.73.0 - 31.03.2021
|
||||||
|
|
||||||
@ -4804,7 +4805,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Improved the styling in the _X-ray_ section
|
- Improved the style in the _X-ray_ section
|
||||||
|
|
||||||
## 0.70.0 - 27.03.2021
|
## 0.70.0 - 27.03.2021
|
||||||
|
|
||||||
@ -5099,7 +5100,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Only show relevant data in the position detail dialog
|
- Only show relevant data in the position detail dialog
|
||||||
- Improved the performance chart styling in Safari
|
- Improved the performance chart style in Safari
|
||||||
|
|
||||||
## 0.40.0 - 01.03.2021
|
## 0.40.0 - 01.03.2021
|
||||||
|
|
||||||
|
@ -41,31 +41,33 @@
|
|||||||
>
|
>
|
||||||
</mat-card-header>
|
</mat-card-header>
|
||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<div *ngFor="let position of top3; let i = index" class="py-1">
|
<ol class="mb-0 ml-1 pl-3">
|
||||||
<a
|
<li *ngFor="let position of top3" class="py-1">
|
||||||
class="d-flex"
|
<a
|
||||||
[queryParams]="{
|
class="d-flex"
|
||||||
|
[queryParams]="{
|
||||||
dataSource: position.dataSource,
|
dataSource: position.dataSource,
|
||||||
positionDetailDialog: true,
|
positionDetailDialog: true,
|
||||||
symbol: position.symbol
|
symbol: position.symbol
|
||||||
}"
|
}"
|
||||||
[routerLink]="[]"
|
[routerLink]="[]"
|
||||||
>
|
>
|
||||||
<div class="flex-grow-1 mr-2 text-truncate">
|
<div class="flex-grow-1 mr-2 text-truncate">
|
||||||
{{ i + 1 }}. {{ position.name }}
|
{{ position.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex justify-content-end">
|
<div class="d-flex justify-content-end">
|
||||||
<gf-value
|
<gf-value
|
||||||
class="justify-content-end"
|
class="justify-content-end"
|
||||||
position="end"
|
position="end"
|
||||||
[colorizeSign]="true"
|
[colorizeSign]="true"
|
||||||
[isPercent]="true"
|
[isPercent]="true"
|
||||||
[locale]="user?.settings?.locale"
|
[locale]="user?.settings?.locale"
|
||||||
[value]="position.netPerformancePercentage"
|
[value]="position.netPerformancePercentage"
|
||||||
></gf-value>
|
></gf-value>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</li>
|
||||||
|
</ol>
|
||||||
<div>
|
<div>
|
||||||
<ngx-skeleton-loader
|
<ngx-skeleton-loader
|
||||||
*ngIf="!top3"
|
*ngIf="!top3"
|
||||||
@ -87,31 +89,33 @@
|
|||||||
>
|
>
|
||||||
</mat-card-header>
|
</mat-card-header>
|
||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<div *ngFor="let position of bottom3; let i = index" class="py-1">
|
<ol class="mb-0 ml-1 pl-3">
|
||||||
<a
|
<li *ngFor="let position of bottom3" class="py-1">
|
||||||
class="d-flex"
|
<a
|
||||||
[queryParams]="{
|
class="d-flex"
|
||||||
|
[queryParams]="{
|
||||||
dataSource: position.dataSource,
|
dataSource: position.dataSource,
|
||||||
positionDetailDialog: true,
|
positionDetailDialog: true,
|
||||||
symbol: position.symbol
|
symbol: position.symbol
|
||||||
}"
|
}"
|
||||||
[routerLink]="[]"
|
[routerLink]="[]"
|
||||||
>
|
>
|
||||||
<div class="flex-grow-1 mr-2 text-truncate">
|
<div class="flex-grow-1 mr-2 text-truncate">
|
||||||
{{ i + 1 }}. {{ position.name }}
|
{{ position.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex justify-content-end">
|
<div class="d-flex justify-content-end">
|
||||||
<gf-value
|
<gf-value
|
||||||
class="justify-content-end"
|
class="justify-content-end"
|
||||||
position="end"
|
position="end"
|
||||||
[colorizeSign]="true"
|
[colorizeSign]="true"
|
||||||
[isPercent]="true"
|
[isPercent]="true"
|
||||||
[locale]="user?.settings?.locale"
|
[locale]="user?.settings?.locale"
|
||||||
[value]="position.netPerformancePercentage"
|
[value]="position.netPerformancePercentage"
|
||||||
></gf-value>
|
></gf-value>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</li>
|
||||||
|
</ol>
|
||||||
<div>
|
<div>
|
||||||
<ngx-skeleton-loader
|
<ngx-skeleton-loader
|
||||||
*ngIf="!bottom3"
|
*ngIf="!bottom3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user