Browse Source
Feature/add expansion panel for historical market data editor (#4550)
* Add expansion panel for historical market data editor
* Update changelog
pull/4569/head^2
Tobias Kugel
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
32 additions and
14 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html
-
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.html
|
|
@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
- Extended the benchmark detail dialog by the current market price |
|
|
|
- Added `watchlist` to the `User` database schema as a preparation for watching assets |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Made the historical market data editor expandable in the admin control panel |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed the word wrap in the menu of the historical market data table in the admin control panel |
|
|
|
|
|
@ -77,6 +77,15 @@ |
|
|
|
[showYAxis]="true" |
|
|
|
[symbol]="data.symbol" |
|
|
|
/> |
|
|
|
<div class="mb-3"> |
|
|
|
<mat-accordion class="my-3"> |
|
|
|
<mat-expansion-panel class="shadow-none"> |
|
|
|
<mat-expansion-panel-header class="p-0 pr-3"> |
|
|
|
<mat-panel-title class="font-weight-bold" i18n |
|
|
|
>Historical Market Data</mat-panel-title |
|
|
|
> |
|
|
|
</mat-expansion-panel-header> |
|
|
|
|
|
|
|
<gf-historical-market-data-editor |
|
|
|
class="mb-3" |
|
|
|
[currency]="assetProfile?.currency" |
|
|
@ -88,6 +97,9 @@ |
|
|
|
[user]="user" |
|
|
|
(marketDataChanged)="onMarketDataChanged($event)" |
|
|
|
/> |
|
|
|
</mat-expansion-panel> |
|
|
|
</mat-accordion> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
@if (isEditAssetProfileIdentifierMode) { |
|
|
@ -360,8 +372,10 @@ |
|
|
|
(closed)="scraperConfiguationIsExpanded.set(false)" |
|
|
|
(opened)="scraperConfiguationIsExpanded.set(true)" |
|
|
|
> |
|
|
|
<mat-expansion-panel-header class="p-0"> |
|
|
|
<mat-panel-title i18n>Scraper Configuration</mat-panel-title> |
|
|
|
<mat-expansion-panel-header class="p-0 pr-3"> |
|
|
|
<mat-panel-title class="font-weight-bold" i18n |
|
|
|
>Scraper Configuration</mat-panel-title |
|
|
|
> |
|
|
|
</mat-expansion-panel-header> |
|
|
|
<div formGroupName="scraperConfiguration"> |
|
|
|
<div class="mt-3"> |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<div> |
|
|
|
@for (itemByMonth of marketDataByMonth | keyvalue; track itemByMonth) { |
|
|
|
<div class="d-flex"> |
|
|
|
<div class="date px-1 text-nowrap">{{ itemByMonth.key }}</div> |
|
|
|
<div class="date mr-1 text-nowrap">{{ itemByMonth.key }}</div> |
|
|
|
<div class="align-items-center d-flex flex-grow-1 px-1"> |
|
|
|
@for (dayItem of days; track dayItem; let i = $index) { |
|
|
|
<div |
|
|
|