Skip to content

Refactor PetDetail into tabbed view; add nutrition#52

Merged
Rod-1991 merged 1 commit intomainfrom
redesign/Pets
May 1, 2026
Merged

Refactor PetDetail into tabbed view; add nutrition#52
Rod-1991 merged 1 commit intomainfrom
redesign/Pets

Conversation

@Rod-1991
Copy link
Copy Markdown
Owner

@Rod-1991 Rod-1991 commented May 1, 2026

Transform PetDetail into a tabbed, full-screen editable layout and consolidate pet info/contact/vet/vaccines flows into tab components. Adds new tabs (PetInfoTab, PetContactTab, PetSaludTab, PetNutricionTab, PetTagTab) and replaces several older screen render branches. Introduces weight and food history support: new types (WeightEntry, FoodEntry), state in App.tsx, fetch/save/delete handlers for pet_weight_history and pet_food_history, and syncing weight into pets table. Extends petDraft with food_brand/food_notes and threads these props through to the new tabs. UI changes include a redesigned hero card, profile completeness pct, owner-only tag/co-owner actions, and a bottom nav. Adjusted screen routing and removed direct PetInfo/PetContact/PetVetHistory/PetVaccines screen usage in favor of the tabbed PetDetail implementation.

Transform PetDetail into a tabbed, full-screen editable layout and consolidate pet info/contact/vet/vaccines flows into tab components. Adds new tabs (PetInfoTab, PetContactTab, PetSaludTab, PetNutricionTab, PetTagTab) and replaces several older screen render branches. Introduces weight and food history support: new types (WeightEntry, FoodEntry), state in App.tsx, fetch/save/delete handlers for pet_weight_history and pet_food_history, and syncing weight into pets table. Extends petDraft with food_brand/food_notes and threads these props through to the new tabs. UI changes include a redesigned hero card, profile completeness pct, owner-only tag/co-owner actions, and a bottom nav. Adjusted screen routing and removed direct PetInfo/PetContact/PetVetHistory/PetVaccines screen usage in favor of the tabbed PetDetail implementation.
@Rod-1991 Rod-1991 merged commit d6b8875 into main May 1, 2026
1 check passed
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.

1 participant