Repository navigation
Conversation
# Conflicts: # whatsnew/whatsnew-en-US
* Implement transactions retrieval plus internal refactoring * Fix exposed loadedUser variable, use firstOrNull, plus other minor fixes. * created object with colors imported from figma, allowed for colors to be used in all screens. Have not put the colors in each screen yet * Initial migration to new backend * Remove no longer used buildConfigFields * Fix financials and login routes and use flows for account page * Fix time zone issue with transaction times * Keep user logged in * Fix favoriting routes * Complete favoriting logic * Fix logout behavior * Fix meal filter formatting * Fix capitalized meal times in details screen * Improve code quality in Eatery * Refresh favorites when HomeScreen opens * Implement in-app updates * Clean up comments * Clean up logging * Revert favoriting to local * Implement error handling system for networking calls * Implement toast error handling * Initial plan * Fix: only call getFinancials() when linkGETAccount succeeds Co-authored-by: caleb-bit <74190657+caleb-bit@users.noreply.github.com> * Remove redundant UUID creation * Make LoginViewModel correctly observe userRepository * Create VM for settings * Fix issue with menuItemsToEateries * Use safer calls * Fix incorrect documentation * Initial plan * Fix memory leak: store and unregister flexible update listener in MainActivity Co-authored-by: caleb-bit <74190657+caleb-bit@users.noreply.github.com> * Remove redundant preview * Minor code improvements to LoginViewModel * Extract unregistering listener logic * Remove runBlocking call * Improve redundant computation * Use null-safe access Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Remove debugging variable Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Reuse function Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix visibility issue Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix typo Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Use setPref helper * Fix import issue * Simplify function * Import UUID * Use flows in UserPreferencesRepository * Fix name typo * Simplify collection transformation * Clean up EateryMenusBottomSheet.kt * Add preview for EateryDetailScreen * Prevent race condition from getDeviceId * Use collectAsStateWithLifecycle * Unregister listener in onStop * Improve flow practice * Add limit count and duplicate checking to recent searches * Extract AuthTokenRepository from UserRepository * Remove redundant comments * Remove one-item column * Remove duplicate statusBarPadding * Fix index issue * Add preview for EateryMenusBottomSheet * Replace spacer with divider * Hoist filterText * Add key for lazycolumn * Replace spacers with dividers * Hoist date formatting logic * Fix inefficient recomputation Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Prevent passing state down * Use firstOrNull() instead of first() * Fix logout behavior * Initial plan * Encrypt sensitive auth credentials stored in DataStore at rest Co-authored-by: caleb-bit <74190657+caleb-bit@users.noreply.github.com> * Implement OkHttp interceptor * Extract functionality * Remove unnecessary legacy handling * Ensure backward compatibility in user_prefs * Update version number * Improve null handling with backend data * Fix minor visibility issue * Refactor transaction formatting * Extract GET repo and clean up other repo logic * Use StateFlows in VMs * Use UIState pattern * Minor renaming * Avoid recomputation inside loop * Avoid silent default values * Improve tryRequestWithTokenRefresh * Remove redundant initial value * Use null-safe key * Fix account page loading behavior * Clear error on login * Update SDK * AGP update * Easier gradle updates * KSP migration and other dependency updates * Migrate to Material 3 * Fix hiltViewModel warnings * Fix top padding * Replace deprecated startActivity * Update gradle dependencies * Replace deprecated methods * Create preview for CompareMenusBot and fix color issue * Remove API-level gating for permission request * Fix report logic * Fix exception type * Fix payment filter update condition * Remove redundant parameter * Add preview to MenuCard + minor fixes * Fix outdated comment * Fix null handling * Fix permission request text * Fix braces * Fix jittery search bar * Safer app intents * Correctly read frequently changing value * Prevent accumulating list at recomposition * Finished Dark Mode Feature * Fix report submission behavior * Move state mutations out of composition scope * Use rememberSaveable * Use correct hiltViewModel dependency * LaunchedEffect fixes * Login fixes * Use items in lazycolumn * Remove unnecessary runCatching * Fix color * Clean up UpcomingMenuScreen * Fix View Eatery Details button padding * Use rememberSaveable * Remove unused dependency * Input validation for reports * Safe event access * More safe event access * Use thickness param * Fix flows in comparemenus * Correct key for LaunchedEffect * Disable close while sending * Use rememberSaveable * Move ui-tooling to debugImplementation scope * Rename Preview * Rename CompareMenusBottomSheet * Minor improvements in EateryMenusBottomSheet.kt * Use UIState in comparemenus * Bot to Bottom * Use ReportUiState * Use ElevatedCard * Center favorites loading screen and extract string resources (#223) * Enable edge-to-edge and fix inset handling (#226) * Add previews and refactor popup handling (#228) * CodeRabbit Changes * Rabbit Updates * Add intent filters for Navi (#235) * Migrate to built-in Kotlin & prepare for Kotlin DSL (#232) * Prevent duplicated token refresh and clean up auth logic (#231) * Material 3 UI Fixes (#234) * coderabbit fixes * More nit fixes * Fix preview * coderabbit fixes * add previews * Add dark mode previews * coderabbit fixes * More fixes * Refactor EateryCard modifier * Remove colors alias * Fix search bar colors * Background color fixes * Fix text colors * Fix background colors * Fix eatery meal tabs * Fix login page text color * Fix calendar week selector * Fix menu card colors * Fix favorites toggle colors * Fix favorite button color * Fix switchoption color * Fix supportscreen colors * More color fixes * Payment methods fixes * More payment methods fixes * Fix map stuff * Fix dark mode visual bugs (stacked on Brian_DarkMode) (#252) * Code quality fixes and dependency updates * Bump versions * Cent rounding fix * Add Display settings with dark mode toggle and settings access from login - Add DisplayBottomSheet with Light / Dark / Device Theme radio options - Add Display row to SettingsScreen wired to ThemeViewModel - Expose isLoggedIn from ThemeViewModel; hide logout button when not logged in - Make settings list scrollable to prevent logout button from squishing - Add settings icon to LoginPage header so unauthenticated users can access settings - Add settings_display_* string resources Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Add spacing below filter row in UpcomingMenuScreen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Address CodeRabbit review comments - Use collectAsStateWithLifecycle() instead of collectAsState() for lifecycle-aware state collection - Set logout icon contentDescription to null to avoid TalkBack reading redundant icon label alongside visible "Log out" text Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Refactor theme state to ThemePreference enum; move isLoggedIn to SettingsViewModel - Add ThemePreference enum (LIGHT/DARK/SYSTEM) to data/models - Expose themePreferenceFlow from UserPreferencesRepository instead of nullable Boolean - Replace isDarkMode: StateFlow<Boolean?> with themePreference: StateFlow<ThemePreference> in ThemeViewModel; drop isLoggedIn - Add isLoggedIn: StateFlow<Boolean> to SettingsViewModel (injecting UserPreferencesRepository) - Update rememberResolvedDarkMode in Theme.kt to switch on ThemePreference enum - Update DisplayBottomSheet to accept ThemePreference param directly, removing private DisplayTheme enum - Update SettingsScreen to use ThemePreference and collect isLoggedIn from settingsViewModel Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix report issue button (#257) * Delayed nit fixes (#258) * Bump versions for patch release (#259) * Bump version * Update whatsnew * Implement remaining FCM logic * Set up notification hub logic * UI changes * API Hub Layer * Address CodeRabbit review on notification handling * Backend integration with usersettings * New UI changes + remaining settings endpoint * Push notification test with Firebase * settings hub * Update search screen and view model for favorites Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * pull to refresh and hub changes * Enable backend favorites sync * the ReportAdapter change and the manifest tap action * Re-enable local favorites Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix unread dot * Open hub from push tap and add notifications-off state * Sync favorite items to backend * Clean up notification integration and reuse shared UI * Fix duplicate FCM token * Defer notification prompt until after onboarding and harden push tap handling Wait for onboarding before requesting POST_NOTIFICATIONS; catch DataStore failures in favorite sync; open the hub from a push tapped right after onboarding. * Hide the notification bell in release until the backend serves the hub Hide the bell after a 404 from /users/notifications (release only) and show it again on the next successful fetch; retry queued favorite syncs on resume. * Address CodeRabbit review * Address review: previews, renames, and lint cleanup * Move auth token gating into repositories * Use a per-item mutex for favorite item sync * Inject notification permission checks and move messaging service out of util * Align Favorites back arrow with the title * Move notification settings sync from the view model into NotificationRepository * Drop reserved proto tags and local backend override * Update notification settings on tap and add authorizedNetworkCall * Renumber new proto fields and move notification error state into components * Keep the switch thumb full size when unchecked * Match the switch's off track color to the design * Match the Favorites header to the design * Remove unused import and restore default switch thumb size * update whats new (#265) * dummy --------- Co-authored-by: Caleb Shim <calebshim248@gmail.com> Co-authored-by: brianhu72 <brianhu72@gmail.com> Co-authored-by: Caleb Shim <74190657+caleb-bit@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Andrew Cheung <andrewcheung360@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Francis Lau <flau1019@gmail.com>
change ver code
* Fix favoriting routes * Complete favoriting logic * Fix logout behavior * Fix meal filter formatting * Fix capitalized meal times in details screen * Improve code quality in Eatery * Refresh favorites when HomeScreen opens * Implement in-app updates * Clean up comments * Clean up logging * Revert favoriting to local * Implement error handling system for networking calls * Implement toast error handling * Initial plan * Fix: only call getFinancials() when linkGETAccount succeeds Co-authored-by: caleb-bit <74190657+caleb-bit@users.noreply.github.com> * Remove redundant UUID creation * Make LoginViewModel correctly observe userRepository * Create VM for settings * Fix issue with menuItemsToEateries * Use safer calls * Fix incorrect documentation * Initial plan * Fix memory leak: store and unregister flexible update listener in MainActivity Co-authored-by: caleb-bit <74190657+caleb-bit@users.noreply.github.com> * Remove redundant preview * Minor code improvements to LoginViewModel * Extract unregistering listener logic * Remove runBlocking call * Improve redundant computation * Use null-safe access Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Remove debugging variable Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Reuse function Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix visibility issue Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix typo Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Use setPref helper * Fix import issue * Simplify function * Import UUID * Use flows in UserPreferencesRepository * Fix name typo * Simplify collection transformation * Clean up EateryMenusBottomSheet.kt * Add preview for EateryDetailScreen * Prevent race condition from getDeviceId * Use collectAsStateWithLifecycle * Unregister listener in onStop * Improve flow practice * Add limit count and duplicate checking to recent searches * Extract AuthTokenRepository from UserRepository * Remove redundant comments * Remove one-item column * Remove duplicate statusBarPadding * Fix index issue * Add preview for EateryMenusBottomSheet * Replace spacer with divider * Hoist filterText * Add key for lazycolumn * Replace spacers with dividers * Hoist date formatting logic * Fix inefficient recomputation Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Prevent passing state down * Use firstOrNull() instead of first() * Fix logout behavior * Initial plan * Encrypt sensitive auth credentials stored in DataStore at rest Co-authored-by: caleb-bit <74190657+caleb-bit@users.noreply.github.com> * Implement OkHttp interceptor * Extract functionality * Remove unnecessary legacy handling * Ensure backward compatibility in user_prefs * Update version number * Improve null handling with backend data * Fix minor visibility issue * Refactor transaction formatting * Extract GET repo and clean up other repo logic * Use StateFlows in VMs * Use UIState pattern * Minor renaming * Avoid recomputation inside loop * Avoid silent default values * Improve tryRequestWithTokenRefresh * Remove redundant initial value * Use null-safe key * Fix account page loading behavior * Clear error on login * Update SDK * AGP update * Easier gradle updates * KSP migration and other dependency updates * Migrate to Material 3 * Fix hiltViewModel warnings * Fix top padding * Replace deprecated startActivity * Update gradle dependencies * Replace deprecated methods * Create preview for CompareMenusBot and fix color issue * Remove API-level gating for permission request * Fix report logic * Fix exception type * Fix payment filter update condition * Remove redundant parameter * Add preview to MenuCard + minor fixes * Fix outdated comment * Fix null handling * Fix permission request text * Fix braces * Fix jittery search bar * Safer app intents * Correctly read frequently changing value * Prevent accumulating list at recomposition * Finished Dark Mode Feature * Fix report submission behavior * Move state mutations out of composition scope * Use rememberSaveable * Use correct hiltViewModel dependency * LaunchedEffect fixes * Login fixes * Use items in lazycolumn * Remove unnecessary runCatching * Fix color * Clean up UpcomingMenuScreen * Fix View Eatery Details button padding * Use rememberSaveable * Remove unused dependency * Input validation for reports * Safe event access * More safe event access * Use thickness param * Fix flows in comparemenus * Correct key for LaunchedEffect * Disable close while sending * Use rememberSaveable * Move ui-tooling to debugImplementation scope * Rename Preview * Rename CompareMenusBottomSheet * Minor improvements in EateryMenusBottomSheet.kt * Use UIState in comparemenus * Bot to Bottom * Use ReportUiState * Use ElevatedCard * Center favorites loading screen and extract string resources (#223) * Enable edge-to-edge and fix inset handling (#226) * Add previews and refactor popup handling (#228) * CodeRabbit Changes * Rabbit Updates * Add intent filters for Navi (#235) * Migrate to built-in Kotlin & prepare for Kotlin DSL (#232) * Prevent duplicated token refresh and clean up auth logic (#231) * Material 3 UI Fixes (#234) * coderabbit fixes * More nit fixes * Fix preview * coderabbit fixes * add previews * Add dark mode previews * coderabbit fixes * More fixes * Refactor EateryCard modifier * Remove colors alias * Fix search bar colors * Background color fixes * Fix text colors * Fix background colors * Fix eatery meal tabs * Fix login page text color * Fix calendar week selector * Fix menu card colors * Fix favorites toggle colors * Fix favorite button color * Fix switchoption color * Fix supportscreen colors * More color fixes * Payment methods fixes * More payment methods fixes * Fix map stuff * Fix dark mode visual bugs (stacked on Brian_DarkMode) (#252) * Code quality fixes and dependency updates * Bump versions * Cent rounding fix * Add Display settings with dark mode toggle and settings access from login - Add DisplayBottomSheet with Light / Dark / Device Theme radio options - Add Display row to SettingsScreen wired to ThemeViewModel - Expose isLoggedIn from ThemeViewModel; hide logout button when not logged in - Make settings list scrollable to prevent logout button from squishing - Add settings icon to LoginPage header so unauthenticated users can access settings - Add settings_display_* string resources Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Add spacing below filter row in UpcomingMenuScreen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Address CodeRabbit review comments - Use collectAsStateWithLifecycle() instead of collectAsState() for lifecycle-aware state collection - Set logout icon contentDescription to null to avoid TalkBack reading redundant icon label alongside visible "Log out" text Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Refactor theme state to ThemePreference enum; move isLoggedIn to SettingsViewModel - Add ThemePreference enum (LIGHT/DARK/SYSTEM) to data/models - Expose themePreferenceFlow from UserPreferencesRepository instead of nullable Boolean - Replace isDarkMode: StateFlow<Boolean?> with themePreference: StateFlow<ThemePreference> in ThemeViewModel; drop isLoggedIn - Add isLoggedIn: StateFlow<Boolean> to SettingsViewModel (injecting UserPreferencesRepository) - Update rememberResolvedDarkMode in Theme.kt to switch on ThemePreference enum - Update DisplayBottomSheet to accept ThemePreference param directly, removing private DisplayTheme enum - Update SettingsScreen to use ThemePreference and collect isLoggedIn from settingsViewModel Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix report issue button (#257) * Delayed nit fixes (#258) * Bump versions for patch release (#259) * Bump version * Update whatsnew * Implement remaining FCM logic * Set up notification hub logic * UI changes * API Hub Layer * Address CodeRabbit review on notification handling * Backend integration with usersettings * New UI changes + remaining settings endpoint * Push notification test with Firebase * settings hub * Update search screen and view model for favorites Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * pull to refresh and hub changes * Enable backend favorites sync * the ReportAdapter change and the manifest tap action * Re-enable local favorites Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix unread dot * Open hub from push tap and add notifications-off state * Sync favorite items to backend * Clean up notification integration and reuse shared UI * Fix duplicate FCM token * Defer notification prompt until after onboarding and harden push tap handling Wait for onboarding before requesting POST_NOTIFICATIONS; catch DataStore failures in favorite sync; open the hub from a push tapped right after onboarding. * Hide the notification bell in release until the backend serves the hub Hide the bell after a 404 from /users/notifications (release only) and show it again on the next successful fetch; retry queued favorite syncs on resume. * Address CodeRabbit review * Address review: previews, renames, and lint cleanup * Move auth token gating into repositories * Use a per-item mutex for favorite item sync * Inject notification permission checks and move messaging service out of util * Align Favorites back arrow with the title * Move notification settings sync from the view model into NotificationRepository * Drop reserved proto tags and local backend override * Update notification settings on tap and add authorizedNetworkCall * Renumber new proto fields and move notification error state into components * Keep the switch thumb full size when unchecked * Match the switch's off track color to the design * Match the Favorites header to the design * Remove unused import and restore default switch thumb size * update whats new (#265) * dummy * change ver code * minor change * Version updates --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: brianhu72 <brianhu72@gmail.com> Co-authored-by: Andrew Cheung <andrewcheung360@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Mabel Qiu <mq86@cornell.edu> Co-authored-by: Francis Lau <flau1019@gmail.com> Co-authored-by: Mabel Qiu <77413670+mqiu90@users.noreply.github.com>
fix md parsing
* Initial cleanup * Upgrade AGP to 9.5.0 * Upgrade gradle version * More cleanup * Optimize imports and delete unused function * Remove unused variable
* Migrate to version catalog * Upgrade dependency versions
Fix notifications UI
…into barcode_UI
- Load the barcode data before the profile, so the barcode doesn't wait behind the slower profile request on first login - Pull the repeated session renewal into GETAccountRepository.renewSession - Rename getProfile to refreshProfile and return Result<Unit>, since callers read the profile from userProfileFlow - Use null for a profile that isn't loaded instead of UserProfile() - Lock only the profile reset in logout; it runs after the session is cleared, so a late refreshProfile still can't restore the old profile - Remove getCachedBarcodeCredentials, replaced by barcodeCredentialsFlow - Share the name/email/photo row between ProfileCard and the barcode sheet - Make userProfile and barcodeUiState required parameters, and set the barcode's initial Loading state only where the UI collects it
…into mabel/haptics
Add haptic feedback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bump version to 1.5.2 (82)
Enable R8 for release builds
Move the title header out of the LazyColumn and make the filter row the list's sticky header, so the filters stay visible under the header as menus scroll. Fixes #197
The protobuf Gradle plugin is AGP 9 compatible as of v0.10.0 (google/protobuf-gradle-plugin#797), and we're on 0.10.1, so the opt-out from AGP's new DSL is no longer needed. Fixes #233
Show user profile and dining barcode on Account page
Display the eatery's shortAbout below the hours section, matching iOS. Nothing is shown when it's null or blank. Also add a shortAbout to the preview mock eatery. Fixes #219
…308) MenuCard stacked the name, expand icon and status row in a Box, with the status row placed by a fixed 24dp top padding. A name that wrapped (long names or large font sizes) drew over the status row and ran under the icon. Lay the header out as a Row: a weighted Column with the name and status, then the icon. Fixes #261
Update whats new
Release/1.6.0
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
caleb-bit
reviewed
Dec 1, 2026
caleb-bit
left a comment
Contributor
There was a problem hiding this comment.
shouldn't it be a change to main merged to a change to merge-prod-beta merged to prod-beta
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.
Overview
TODO
Changes Made
Test Coverage
Next Steps (optional)
TODO
Related PRs or Issues (optional)
TODO
Screenshots (optional)