diff --git a/CHANGELOG.md b/CHANGELOG.md index ef1fd7207..470ae0eb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Improved the style of the table in the data providers management of the admin control panel +- Improved the style of the table in the platform management of the admin control panel +- Improved the style of the table in the tag management of the admin control panel - Improved the historical market data gathering by storing the market prices carried forward for the most recent dates without data from the data provider, distinguished by `isCarriedForward` - Introduced a cooldown of 12 hours for the historical market data gathering of a symbol by retaining the completed jobs diff --git a/apps/client/src/app/components/admin-platform/admin-platform.component.html b/apps/client/src/app/components/admin-platform/admin-platform.component.html index 7c699e557..c349dd9b8 100644 --- a/apps/client/src/app/components/admin-platform/admin-platform.component.html +++ b/apps/client/src/app/components/admin-platform/admin-platform.component.html @@ -9,92 +9,99 @@ Add Platform - - - - +
- Name - - - {{ element.name }} -
+ + + + - - - - + + + + - - - - + + + + - - - + + + + + + - + + +
+ +
+ + - - -
+ + - Url - - {{ element.url }} - + Name + + {{ element.name }} + - Accounts - - - + Url + + {{ element.url }} + - - - - - -
+ Accounts +
+ + - -
+ + + + (); - protected readonly displayedColumns = ['name', 'url', 'accounts', 'actions']; + protected readonly displayedColumns = [ + 'icon', + 'name', + 'url', + 'accounts', + 'actions' + ]; protected readonly pageSize = DEFAULT_PAGE_SIZE; protected platforms: Platform[]; diff --git a/apps/client/src/app/components/admin-settings/admin-settings.component.html b/apps/client/src/app/components/admin-settings/admin-settings.component.html index 607d884bd..260aac002 100644 --- a/apps/client/src/app/components/admin-settings/admin-settings.component.html +++ b/apps/client/src/app/components/admin-settings/admin-settings.component.html @@ -40,179 +40,181 @@ } - - - - + +
- Name - -
- -
- @if (isGhostfolioDataProvider(element)) { - - Ghostfolio Premium - - @if (isGhostfolioApiKeyValid === false) { - popular - } - - @if (isGhostfolioApiKeyValid === true) { -
- - Valid until - {{ - ghostfolioApiStatus?.subscription?.expiresAt - | date: defaultDateFormat - }} - -
+
+ + + + + + + + + - + } @else { + {{ element.name }} + } + + - - - - + + + + - - - - + + + + - - - + - + > + + + {{ ghostfolioApiStatus.dailyRequests }} + of + {{ ghostfolioApiStatus.dailyRequestsMax }} + daily requests + + + } + + - - + + - - + + - - -
+ + + Name + + @if (isGhostfolioDataProvider(element)) { + + Ghostfolio Premium + + @if (isGhostfolioApiKeyValid === false) { + popular } - } @else { - {{ element.name }} + + @if (isGhostfolioApiKeyValid === true) { +
+ + Valid until + {{ + ghostfolioApiStatus?.subscription?.expiresAt + | date: defaultDateFormat + }} + +
} - - -
- Status - - @if ( - hasGhostfolioApiKey && - isGhostfolioApiKeyValid === false && - isGhostfolioDataProvider(element) - ) { - Invalid API key - } @else if ( - hasGhostfolioApiKey || !isGhostfolioDataProvider(element) - ) { - - } - + Status + + @if ( + hasGhostfolioApiKey && + isGhostfolioApiKeyValid === false && + isGhostfolioDataProvider(element) + ) { + Invalid API key + } @else if ( + hasGhostfolioApiKey || !isGhostfolioDataProvider(element) + ) { + + } + - Asset Profiles - - - + Asset Profiles + + + - @if ( - isGhostfolioDataProvider(element) && - isGhostfolioApiKeyValid === true - ) { -
- +
+ @if ( + isGhostfolioDataProvider(element) && + isGhostfolioApiKeyValid === true + ) { +
- - {{ ghostfolioApiStatus.dailyRequests }} - of - {{ ghostfolioApiStatus.dailyRequestsMax }} - daily requests - -
- } -
- @if (isGhostfolioDataProvider(element)) { - @if (hasGhostfolioApiKey) { - - - + @if (isGhostfolioDataProvider(element)) { + @if (hasGhostfolioApiKey) { + - - } @else if (hasGhostfolioApiKey === false) { - + + + + } @else if (hasGhostfolioApiKey === false) { + + } } - } -
+
+ @if (isLoading) { (); public defaultDateFormat: string; public displayedColumns = [ + 'icon', 'name', 'status', 'assetProfileCount', diff --git a/apps/client/src/app/components/admin-tag/admin-tag.component.html b/apps/client/src/app/components/admin-tag/admin-tag.component.html index c7cbe37c0..6cd9c1259 100644 --- a/apps/client/src/app/components/admin-tag/admin-tag.component.html +++ b/apps/client/src/app/components/admin-tag/admin-tag.component.html @@ -9,112 +9,119 @@ Add Tag - - - - - - - - - - +
+
- Name - - {{ translate(element.name) }} - - User - - {{ element.userId }} -
+ + + + - - - - + + + + - - - - + + + + - - - + + + + + + - + + +
+ +
+ + - - -
+ Name + + {{ translate(element.name) }} + - Accounts - - - + User + + {{ element.userId }} + - Activities - - - + Accounts + + + - - - - - -
+ Activities +
+ + - -
+ + + +