feat(frontend): enable optimistic updates, refactor balance sync, add animations and tests#1003
Merged
emdevelopa merged 1 commit intoJun 25, 2026
Conversation
… animations and tests - Enable optimistic updates in Dark Mode Theme Engine with ref-based stable closures - Refactor state logic for Real-time Balance Sync with RESET action and callback refs - Implement framer-motion animations for Real-time Balance Sync with reduced-motion support - Add unit tests for Real-time Balance Sync component Closes emdevelopa#951 Closes emdevelopa#952 Closes emdevelopa#953 Closes emdevelopa#954
|
@ritik4ever is attempting to deploy a commit to the Emmanuel's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@ritik4ever Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR addresses 4 frontend UX enhancement issues focused on the Dark Mode Theme Engine and Real-time Balance Sync modules.
Changes
#951 - Enable optimistic updates in Dark Mode Theme Engine
theme-context.tsxto useuseReffor stable theme tracking, eliminating stale closure issuestheme-context.test.tsxandtheme-engine.test.tsx#952 - Refactor state logic for Real-time Balance Sync
RESETaction andreset()method touseBalanceSynconUpdateRefto prevent stale closure issues in theonUpdatecallbackuseCallbackdependency arrays#953 - Implement framer-motion animations for Real-time Balance Sync
useReducedMotion()support for accessibility#954 - Add unit tests for Real-time Balance Sync
Testing
npm run test:unitCloses [Frontend] Enable optimistic updates in Dark Mode Theme Engine #951, Closes [Frontend] Refactor state logic for Real-time Balance Sync #952, Closes [Frontend] Implement framer-motion animations for Real-time Balance Sync #953, Closes [Frontend] Add unit tests for Real-time Balance Sync #954