WIP: Fix Prince George court report Contact Dates column width (#6730)#6754
Draft
costajohnt wants to merge 1 commit intorubyforgood:mainfrom
Draft
WIP: Fix Prince George court report Contact Dates column width (#6730)#6754costajohnt wants to merge 1 commit intorubyforgood:mainfrom
costajohnt wants to merge 1 commit intorubyforgood:mainfrom
Conversation
Resolves rubyforgood#6730 The contacts table in the Prince George report template had three equal-width columns (~2.2" each), making the Contact Dates column too narrow. Adjusted to: Name 1.33" | Title 1.34" | Dates 4.00". Total table width (9606 twips) preserved. Added spec to verify column widths and prevent regressions.
34c69e3 to
c44406a
Compare
compwron
approved these changes
Mar 9, 2026
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.
What github issue is this PR for, if any?
Resolves #6730
What changed, and why?
The contacts table in the Prince George report template had three equal-width columns (~2.2" each), making the Contact Dates column too narrow for entries with multiple dates. Stakeholders reported that dates were being cut off and the formatting was unusable, requiring manual workarounds (copying content out and reformatting with tabs).
Adjusted the column widths in the
.docxtemplate XML:The total table width (9606 twips / ~6.67") is preserved. Only the Prince George template is modified — other county templates are unchanged.
How is this tested?
Added
spec/documents/templates/prince_george_report_template_spec.rbwhich parses the.docxtemplate XML and verifies:Screenshots please :)
This is a
.docxtemplate change — the visual result can be seen when generating a Prince George court report. The template's contacts table now allocates ~60% of width to the Contact Dates column instead of the previous ~33%.