From 92ecc294de31e2f752b97cc6d0d27b2afc2ec130 Mon Sep 17 00:00:00 2001 From: mister-ideas <36502095+mister-ideas@users.noreply.github.com> Date: Mon, 19 Oct 2026 19:40:06 +0200 Subject: [PATCH] Feature/color changed values instead of glowing and add a live indicator --- CHANGELOG.md | 2 +- .../components/header/header.component.html | 1 + .../app/components/header/header.component.ts | 2 + .../home-holdings/home-holdings.component.ts | 1 + .../home-overview/home-overview.component.ts | 2 + .../live-indicator.component.scss | 44 ++++++++++ .../live-indicator.component.ts | 67 +++++++++++++++ .../pages/accounts/accounts-page.component.ts | 1 + .../analysis/analysis-page.component.ts | 1 + .../auto-refresh/auto-refresh.service.spec.ts | 34 +++++++- .../auto-refresh/auto-refresh.service.ts | 42 +++++++-- apps/client/src/styles.scss | 85 ++++--------------- .../accounts-table.component.html | 1 - .../accounts-table.component.ts | 2 - .../holdings-table.component.html | 1 - .../holdings-table.component.ts | 2 - 16 files changed, 205 insertions(+), 83 deletions(-) create mode 100644 apps/client/src/app/components/live-indicator/live-indicator.component.scss create mode 100644 apps/client/src/app/components/live-indicator/live-indicator.component.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a12754c4f..6d622252c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added a periodic refresh of the numbers on the home, analysis and accounts pages while the page is visible, highlighting changed values and table rows +- Added a periodic refresh of the numbers on the home, analysis and accounts pages while the page is visible, briefly coloring changed values green or red, with a live indicator in the header ### Changed diff --git a/apps/client/src/app/components/header/header.component.html b/apps/client/src/app/components/header/header.component.html index 88ab9f09fc..eb7a578f4a 100644 --- a/apps/client/src/app/components/header/header.component.html +++ b/apps/client/src/app/components/header/header.component.html @@ -12,6 +12,7 @@ +