Skip to content

feat: add surgery templates feature - #8

Merged
kasvith merged 1 commit into
mainfrom
feat/surgery-templates
Jan 17, 2026
Merged

feat: add surgery templates feature#8
kasvith merged 1 commit into
mainfrom
feat/surgery-templates

Conversation

@kasvith

@kasvith kasvith commented Jan 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add reusable text templates that can be inserted into rich text editors throughout the application
  • Database migration with FTS5 full-text search on title, content, category, and tags
  • Templates can be global (available to all doctors) or doctor-specific
  • Settings page redesigned with sidebar navigation
  • Template management UI with search and category filtering
  • Command palette (Cmd+K style) in rich text editors for searching and inserting templates

Test plan

  • Create a global template and verify it appears in settings
  • Create a doctor-specific template and verify scope badge shows correctly
  • Search templates by title, content, category, and tags
  • Filter templates by category
  • Edit and delete templates
  • Open surgery form, click template button in editor toolbar
  • Search and select a template, verify content is inserted at cursor
  • Click "Templates" in breadcrumbs, verify it navigates to Templates tab

@kasvith
kasvith force-pushed the feat/surgery-templates branch 2 times, most recently from 9462af9 to 473ca2d Compare January 17, 2026 20:59
Add reusable text templates that can be inserted into rich text editors.

- Database migration with FTS5 full-text search on title, content, category, tags
- Templates can be global or doctor-specific
- Settings page redesigned with sidebar navigation
- Template management UI with search and category filtering
- Command palette in rich text editors for inserting templates
- URL-based tab state in settings for proper navigation
@kasvith
kasvith force-pushed the feat/surgery-templates branch from 473ca2d to 77ea51b Compare January 17, 2026 21:02
@kasvith

kasvith commented Jan 17, 2026

Copy link
Copy Markdown
Contributor Author

Closes #1

@kasvith
kasvith merged commit b676388 into main Jan 17, 2026
2 checks passed
@kasvith
kasvith deleted the feat/surgery-templates branch January 22, 2026 05:40
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