Build Routes tab with paginated list and Zod-validated API responses
Routes tab (Phase 3.1): - Paginated FlatList fetching from Journal REST API - Route cards with name, distance (km), elevation gain, day count - Pull-to-refresh, loading spinner, error state with retry, empty state - Safe area insets for notch and tab bar API client: - Import types from @trails-cool/api instead of hand-written interfaces - Parse list/detail responses through Zod schemas at runtime - Add zod as mobile app dependency i18n: - Add mobile namespace (en + de) for routes, activities, profile, login Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
05659bcfc1
commit
77e3c1b1ee
8 changed files with 224 additions and 24 deletions
|
|
@ -99,10 +99,10 @@
|
|||
|
||||
### 3.1 Route List
|
||||
|
||||
- [ ] 3.1.1 Build Routes tab screen with paginated route list fetched from Journal API
|
||||
- [ ] 3.1.2 Display route cards with name, distance, elevation, and thumbnail map preview
|
||||
- [ ] 3.1.3 Add pull-to-refresh and loading/error states
|
||||
- [ ] 3.1.4 Add i18n keys for route list strings (en + de)
|
||||
- [x] 3.1.1 Build Routes tab screen with paginated route list fetched from Journal API
|
||||
- [x] 3.1.2 Display route cards with name, distance, elevation, and thumbnail map preview
|
||||
- [x] 3.1.3 Add pull-to-refresh and loading/error states
|
||||
- [x] 3.1.4 Add i18n keys for route list strings (en + de)
|
||||
|
||||
### 3.2 Route Detail
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue