From 6256eb90735cfb340186ac46602dae0759b186f1 Mon Sep 17 00:00:00 2001 From: Fabio Carlos Date: Wed, 30 Jul 2025 11:55:43 -0600 Subject: [PATCH 1/4] Feature/improve language localization for ES 20250729 (#5284) * Improve language localization for ES --- apps/client/src/locales/messages.es.xlf | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlf index 84a6fe15b..9ef2a21f2 100644 --- a/apps/client/src/locales/messages.es.xlf +++ b/apps/client/src/locales/messages.es.xlf @@ -3544,7 +3544,7 @@ Our official Ghostfolio Premium cloud offering is the easiest way to get started. Due to the time it saves, this will be the best option for most people. Revenue is used to cover operational costs for the hosting infrastructure and professional data providers, and to fund ongoing development. - Nuestra oferta oficial en la nube de Ghostfolio Premium es la forma más sencilla de comenzar. Debido al tiempo que ahorra, esta será la mejor opción para la mayoría de las personas. Los ingresos se utilizan para cubrir los costos de la infraestructura de alojamiento y para financiar el desarrollo continuo. + Nuestra oferta oficial en la nube Ghostfolio Premium es la forma más fácil de comenzar. Debido al tiempo que ahorra, esta será la mejor opción para la mayoría de las personas. Los ingresos se utilizan para cubrir los costos operativos de la infraestructura de alojamiento y los proveedores de datos profesionales, y para financiar el desarrollo continuo. apps/client/src/app/pages/pricing/pricing-page.html 7 @@ -8010,7 +8010,7 @@ Japan - Japan + Japón apps/client/src/app/pages/i18n/i18n-page.html 196 @@ -8018,7 +8018,7 @@ The Japan market contribution of your current investment (${valueRatio}%) exceeds ${thresholdMax}% - The Japan market contribution of your current investment (${valueRatio}%) exceeds ${thresholdMax}% + La contribución al mercado japonés de su inversión actual (${valueRatio}%) supera el ${thresholdMax}% apps/client/src/app/pages/i18n/i18n-page.html 198 @@ -8026,7 +8026,7 @@ The Japan market contribution of your current investment (${valueRatio}%) is below ${thresholdMin}% - The Japan market contribution of your current investment (${valueRatio}%) is below ${thresholdMin}% + La contribución al mercado japonés de su inversión actual (${valueRatio}%) es inferior a ${thresholdMin}% apps/client/src/app/pages/i18n/i18n-page.html 202 @@ -8034,7 +8034,7 @@ The Japan market contribution of your current investment (${valueRatio}%) is within the range of ${thresholdMin}% and ${thresholdMax}% - The Japan market contribution of your current investment (${valueRatio}%) is within the range of ${thresholdMin}% and ${thresholdMax}% + La contribución al mercado japonés de su inversión actual (${valueRatio}%) está dentro del rango de ${thresholdMin}% y ${thresholdMax}% apps/client/src/app/pages/i18n/i18n-page.html 206 @@ -8042,7 +8042,7 @@ North America - North America + Norteamérica apps/client/src/app/pages/i18n/i18n-page.html 210 @@ -8050,7 +8050,7 @@ The North America market contribution of your current investment (${valueRatio}%) exceeds ${thresholdMax}% - The North America market contribution of your current investment (${valueRatio}%) exceeds ${thresholdMax}% + La contribución del mercado de América del Norte de su inversión actual (${valueRatio}%) supera el ${thresholdMax}% apps/client/src/app/pages/i18n/i18n-page.html 212 @@ -8058,7 +8058,7 @@ The North America market contribution of your current investment (${valueRatio}%) is below ${thresholdMin}% - The North America market contribution of your current investment (${valueRatio}%) is below ${thresholdMin}% + La contribución al mercado de América del Norte de su inversión actual (${valueRatio}%) es inferior a ${thresholdMin}% apps/client/src/app/pages/i18n/i18n-page.html 216 @@ -8066,7 +8066,7 @@ The North America market contribution of your current investment (${valueRatio}%) is within the range of ${thresholdMin}% and ${thresholdMax}% - The North America market contribution of your current investment (${valueRatio}%) is within the range of ${thresholdMin}% and ${thresholdMax}% + La contribución al mercado de América del Norte de su inversión actual (${valueRatio}%) está dentro del rango de ${thresholdMin}% y ${thresholdMax}% apps/client/src/app/pages/i18n/i18n-page.html 220 @@ -8074,7 +8074,7 @@ Find Ghostfolio on GitHub - Find Ghostfolio on GitHub + Encuentra Ghostfolio en GitHub apps/client/src/app/pages/about/overview/about-overview-page.html 74 @@ -8086,7 +8086,7 @@ Join the Ghostfolio Slack community - Join the Ghostfolio Slack community + Únete a la comunidad de Ghostfolio Slack apps/client/src/app/pages/about/overview/about-overview-page.html 84 @@ -8094,7 +8094,7 @@ Follow Ghostfolio on X (formerly Twitter) - Follow Ghostfolio on X (formerly Twitter) + Siga a Ghostfolio en X (anteriormente Twitter) apps/client/src/app/pages/about/overview/about-overview-page.html 93 @@ -8102,7 +8102,7 @@ Send an e-mail - Send an e-mail + Enviar un correo electrónico apps/client/src/app/pages/about/overview/about-overview-page.html 103 @@ -8110,7 +8110,7 @@ Follow Ghostfolio on LinkedIn - Follow Ghostfolio on LinkedIn + Siga a Ghostfolio en LinkedIn apps/client/src/app/pages/about/overview/about-overview-page.html 122 @@ -8118,7 +8118,7 @@ Ghostfolio is an independent & bootstrapped business - Ghostfolio is an independent & bootstrapped business + Ghostfolio es una empresa independiente y autónoma apps/client/src/app/pages/about/overview/about-overview-page.html 132 @@ -8126,7 +8126,7 @@ Support Ghostfolio - Support Ghostfolio + Soporte Ghostfolio apps/client/src/app/pages/about/overview/about-overview-page.html 141 From 36d0ceeec5804e163755cd05a93eea78142dec55 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 30 Jul 2025 20:03:04 +0200 Subject: [PATCH 2/4] Feature/improve Top 3 and Bottom 3 performers (#5289) * Improve Top 3 and Bottom 3 performers * Update changelog --- CHANGELOG.md | 2 ++ .../analysis/analysis-page.component.ts | 25 +++++++++++++------ .../portfolio/analysis/analysis-page.html | 10 ++++---- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95280bf3d..a8b6e9ea4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Improved the _Top 3_ and _Bottom 3_ performers on the analysis page by removing items without performance - Improved the usability of the toggle component - Restructured the response of the portfolio report endpoint (_X-ray_) - Refreshed the cryptocurrencies list @@ -25,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed the links of the _Top 3_ and _Bottom 3_ performers on the analysis page - Excluded the holdings originated of `FEE`, `INTEREST` and `LIABILITY` activities from the closed holdings on the portfolio holdings page - Fixed an issue with serving _Storybook_ related to missing styles diff --git a/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts b/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts index 02be40250..0fd9037bf 100644 --- a/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts +++ b/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts @@ -32,6 +32,7 @@ import { MatCardModule } from '@angular/material/card'; import { MatMenuModule, MatMenuTrigger } from '@angular/material/menu'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { MatSnackBar } from '@angular/material/snack-bar'; +import { RouterModule } from '@angular/router'; import { IonIcon } from '@ionic/angular/standalone'; import { SymbolProfile } from '@prisma/client'; import { addIcons } from 'ionicons'; @@ -55,7 +56,8 @@ import { takeUntil } from 'rxjs/operators'; MatCardModule, MatMenuModule, MatProgressSpinnerModule, - NgxSkeletonLoaderModule + NgxSkeletonLoaderModule, + RouterModule ], selector: 'gf-analysis-page', styleUrls: ['./analysis-page.scss'], @@ -342,13 +344,20 @@ export class GfAnalysisPageComponent implements OnDestroy, OnInit { 'netPerformancePercentWithCurrencyEffect' ).reverse(); - this.top3 = holdingsSorted.slice(0, 3); - - if (holdings?.length > 3) { - this.bottom3 = holdingsSorted.slice(-3).reverse(); - } else { - this.bottom3 = []; - } + this.top3 = holdingsSorted + .filter( + ({ netPerformancePercentWithCurrencyEffect }) => + netPerformancePercentWithCurrencyEffect > 0 + ) + .slice(0, 3); + + this.bottom3 = holdingsSorted + .filter( + ({ netPerformancePercentWithCurrencyEffect }) => + netPerformancePercentWithCurrencyEffect < 0 + ) + .slice(-3) + .reverse(); this.changeDetectorRef.markForCheck(); }); diff --git a/apps/client/src/app/pages/portfolio/analysis/analysis-page.html b/apps/client/src/app/pages/portfolio/analysis/analysis-page.html index 477d47b40..d33d5e570 100644 --- a/apps/client/src/app/pages/portfolio/analysis/analysis-page.html +++ b/apps/client/src/app/pages/portfolio/analysis/analysis-page.html @@ -93,7 +93,7 @@
- +
-
- +
+ Top
-
- +
+ Bottom Date: Wed, 30 Jul 2025 20:03:30 +0200 Subject: [PATCH 3/4] Feature/simplify user table of admin control panel (#5263) * Remove index column * Update changelog --- CHANGELOG.md | 1 + .../admin-users/admin-users.component.ts | 2 -- .../app/components/admin-users/admin-users.html | 17 ----------------- 3 files changed, 1 insertion(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8b6e9ea4..25316d966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the _Top 3_ and _Bottom 3_ performers on the analysis page by removing items without performance - Improved the usability of the toggle component +- Simplified the users table of the admin control panel - Restructured the response of the portfolio report endpoint (_X-ray_) - Refreshed the cryptocurrencies list - Improved the language localization for Catalan (`ca`) diff --git a/apps/client/src/app/components/admin-users/admin-users.component.ts b/apps/client/src/app/components/admin-users/admin-users.component.ts index 2c9d07d74..84b82d111 100644 --- a/apps/client/src/app/components/admin-users/admin-users.component.ts +++ b/apps/client/src/app/components/admin-users/admin-users.component.ts @@ -101,7 +101,6 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { if (this.hasPermissionForSubscription) { this.displayedColumns = [ - 'index', 'user', 'country', 'registration', @@ -114,7 +113,6 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { ]; } else { this.displayedColumns = [ - 'index', 'user', 'registration', 'accounts', diff --git a/apps/client/src/app/components/admin-users/admin-users.html b/apps/client/src/app/components/admin-users/admin-users.html index 0db8574b5..7a6a6ae87 100644 --- a/apps/client/src/app/components/admin-users/admin-users.html +++ b/apps/client/src/app/components/admin-users/admin-users.html @@ -3,23 +3,6 @@
- - - - -
- # - - {{ i + 1 }} - Date: Wed, 30 Jul 2025 20:05:47 +0200 Subject: [PATCH 4/4] Release 2.186.0 (#5291) --- CHANGELOG.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25316d966..d33f5d9a1 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 +## 2.186.0 - 2025-07-30 ### Added diff --git a/package-lock.json b/package-lock.json index ad18cb0dc..d0820f364 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ghostfolio", - "version": "2.185.0", + "version": "2.186.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ghostfolio", - "version": "2.185.0", + "version": "2.186.0", "hasInstallScript": true, "license": "AGPL-3.0", "dependencies": { diff --git a/package.json b/package.json index e209ebe2e..8348fb1a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "2.185.0", + "version": "2.186.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "repository": "https://github.com/ghostfolio/ghostfolio",