Skip to content

Update Recommendation Letter Generator: new purposes, Andrew Spiece signature, Word export, style polish#13

Merged
aspiece merged 2 commits into
mainfrom
copilot/update-recommendation-letter-generator
Apr 29, 2026
Merged

Update Recommendation Letter Generator: new purposes, Andrew Spiece signature, Word export, style polish#13
aspiece merged 2 commits into
mainfrom
copilot/update-recommendation-letter-generator

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 29, 2026

Overhauls the letter generator with updated purpose options, a fixed signature block, Word export, and cleaner prose throughout.

Purpose Field

  • Replaced old options with: General Recommendation, College Application, Scholarship, Internship, Employment, Leadership Program, Other
  • "Other" reveals a free-text input; its value is injected into the opening context (local copy — PURPOSE_DATA is not mutated)

General Recommendation Path

  • Greeting: To Whom It May Concern,
  • Letter body avoids any specific institution/program; focuses on character, work ethic, growth, and future potential
  • Closes with a reusable endorsement line

Signature Block

All outputs (on-screen, copy, Word) now end with:

Sincerely,

Andrew Spiece
Computer Science / Technology Instructor
Genesee Career Institute
Genesee Intermediate School District
aspiece@geneseeisd.org
(810) XXX-XXXX

Optional digital signature checkbox inserts _________________________ above the typed name.

Word Export (.docx)

  • New Export Word button using docx@8.5.0 (CDN, defer)
  • Fetches wordprojectfiles/logo_square.png as centered GISD letterhead; gracefully skips with a console.warn if unavailable
  • 0.5 in narrow margins, Times New Roman 12 pt
  • Downloads as Recommendation_Letter_[LastName]_[FirstName].docx

Writing Style & Punctuation

  • Removed all em dashes and sentence-level hyphens (self-directednatural initiative, etc.) throughout phrase arrays, templates, and p2/trait paragraph builders
  • Added two new opening variants and one new closing variant for more generation variety

Copilot AI and others added 2 commits April 29, 2026 16:21
- Replace Purpose dropdown with 7 new options (General Recommendation,
  College Application, Scholarship, Internship, Employment, Leadership
  Program, Other) plus custom text field for Other
- Add General Recommendation path: uses To Whom It May Concern greeting
  and writes a broad, reusable letter focused on character/growth/potential
- Update signature block to Andrew Spiece full contact details on all
  outputs (on-screen, copy, word export)
- Add optional digital signature line checkbox
- Fix all em dashes and sentence hyphens throughout phrase arrays
- Add more varied openings, transitions, and closings for unique letters
- Add Word export (.docx) via docx@8.5.0 with GISD letterhead, narrow
  margins (0.5 inch), Times New Roman, and student filename
- Wire all new events: Other field toggle, digital sig, Word export,
  updated clear button

Agent-Logs-Url: https://github.com/aspiece/GCI/sessions/eaf0613d-4425-482b-8fa9-a69a1f7d7b86

Co-authored-by: aspiece <1187774+aspiece@users.noreply.github.com>
…e logo error handling

Agent-Logs-Url: https://github.com/aspiece/GCI/sessions/eaf0613d-4425-482b-8fa9-a69a1f7d7b86

Co-authored-by: aspiece <1187774+aspiece@users.noreply.github.com>
@aspiece aspiece marked this pull request as ready for review April 29, 2026 16:25
@aspiece aspiece merged commit 4a3365b into main Apr 29, 2026
0 of 2 checks passed
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.

2 participants