Commit graph

20 commits

Author SHA1 Message Date
Eduardo Figueroa
6d21444746
Favorites feature 2025-10-31 10:11:05 -07:00
Eduardo Figueroa
763277ca8a Adding NFL Scores (#3)
- Pre-game: No scores will be shown (scores are 0-0)
  - Live games: Current scores will display next to team names
  - Completed games: Final scores will be shown

Co-authored-by: Eduardo Figueroa <eduardo_figueroa@ucsb.edu>
Reviewed-on: https://codeberg.org/edfig/RosterHash/pulls/3
2025-10-30 00:03:16 +01:00
Eduardo Figueroa
f74cca961b Support for cookies. added change username button 2025-09-12 16:26:40 -07:00
Eduardo Figueroa
7ba32dc98b Mapping file to match ESPN to Sleeper names. 2025-09-12 15:36:09 -07:00
Eduardo_Figueroa
337d4b04ed clarity 2025-09-09 16:18:46 -07:00
Eduardo Figueroa
735e41de84 debug mode added. Fixed gitignore. 2025-09-09 16:14:53 -07:00
Eduardo_Figueroa
329f2bfea6 Renaming everything to RosterHash. 2025-09-09 09:36:58 -07:00
efigueroa
7fa013f713 player points displayed now. 2025-09-07 13:00:39 -07:00
efigueroa
727b5bf83c squash this 2025-09-07 12:52:42 -07:00
efigueroa
8aa400eef6 Rebrand app to GameTime and add league info to game cards
- Rename app from FantasyCron to GameTime across all templates and code
- Update league color palette to 6 visually distinct colors (navy, gold, purple, pink, turquoise, plum)
- Add subtle league footer to game cards showing which leagues have players with player counts
- Bump version to 1.0.0
- Update Docker compose service name to match rebrand

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 07:58:45 -07:00
efigueroa
1837590a79 Add loading states and performance optimizations
Performance Improvements:
- Added loading template with skeleton UI and progress animations
- Split routes: show loading state immediately, then fetch data
- Added memory cache for API responses (5-minute TTL)
- Cached expensive calls: user lookup, NFL state, user leagues
- Meta refresh redirect instead of JavaScript for no-JS requirement

User Experience:
- Immediate page load with branded loading screen
- Skeleton UI shows expected layout structure
- Progress bar and spinner animations during load
- Users see something instantly instead of blank page

Technical Details:
- /<username> and /<username>/<week> now show loading.html first
- /<username>/<week>/data route handles actual API calls
- Simple memory cache with fallback to stale data on errors
- CSS animations for loading states and skeleton placeholders

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 23:20:09 -07:00
efigueroa
2109bac65c Fix mobile deep linking to use sleeper.app domain
- Changed URLs from sleeper.com to sleeper.app for better mobile deep linking
- sleeper.app domain provides proper universal links for iOS/Android
- League names and player clicks should now open correct league in mobile app
- Maintains web browser functionality while improving mobile experience

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 23:13:59 -07:00
efigueroa
c0e3879cb8 Make player names clickable with Sleeper league URLs
- Wrapped player pills in anchor tags linking to Sleeper league pages
- Both starters and bench players now clickable and link to their league
- Added CSS styling for player-pill-link to maintain existing appearance
- Players maintain hover effects and position-based colors when clickable
- Links work on both web and mobile (Sleeper app deep links)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 23:08:43 -07:00
efigueroa
59265c7798 Fix refresh button 404 and add clickable league names
- Added missing POST route for refresh button at /<username>/<week>/refresh
- Fixed 404 error by redirecting refresh POST to dashboard route
- Made league names clickable links to Sleeper league pages
- Added CSS styling for league name links with hover effects
- Sleeper URLs work on both web and mobile (app deep links)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 23:04:55 -07:00
efigueroa
f329c944f8 mod 2025-09-06 22:58:52 -07:00
efigueroa
10f8e07ed4 Add player injury status display feature
- Added injury status processing in app.py to check multiple Sleeper API fields
- Filter out 'Active' status to only display actual injury conditions
- Added injury status display in dashboard template with red styling
- Added CSS styling for injury status badges with red color and border
- Only non-active injury statuses (IR, SUS, PUP, DNI, Questionable, OUT) will be shown

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 22:57:42 -07:00
efigueroa
9589a69c9b add collapsible day-rows and game-cards with dates, auto-collapse past items 2025-09-06 22:30:59 -07:00
aef8773d7e mostly working, checkpoint 2025-09-06 15:23:53 -07:00
94d6a54154 css fix 2025-09-04 21:42:18 -07:00
0718fdd01f init 2025-09-04 21:31:23 -07:00