Skip to content

Update index.ts with configReducer - #158

Open
trinachaudhuri-ctri wants to merge 2 commits into
YajanaRao:developfrom
trinachaudhuri-ctri:patch-2
Open

Update index.ts with configReducer#158
trinachaudhuri-ctri wants to merge 2 commits into
YajanaRao:developfrom
trinachaudhuri-ctri:patch-2

Conversation

@trinachaudhuri-ctri

Copy link
Copy Markdown
Contributor

Add legacy configReducer for backward compatibility with tests

Add legacy configReducer for backward compatibility with tests
@YajanaRao
YajanaRao requested a review from Copilot June 25, 2025 05:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request adds a legacy configReducer to maintain backward compatibility with tests.

  • Introduces a new reducer (configReducer) with default configuration values.
  • Implements basic action handling for 'UPDATE_THEME' and 'REPEAT' actions.
Comments suppressed due to low confidence (1)

packages/core/src/reducers/index.ts:41

  • [nitpick] If 'UPDATE_THEME' is intentionally a no-op, please add a comment explaining the rationale for clarity.
    case 'UPDATE_THEME':

Comment thread packages/core/src/reducers/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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