Browse Source
Merge branch 'main' into feature/3d-hover-effect-for-membership-card-component
pull/5966/head
Thomas Kaul
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
26 additions and
3 deletions
-
CHANGELOG.md
-
apps/api/src/interceptors/transform-data-source-in-request/transform-data-source-in-request.interceptor.ts
-
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts
-
apps/client/src/app/pages/pricing/pricing-page.component.ts
|
|
|
@ -9,10 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
#### Added |
|
|
|
|
|
|
|
- Introduced data source transformation support in the import functionality for self-hosted environments |
|
|
|
- Added an optional 3D hover effect to the membership card component |
|
|
|
|
|
|
|
#### Changed |
|
|
|
|
|
|
|
- Increased the numerical precision for cryptocurrency quantities in the holding detail dialog |
|
|
|
- Upgraded `envalid` from version `8.1.0` to `8.1.1` |
|
|
|
- Upgraded `prettier` from version `3.7.3` to `3.7.4` |
|
|
|
|
|
|
|
|
|
|
|
@ -69,6 +69,19 @@ export class TransformDataSourceInRequestInterceptor< |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
if (request.body?.activities) { |
|
|
|
request.body.activities = request.body.activities.map((activity) => { |
|
|
|
if (DataSource[activity.dataSource]) { |
|
|
|
return activity; |
|
|
|
} else { |
|
|
|
return { |
|
|
|
...activity, |
|
|
|
dataSource: decodeDataSource(activity.dataSource) |
|
|
|
}; |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return next.handle(); |
|
|
|
|
|
|
|
@ -411,10 +411,10 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit { |
|
|
|
if (Number.isInteger(this.quantity)) { |
|
|
|
this.quantityPrecision = 0; |
|
|
|
} else if (SymbolProfile?.assetSubClass === 'CRYPTOCURRENCY') { |
|
|
|
if (this.quantity < 1) { |
|
|
|
this.quantityPrecision = 7; |
|
|
|
if (this.quantity < 10) { |
|
|
|
this.quantityPrecision = 8; |
|
|
|
} else if (this.quantity < 1000) { |
|
|
|
this.quantityPrecision = 5; |
|
|
|
this.quantityPrecision = 6; |
|
|
|
} else if (this.quantity >= 10000000) { |
|
|
|
this.quantityPrecision = 0; |
|
|
|
} |
|
|
|
|
|
|
|
@ -54,23 +54,30 @@ export class GfPricingPageComponent implements OnDestroy, OnInit { |
|
|
|
public durationExtension: StringValue; |
|
|
|
public hasPermissionToCreateUser: boolean; |
|
|
|
public hasPermissionToUpdateUserSettings: boolean; |
|
|
|
|
|
|
|
public importAndExportTooltipBasic = translate( |
|
|
|
'DATA_IMPORT_AND_EXPORT_TOOLTIP_BASIC' |
|
|
|
); |
|
|
|
|
|
|
|
public importAndExportTooltipOSS = translate( |
|
|
|
'DATA_IMPORT_AND_EXPORT_TOOLTIP_OSS' |
|
|
|
); |
|
|
|
|
|
|
|
public importAndExportTooltipPremium = translate( |
|
|
|
'DATA_IMPORT_AND_EXPORT_TOOLTIP_PREMIUM' |
|
|
|
); |
|
|
|
|
|
|
|
public isLoggedIn: boolean; |
|
|
|
public label: string; |
|
|
|
public price: number; |
|
|
|
public priceId: string; |
|
|
|
|
|
|
|
public professionalDataProviderTooltipPremium = translate( |
|
|
|
'PROFESSIONAL_DATA_PROVIDER_TOOLTIP_PREMIUM' |
|
|
|
); |
|
|
|
|
|
|
|
public referralBrokers = [ |
|
|
|
'Alpian', |
|
|
|
'DEGIRO', |
|
|
|
'finpension', |
|
|
|
'frankly', |
|
|
|
@ -80,6 +87,7 @@ export class GfPricingPageComponent implements OnDestroy, OnInit { |
|
|
|
'VIAC', |
|
|
|
'Zak' |
|
|
|
]; |
|
|
|
|
|
|
|
public routerLinkFeatures = publicRoutes.features.routerLink; |
|
|
|
public routerLinkRegister = publicRoutes.register.routerLink; |
|
|
|
public user: User; |
|
|
|
|