Skip to content

Conversation

@tariknz
Copy link
Owner

@tariknz tariknz commented May 31, 2025

No description provided.

@tariknz tariknz requested a review from Copilot May 31, 2025 07:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces global font size scaling across dashboards by adding a new generalSettings configuration. Key changes include:

  • Adding a GeneralSettings type to the dashboard layout.
  • Creating a ThemeManager component to apply font size themes.
  • Updating storage and settings components to merge and persist the new generalSettings.

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/types/dashboardLayout.ts Added a GeneralSettings interface with fontSize as a string union
src/frontend/theme.css Introduced CSS classes for different font size themes
src/frontend/context/DashboardContext/DashboardContext.tsx Added hook to access generalSettings
src/frontend/components/ThemeManager/ThemeManager.tsx Wrapped children with theme-specific classes based on fontSize
src/frontend/components/Settings/types.ts Updated GeneralSettings type (fontSize as number) – inconsistent with others
src/app/storage/* Merged and persisted generalSettings in default and existing dashboards

@tariknz tariknz merged commit c6a1af5 into main May 31, 2025
1 check passed
@tariknz tariknz deleted the feat/font-size branch May 31, 2025 07:30
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.

2 participants