Skip to content

fix: home dark toggle signal for imgs - #457

Merged
petruki merged 1 commit into
masterfrom
staging
Nov 7, 2026
Merged

petruki merged 1 commit into
masterfrom
staging

Conversation

@petruki

@petruki petruki commented Nov 7, 2026

Copy link
Copy Markdown
Member

This pull request updates dependencies to newer versions and improves dark mode handling in the HomeComponent. It also adds a check to prevent invalid date parsing in the AppVersionComponent.

Dependency Updates:

  • Updated various dependencies and devDependencies in package.json to their latest patch or minor versions, including Angular, Apollo Client, Chart.js, and others. This helps ensure compatibility, security, and access to the latest features.

Dark Mode Handling Improvements:

  • Refactored HomeComponent (src/app/home/home.component.ts) to use a reactive signal for dark mode state, ensuring the UI updates automatically when dark mode changes. Added an event listener for dark mode changes and updated image selection logic to use the signal.

Bug Fixes:

  • Added a check in AppVersionComponent (src/app/app-version/app-version.component.ts) to return the original string if Date.parse fails, preventing invalid date parsing errors.

@petruki petruki added this to the v2.2.1 milestone Nov 7, 2026
@petruki petruki self-assigned this Nov 7, 2026
@petruki
petruki merged commit 5cf6a0b into master Nov 7, 2026
3 checks passed
@petruki
petruki deleted the staging branch November 7, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant