fix: resolve duplicate sections in data-driven contract rendering #46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-data-driven-rendering-bugs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes three rendering bugs in the data-driven contract path introduced by T6 (#37):
Changes
{#if !data.config}(fallback only)&& !data.configguard to custom_notes renderingTest Plan
Review Checklist
Related Notes
- Move Communication, Rules of Conduct, Commitment, Callout into data-driven path instead of shared block (eliminates duplicates for override contracts) - Move Practice Schedule and Payment Schedule after static sections for correct ordering matching original template - Suppress custom_notes rendering when data.config exists (config.note replaces it) - Wrap shared sections in {#if !data.config} so they only render on fallback path Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>