From c19984c3d07a4575435dc0b3520ec52567491ca5 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 1 May 2023 18:55:34 +0200 Subject: [PATCH 1/3] Bugfix/fix missing platform name in allocations by platform (#1918) * Fix missing platform name * Update changelog --- CHANGELOG.md | 6 ++++++ apps/api/src/app/portfolio/portfolio.service.ts | 2 ++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 088da1dad..b363edc21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Fixed + +- Fixed the missing platform name in the allocations by platform chart on the allocations page + ## 1.264.0 - 2023-05-01 ### Added diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index fd77baf77..830a4bbe9 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -1727,6 +1727,7 @@ export class PortfolioService { currentAccounts = await this.accountService.getAccounts(userId); } else if (filters.length === 1 && filters[0].type === 'ACCOUNT') { currentAccounts = await this.accountService.accounts({ + include: { Platform: true }, where: { id: filters[0].id } }); } else { @@ -1737,6 +1738,7 @@ export class PortfolioService { ); currentAccounts = await this.accountService.accounts({ + include: { Platform: true }, where: { id: { in: accountIds } } }); } From e3c931648689658038cb88cf829e1e06abc8dc75 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 1 May 2023 19:26:49 +0200 Subject: [PATCH 2/3] Feature/improve tooltip of portfolio proportion chart (#1919) * Hide title * Update changelog --- CHANGELOG.md | 4 ++++ .../portfolio-proportion-chart.component.ts | 3 +++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b363edc21..3290dc016 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Changed + +- Improved the tooltip of the portfolio proportion chart component + ### Fixed - Fixed the missing platform name in the allocations by platform chart on the allocations page diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts index 3ff0dd417..36991d763 100644 --- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts +++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts @@ -394,6 +394,9 @@ export class PortfolioProportionChartComponent })} ${this.baseCurrency} (${percentage.toFixed(2)}%)` ]; } + }, + title: () => { + return ''; } } }; From 1bb94a04e3ee456f4dca9ce6e0d34825d2ab5442 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 1 May 2023 19:28:17 +0200 Subject: [PATCH 3/3] Release 1.265.0 (#1921) --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3290dc016..7f194b23a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## 1.265.0 - 2023-05-01 ### Changed diff --git a/package.json b/package.json index 8c4f450de..c89a61809 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.264.0", + "version": "1.265.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {