Skip to content

Feat/routine templates#10

Merged
alvarotorresc merged 5 commits into
mainfrom
feat/routine-templates
Mar 4, 2026
Merged

Feat/routine templates#10
alvarotorresc merged 5 commits into
mainfrom
feat/routine-templates

Conversation

@alvarotorresc

Copy link
Copy Markdown
Owner

No description provided.

Add getTemplates(), cloneTemplate(), and createTemplate() to RoutineRepository.
Exclude templates from getAll() and getAllWithExercises().
Define 6 routine templates (Push/Pull/Leg/Upper/Lower/Full Body).
Add idempotent seedRoutineTemplates() function.
10 new tests covering template CRUD and cloning behavior.
Add TemplateCard component with compact horizontal-scroll layout.
Add TemplatePreviewModal with exercise list and Use Template button.
Update routines screen with Templates section above user routines.
Seed routine templates on app init.
@alvarotorresc alvarotorresc self-assigned this Mar 4, 2026
@alvarotorresc alvarotorresc added the enhancement New feature or request label Mar 4, 2026
@alvarotorresc alvarotorresc merged commit e1068f6 into main Mar 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant