Browse Source
Feature/improve indicator for delayed market data (#2862)
* Improve indicator for delayed market data
* Update changelog
pull/2865/head
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with
154 additions and
15 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html
-
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts
-
apps/client/src/locales/messages.de.xlf
-
apps/client/src/locales/messages.es.xlf
-
apps/client/src/locales/messages.fr.xlf
-
apps/client/src/locales/messages.it.xlf
-
apps/client/src/locales/messages.nl.xlf
-
apps/client/src/locales/messages.pl.xlf
-
apps/client/src/locales/messages.pt.xlf
-
apps/client/src/locales/messages.tr.xlf
-
apps/client/src/locales/messages.xlf
|
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
|
|
|
- Improved the indicator for delayed market data in the client |
|
|
- Prepared the portfolio calculation for exchange rate effects |
|
|
- Prepared the portfolio calculation for exchange rate effects |
|
|
|
|
|
|
|
|
## 2.37.0 - 2024-01-11 |
|
|
## 2.37.0 - 2024-01-11 |
|
|
|
@ -1,19 +1,15 @@ |
|
|
<div class="container p-0"> |
|
|
<div class="container p-0"> |
|
|
<div class="no-gutters row"> |
|
|
<div class="no-gutters row"> |
|
|
<div |
|
|
@if (errors?.length > 0 && !isLoading) { |
|
|
class="flex-grow-1 status text-muted text-right" |
|
|
<div |
|
|
[title]=" |
|
|
class="flex-grow-1 status text-muted text-right" |
|
|
errors?.length > 0 && !isLoading |
|
|
i18n-title |
|
|
? 'Sorry! Our data provider partner is experiencing the hiccups.' |
|
|
title="Oops! Our data provider partner is experiencing the hiccups." |
|
|
: '' |
|
|
(click)="onShowErrors()" |
|
|
" |
|
|
> |
|
|
(click)="errors?.length > 0 && onShowErrors()" |
|
|
<ion-icon name="time-outline" /> |
|
|
> |
|
|
</div> |
|
|
<ion-icon |
|
|
} |
|
|
*ngIf="errors?.length > 0 && !isLoading" |
|
|
|
|
|
name="alert-circle-outline" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div *ngIf="isLoading" class="align-items-center d-flex"> |
|
|
<div *ngIf="isLoading" class="align-items-center d-flex"> |
|
|
<ngx-skeleton-loader |
|
|
<ngx-skeleton-loader |
|
|
animation="pulse" |
|
|
animation="pulse" |
|
|
|
@ -74,7 +74,7 @@ export class PortfolioPerformanceComponent implements OnChanges, OnInit { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public onShowErrors() { |
|
|
public onShowErrors() { |
|
|
const errorMessageParts = ['Data Provider Errors for']; |
|
|
const errorMessageParts = [$localize`Market data is delayed for`]; |
|
|
|
|
|
|
|
|
for (const error of this.errors) { |
|
|
for (const error of this.errors) { |
|
|
errorMessageParts.push(`${error.symbol} (${error.dataSource})`); |
|
|
errorMessageParts.push(`${error.symbol} (${error.dataSource})`); |
|
|
|
@ -14275,6 +14275,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="translated">Ups! Unser Datenprovider-Partner hat gerade ein Problem.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="translated">Die Marktdaten sind verzögert für</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -14273,6 +14273,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="new">Oops! Our data provider partner is experiencing the hiccups.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="new">Market data is delayed for</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -14272,6 +14272,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="new">Oops! Our data provider partner is experiencing the hiccups.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="new">Market data is delayed for</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -14273,6 +14273,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="new">Oops! Our data provider partner is experiencing the hiccups.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="new">Market data is delayed for</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -14272,6 +14272,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="new">Oops! Our data provider partner is experiencing the hiccups.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="new">Market data is delayed for</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -14275,6 +14275,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="new">Oops! Our data provider partner is experiencing the hiccups.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="new">Market data is delayed for</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -14272,6 +14272,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="new">Oops! Our data provider partner is experiencing the hiccups.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="new">Market data is delayed for</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -14272,6 +14272,22 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<target state="new">Oops! Our data provider partner is experiencing the hiccups.</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<target state="new">Market data is delayed for</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|
|
@ -13674,6 +13674,20 @@ |
|
|
<context context-type="linenumber">41</context> |
|
|
<context context-type="linenumber">41</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="51dd2d6b36bb8aefdd92fb9ab25ccb1fb7685670" datatype="html"> |
|
|
|
|
|
<source>Oops! Our data provider partner is experiencing the hiccups.</source> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html</context> |
|
|
|
|
|
<context context-type="linenumber">7</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7754789218064641822" datatype="html"> |
|
|
|
|
|
<source>Market data is delayed for</source> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts</context> |
|
|
|
|
|
<context context-type="linenumber">77</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
</body> |
|
|
</body> |
|
|
</file> |
|
|
</file> |
|
|
</xliff> |
|
|
</xliff> |
|
|