Redesign PDF template, add batch letter generator, extend tests and seed data #5
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.
🧾 Summary
This PR introduces a redesigned welcome letter template with structured typography and layout, and adds tooling to batch-generate PDFs. It also expands seed data, improves test coverage, and mounts new template volumes into Docker for live development.
✅ What’s Included
📄 Letter Template (HTML/CSS)
welcome_letter.html.jinja2:🛠 Makefile Utility
make generate_letters:make create_db && make seed_db🧪 Testing
test_routes_member_search.py— full coverage of all search endpointstest_routes_membership.py— tests/members/{id}/membershipstest_routes_misc.py— validates/misc/*endpointsconftest.pyto ensureexample.test → example.comfor better email consistency🌱 Seed Data Enhancements
🐳 Docker Development Volumes
app/pdf/templates/for live letter previewing🧪 How to Test
output/letters/🧭 Follow-up Ideas
/new_membercreation