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 pull request significantly refactors the mobile spreadsheet view and introduces several UI/UX improvements and code cleanups, especially for the mobile and desktop bill splitting experience. The main changes include a new view mode toggle for mobile, improved context menu positioning, better formatting and visual polish, and enhanced empty-state handling.
Mobile View Refactor and UI/UX Improvements:
MobileSpreadsheetViewto support toggling between card and grid views, with persistent user preference and animated transitions. Legacy item form and summary logic are removed in favor of newMobileCardViewandMobileGridViewcomponents. The UI is simplified, with header and content structure updated for clarity and maintainability. [1] [2] [3]Desktop UI and Usability Enhancements:
DesktopBillSplitterto ensure menus stay within viewport bounds, enhancing usability on different screen sizes.SyncStatusIndicatorto the desktop toolbar for real-time sync feedback.Formatting and Display Improvements:
GridCellto display prices with a dollar sign for clarity.These changes collectively modernize the mobile experience, improve usability and polish on desktop, and set a foundation for further enhancements.