refactor: TripDetailView loads games on demand, improve poll UI

- Refactor TripDetailView to fetch games from AppDataProvider when not
  provided, adding loading state indicator for better UX
- Update all callers (25+ HomeContent variants, TripOptionsView, HomeView)
  to use simpler TripDetailView(trip:) initializer
- Fix PollDetailView sheet issue by using sheet(item:) instead of
  sheet(isPresented:) to prevent blank screen on first tap
- Improve PollDetailView UI with Theme styling, icons, and better
  visual hierarchy for share code, voting status, and results sections

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-01-14 11:31:05 -06:00
parent b5aea31b1a
commit 2ad458bffd
28 changed files with 314 additions and 135 deletions

View File

@@ -40,14 +40,4 @@ sharing needs to completely overhauled. should be able to share a trip summary,
// bugs
- fucking game show at 7 am ... the fuck?
all all trips view when choosing "packed" "moderate" "relaxed" the capsule the option is in does a weird animation that looks off.
- Text on achievements is not wrapping and is being cutoff
- Remove username on share
- more on share doesnt do anything
- Created a poll and when I tap on it I get poll not found?
- group poll refreshed every time I go to screen, should update in bg and pull to refresh?
- User who made it should be able to delete it
- Trip details arent showing
- Home Screen quick start should be removed
- Today games arent highlighted in the schedule tab
- features trip showing both nba and nhl but only has a nhl game