Browse Source
Merge branch 'main' into feature/decrease-number-of-attempts-of-queue-jobs
pull/1006/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
21 additions and
4 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/admin-jobs/admin-jobs.component.ts
-
apps/client/src/app/components/admin-jobs/admin-jobs.html
-
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts
|
@ -7,17 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
## Unreleased |
|
|
## Unreleased |
|
|
|
|
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
|
|
|
|
- Extended the queue jobs view in the admin control panel by a data dialog |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
- Decreased the number of attempts of queue jobs from `20` to `10` (fail earlier) |
|
|
- Decreased the number of attempts of queue jobs from `20` to `10` (fail earlier) |
|
|
|
|
|
- Improved the message for data provider errors in the client |
|
|
- Changed the label from _Balance_ to _Cash Balance_ in the account dialog |
|
|
- Changed the label from _Balance_ to _Cash Balance_ in the account dialog |
|
|
|
|
|
|
|
|
## 1.157.0 - 11.06.2022 |
|
|
## 1.157.0 - 11.06.2022 |
|
|
|
|
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
|
|
|
|
- Extended the queue jobs view in the admin control panel by the number of attempts and the status |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
- Migrated the historical market data gathering to the queue design pattern |
|
|
- Migrated the historical market data gathering to the queue design pattern |
|
|
- Extended the queue jobs view in the admin control panel by the number of attempts and the status |
|
|
|
|
|
- Refreshed the cryptocurrencies list to support more coins by default |
|
|
- Refreshed the cryptocurrencies list to support more coins by default |
|
|
- Increased the historical data chart of the _Fear & Greed Index_ (market mood) to 180 days |
|
|
- Increased the historical data chart of the _Fear & Greed Index_ (market mood) to 180 days |
|
|
- Upgraded `chart.js` from version `3.7.0` to `3.8.0` |
|
|
- Upgraded `chart.js` from version `3.7.0` to `3.8.0` |
|
|
|
@ -90,6 +90,10 @@ export class AdminJobsComponent implements OnDestroy, OnInit { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public onViewData(aData: AdminJobs['jobs'][0]['data']) { |
|
|
|
|
|
alert(JSON.stringify(aData, null, ' ')); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public onViewStacktrace(aStacktrace: AdminJobs['jobs'][0]['stacktrace']) { |
|
|
public onViewStacktrace(aStacktrace: AdminJobs['jobs'][0]['stacktrace']) { |
|
|
alert(JSON.stringify(aStacktrace, null, ' ')); |
|
|
alert(JSON.stringify(aStacktrace, null, ' ')); |
|
|
} |
|
|
} |
|
|
|
@ -105,6 +105,9 @@ |
|
|
<ion-icon name="ellipsis-vertical"></ion-icon> |
|
|
<ion-icon name="ellipsis-vertical"></ion-icon> |
|
|
</button> |
|
|
</button> |
|
|
<mat-menu #accountMenu="matMenu" xPosition="before"> |
|
|
<mat-menu #accountMenu="matMenu" xPosition="before"> |
|
|
|
|
|
<button i18n mat-menu-item (click)="onViewData(job.data)"> |
|
|
|
|
|
View Data |
|
|
|
|
|
</button> |
|
|
<button |
|
|
<button |
|
|
i18n |
|
|
i18n |
|
|
mat-menu-item |
|
|
mat-menu-item |
|
|
|
@ -81,9 +81,11 @@ export class PortfolioPerformanceComponent implements OnChanges, OnInit { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public onShowErrors() { |
|
|
public onShowErrors() { |
|
|
const errorMessageParts = this.errors.map((error) => { |
|
|
const errorMessageParts = ['Data Provider Errors for']; |
|
|
return `${error.symbol} (${error.dataSource})`; |
|
|
|
|
|
}); |
|
|
for (const error of this.errors) { |
|
|
|
|
|
errorMessageParts.push(`${error.symbol} (${error.dataSource})`); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
alert(errorMessageParts.join('\n')); |
|
|
alert(errorMessageParts.join('\n')); |
|
|
} |
|
|
} |
|
|