Browse Source

Task/move extended values on analysis page from experimental to general availability (#6766)

* Move extended values to general availability

* Update changelog
pull/6768/head
Thomas Kaul 1 month ago
committed by GitHub
parent
commit
625c84e0ae
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 124
      apps/client/src/app/pages/portfolio/analysis/analysis-page.html

1
CHANGELOG.md

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Migrated from _Material Design_ 2 to _Material Design_ 3 - Migrated from _Material Design_ 2 to _Material Design_ 3
- Moved the total amount, change and performance with currency effects on the analysis page from experimental to general availability
- Upgraded `prisma` from version `6.19.0` to `7.7.0` - Upgraded `prisma` from version `6.19.0` to `7.7.0`
### Todo ### Todo

124
apps/client/src/app/pages/portfolio/analysis/analysis-page.html

@ -75,70 +75,68 @@
</div> </div>
} }
@if (user?.settings?.isExperimentalFeatures) { <div class="mb-5 row">
<div class="mb-5 row"> <div class="col-lg-4 mb-3 mb-lg-0">
<div class="col-lg-4 mb-3 mb-lg-0"> <mat-card appearance="outlined">
<mat-card appearance="outlined"> <mat-card-content>
<mat-card-content> <gf-value
<gf-value i18n
i18n size="large"
size="large" [isCurrency]="true"
[isCurrency]="true" [locale]="user?.settings?.locale"
[locale]="user?.settings?.locale" [precision]="precision"
[precision]="precision" [unit]="user?.settings?.baseCurrency"
[unit]="user?.settings?.baseCurrency" [value]="
[value]=" isLoadingInvestmentChart
isLoadingInvestmentChart ? undefined
? undefined : performance?.currentValueInBaseCurrency
: performance?.currentValueInBaseCurrency "
" >Total amount</gf-value
>Total amount</gf-value >
> </mat-card-content>
</mat-card-content> </mat-card>
</mat-card>
</div>
<div class="col-lg-4 mb-3 mb-lg-0">
<mat-card appearance="outlined">
<mat-card-content>
<gf-value
i18n
size="large"
[colorizeSign]="true"
[isCurrency]="true"
[locale]="user?.settings?.locale"
[precision]="precision"
[unit]="user?.settings?.baseCurrency"
[value]="
isLoadingInvestmentChart
? undefined
: performance?.netPerformanceWithCurrencyEffect
"
>Change with currency effect</gf-value
>
</mat-card-content>
</mat-card>
</div>
<div class="col-lg-4">
<mat-card appearance="outlined">
<mat-card-content>
<gf-value
i18n
size="large"
[colorizeSign]="true"
[isPercent]="true"
[locale]="user?.settings?.locale"
[value]="
isLoadingInvestmentChart
? undefined
: performance?.netPerformancePercentageWithCurrencyEffect
"
>Performance with currency effect</gf-value
>
</mat-card-content>
</mat-card>
</div>
</div> </div>
} <div class="col-lg-4 mb-3 mb-lg-0">
<mat-card appearance="outlined">
<mat-card-content>
<gf-value
i18n
size="large"
[colorizeSign]="true"
[isCurrency]="true"
[locale]="user?.settings?.locale"
[precision]="precision"
[unit]="user?.settings?.baseCurrency"
[value]="
isLoadingInvestmentChart
? undefined
: performance?.netPerformanceWithCurrencyEffect
"
>Change with currency effect</gf-value
>
</mat-card-content>
</mat-card>
</div>
<div class="col-lg-4">
<mat-card appearance="outlined">
<mat-card-content>
<gf-value
i18n
size="large"
[colorizeSign]="true"
[isPercent]="true"
[locale]="user?.settings?.locale"
[value]="
isLoadingInvestmentChart
? undefined
: performance?.netPerformancePercentageWithCurrencyEffect
"
>Performance with currency effect</gf-value
>
</mat-card-content>
</mat-card>
</div>
</div>
<div class="mb-5 row"> <div class="mb-5 row">
<div class="col-lg"> <div class="col-lg">

Loading…
Cancel
Save