[#35] Add workout templates#43
Merged
brianwalborn merged 1 commit intomainfrom Feb 27, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds a comprehensive "Template" feature to the application, allowing users to create, manage, and interact with workout templates. The changes span the backend (database, models, API, CRUD, and schemas) and the frontend (API integration, composable, and routing), providing full CRUD support for templates and their related exercises and sets.
Backend: Template Data Model and API
templates,template_exercises, andtemplate_setsto support template storage, including relationships and cascading deletes for data integrity. [1] [2]Template,TemplateExercise,TemplateSet) and corresponding Pydantic schemas for creating, updating, and retrieving templates with nested exercises and sets. [1] [2]Frontend: Template Management Integration
useTemplatescomposable for reactive state and actions related to templates.These changes provide end-to-end support for users to manage reusable workout templates, including database persistence, API endpoints, and frontend state and routing.
References: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]