Skip to content

make template_type optional in template config#97

Merged
Harsh-R-17 merged 1 commit intorghs-changesfrom
fix/optional-template-type
Apr 9, 2026
Merged

make template_type optional in template config#97
Harsh-R-17 merged 1 commit intorghs-changesfrom
fix/optional-template-type

Conversation

@Harsh-R-17
Copy link
Copy Markdown
Collaborator

Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor

Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor
@Harsh-R-17 Harsh-R-17 merged commit f9af04a into rghs-changes Apr 9, 2026
1 check passed
Harsh-R-17 added a commit that referenced this pull request Apr 10, 2026
Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor
Harsh-R-17 added a commit that referenced this pull request Apr 10, 2026
Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor
Harsh-R-17 added a commit that referenced this pull request Apr 10, 2026
Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor
Harsh-R-17 added a commit that referenced this pull request Apr 13, 2026
Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor
Harsh-R-17 added a commit that referenced this pull request Apr 13, 2026
Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor
Harsh-R-17 added a commit that referenced this pull request Apr 13, 2026
* rghs init

* rghs changes

* rghs changes

* make template_type optional in template config (#97)

Allow partial template config updates to type-check by making template_type optional instead of required.

Made-with: Cursor

* rghs changes

Made-with: Cursor

* add more changes

* rghs changes

Made-with: Cursor

* fix(rghs): bullet column layout for PDF

- Use padding + absolute bullet instead of flex on li (PDF-safe).
- Prefer max font then fewest columns that fit; cap meds at 1 column.
- Optional maxColumnCount for renderBulletColumns/computeBulletLayout.

Made-with: Cursor

* Remove TEMPLATE_TYPE enum and template_type from TemplateConfig

Drop unused RGHS/EKA template type discriminator from Templar types.

Made-with: Cursor

* Add optional template_id to RenderPdfConfig for layout mapping.

Made-with: Cursor

* Add optional template_id to TemplateConfig for PDF layout routing.

Made-with: Cursor

* Fix medication frequency rendering for custom values.

Use only the custom frequency text in rghs PDF medication lines to avoid mixing fallback frequency formats.

* Allow medications section to use dynamic bullet columns.

Remove the hard one-column cap so medication items can flow to additional columns when space is constrained.

* more changes

* more changes

* remove time from rghs investigation date

Made-with: Cursor

* rename template_id to template_style in render config types

Made-with: Cursor

---------

Co-authored-by: Harsh R Gajera <harshrgajera@Harshs-MacBook-Air.local>
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