From 34513a5ad0020dc1c13ccfef8a702f550d31dfe2 Mon Sep 17 00:00:00 2001 From: Kenrick Tandrian <60643640+KenTandrian@users.noreply.github.com> Date: Fri, 21 Aug 2026 00:27:14 +0700 Subject: [PATCH 1/2] Task/migrate away from deprecated node10 module resolution (#7665) * feat(api): migrate tsconfig module to preserve * fix(api): update yahoo-finance2 ESM imports * feat(api): update yahoo-finance2 type import --- .../yahoo-finance/yahoo-finance.service.ts | 2 +- .../yahoo-finance/yahoo-finance.service.ts | 17 +++++++---------- apps/api/tsconfig.app.json | 4 +--- apps/api/tsconfig.spec.json | 3 +-- 4 files changed, 10 insertions(+), 16 deletions(-) diff --git a/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts b/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts index cd4a0436e..2872a4648 100644 --- a/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts +++ b/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts @@ -20,7 +20,7 @@ import { } from '@prisma/client'; import { isISIN } from 'class-validator'; import YahooFinance from 'yahoo-finance2'; -import type { Price } from 'yahoo-finance2/esm/src/modules/quoteSummary-iface'; +import type { Price } from 'yahoo-finance2/modules/quoteSummary-iface'; @Injectable() export class YahooFinanceDataEnhancerService implements DataEnhancerInterface { diff --git a/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts b/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts index 9f113b9e5..9b0366168 100644 --- a/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts +++ b/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts @@ -25,20 +25,17 @@ import { addDays, format, isSameDay } from 'date-fns'; import { ReasonPhrases, StatusCodes } from 'http-status-codes'; import { uniqBy } from 'lodash'; import YahooFinance from 'yahoo-finance2'; -import { ChartResultArray } from 'yahoo-finance2/esm/src/modules/chart'; -import { +import type { ChartResultArray } from 'yahoo-finance2/modules/chart'; +import type { HistoricalDividendsResult, HistoricalHistoryResult -} from 'yahoo-finance2/esm/src/modules/historical'; -import { - Quote, - QuoteResponseArray -} from 'yahoo-finance2/esm/src/modules/quote'; -import { +} from 'yahoo-finance2/modules/historical'; +import type { Quote, QuoteResponseArray } from 'yahoo-finance2/modules/quote'; +import type { Price, QuoteSummaryResult -} from 'yahoo-finance2/esm/src/modules/quoteSummary'; -import { SearchQuoteNonYahoo } from 'yahoo-finance2/esm/src/modules/search'; +} from 'yahoo-finance2/modules/quoteSummary'; +import type { SearchQuoteNonYahoo } from 'yahoo-finance2/modules/search'; @Injectable() export class YahooFinanceService implements DataProviderInterface { diff --git a/apps/api/tsconfig.app.json b/apps/api/tsconfig.app.json index 27aa457f1..8624cf568 100644 --- a/apps/api/tsconfig.app.json +++ b/apps/api/tsconfig.app.json @@ -4,10 +4,8 @@ "outDir": "../../dist/out-tsc", "types": ["node"], "emitDecoratorMetadata": true, - "ignoreDeprecations": "6.0", - "moduleResolution": "node10", "target": "es2021", - "module": "commonjs" + "module": "preserve" }, "exclude": ["**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], "include": ["**/*.ts"] diff --git a/apps/api/tsconfig.spec.json b/apps/api/tsconfig.spec.json index 934e28503..e5f982722 100644 --- a/apps/api/tsconfig.spec.json +++ b/apps/api/tsconfig.spec.json @@ -2,8 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", - "moduleResolution": "node10", + "module": "preserve", "types": ["jest", "node"] }, "include": ["**/*.spec.ts", "**/*.test.ts", "**/*.d.ts", "jest.config.ts"] From 89ae246f85abc0b15b3d94265aa9976e5e5d05a1 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 20 Aug 2026 19:40:12 +0200 Subject: [PATCH 2/2] Task/improve sorting in account selector component (#7670) * Improve sorting * Update changelog --- CHANGELOG.md | 6 ++++++ .../lib/account-selector/account-selector.component.html | 2 +- .../lib/account-selector/account-selector.component.ts | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb7b34022..31ebe5ce2 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 + +### Changed + +- Improved the sorting to be case-insensitive in the account selector component + ## 3.55.0 - 2026-08-19 ### Added diff --git a/libs/ui/src/lib/account-selector/account-selector.component.html b/libs/ui/src/lib/account-selector/account-selector.component.html index 3fd21e58a..0ba679706 100644 --- a/libs/ui/src/lib/account-selector/account-selector.component.html +++ b/libs/ui/src/lib/account-selector/account-selector.component.html @@ -28,7 +28,7 @@ } - @for (account of accounts(); track account.id) { + @for (account of sortedAccounts(); track account.id) { { + return [...this.accounts()].sort((a, b) => { + return (a.name ?? '') + .toLowerCase() + .localeCompare((b.name ?? '').toLowerCase()); + }); + }); + private readonly ngControl = inject(NgControl, { optional: true, self: true