Skip to content

Conversation

@caleb-bit
Copy link
Contributor

@caleb-bit caleb-bit commented Nov 9, 2025

Overview

This PR fixes the broken Upcoming Menu screen and updates the cache logic for upcoming menus.

Changes Made

  • We no longer fetch the deprecated /eatery/ endpoint and instead use the cheaper (and functional) eatery/day/{day_id} endpoint.
  • The caches for the Home eateries and Upcoming Menu eateries have been separated.

Test Coverage

  • Cached data is used when changing date in Upcoming Menu (no loading time when changing to a cached date)
  • Home screen, Eatery Details screen, and Upcoming Menu screen each reload when app loses focuses and returns.
  • At onResume, previously cached data is no longer used.

Next Steps

Finish login refactor and merge Caleb/LoginRefactor.

…ery-blue-android into Caleb/upcomingmenufix

# Conflicts:
#	app/src/main/java/com/cornellappdev/android/eatery/data/NetworkingApi.kt
#	app/src/main/java/com/cornellappdev/android/eatery/data/repositories/EateryRepository.kt
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