Conversation
* fix: improve sync toast mobile responsiveness * feat(ui): refactor alert to modular AppAlert component and update styling - Extracted modular AppAlert component to handle status icons and colors - Changed alert positioning from bottom to top of viewport - Removed glassmorphism styling for alerts to ensure correct stacking contexts - Updated success variant colors to use primary theme for background and income for icons/text - Fixed vertical alignment of single-line alerts * feat: replace custom UI alerts with Sonner and clean up diagnostic logs This commit introduces the Sonner toast notification library to replace the custom AppAlert component globally. It refactors silent background errors into user-facing UI toasts for failed actions (e.g. Sync, Reset, Demo Login, Session Expiry). The toasts have been deeply customized in global.css to match the application's native theme colors (income, destructive, primary) and configured to slide in from the top-center. Additionally, noisy diagnostic console logs within the Google Drive wrapper, Backup Manager, and Sync Engine have been pruned to clean up the production console.
- Fixed Date Bug: The transaction date now defaults to your local timezone instead of UTC, preventing it from occasionally showing the wrong day. - Expected Balance: Added a live "Expected Balance" indicator under the payment method dropdown that calculates your account balance as you type. - Mobile UI: Hid the keyboard shortcut hints at the bottom of the modal on mobile screens to save space.
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.
No description provided.