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
parent
commit
256c020e88
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 16
      apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html
  3. 2
      apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts
  4. 16
      apps/client/src/locales/messages.de.xlf
  5. 16
      apps/client/src/locales/messages.es.xlf
  6. 16
      apps/client/src/locales/messages.fr.xlf
  7. 16
      apps/client/src/locales/messages.it.xlf
  8. 16
      apps/client/src/locales/messages.nl.xlf
  9. 16
      apps/client/src/locales/messages.pl.xlf
  10. 16
      apps/client/src/locales/messages.pt.xlf
  11. 16
      apps/client/src/locales/messages.tr.xlf
  12. 14
      apps/client/src/locales/messages.xlf

1
CHANGELOG.md

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the indicator for delayed market data in the client
- Prepared the portfolio calculation for exchange rate effects
## 2.37.0 - 2024-01-11

16
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html

@ -1,19 +1,15 @@
<div class="container p-0">
<div class="no-gutters row">
@if (errors?.length > 0 && !isLoading) {
<div
class="flex-grow-1 status text-muted text-right"
[title]="
errors?.length > 0 && !isLoading
? 'Sorry! Our data provider partner is experiencing the hiccups.'
: ''
"
(click)="errors?.length > 0 && onShowErrors()"
i18n-title
title="Oops! Our data provider partner is experiencing the hiccups."
(click)="onShowErrors()"
>
<ion-icon
*ngIf="errors?.length > 0 && !isLoading"
name="alert-circle-outline"
/>
<ion-icon name="time-outline" />
</div>
}
<div *ngIf="isLoading" class="align-items-center d-flex">
<ngx-skeleton-loader
animation="pulse"

2
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts

@ -74,7 +74,7 @@ export class PortfolioPerformanceComponent implements OnChanges, OnInit {
}
public onShowErrors() {
const errorMessageParts = ['Data Provider Errors for'];
const errorMessageParts = [$localize`Market data is delayed for`];
for (const error of this.errors) {
errorMessageParts.push(`${error.symbol} (${error.dataSource})`);

16
apps/client/src/locales/messages.de.xlf

@ -14275,6 +14275,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

16
apps/client/src/locales/messages.es.xlf

@ -14273,6 +14273,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

16
apps/client/src/locales/messages.fr.xlf

@ -14272,6 +14272,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

16
apps/client/src/locales/messages.it.xlf

@ -14273,6 +14273,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

16
apps/client/src/locales/messages.nl.xlf

@ -14272,6 +14272,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

16
apps/client/src/locales/messages.pl.xlf

@ -14275,6 +14275,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

16
apps/client/src/locales/messages.pt.xlf

@ -14272,6 +14272,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

16
apps/client/src/locales/messages.tr.xlf

@ -14272,6 +14272,22 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

14
apps/client/src/locales/messages.xlf

@ -13674,6 +13674,20 @@
<context context-type="linenumber">41</context>
</context-group>
</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>
</file>
</xliff>

Loading…
Cancel
Save