Claude/template letter form iu i2t#25
Open
RonLanzilotta wants to merge 17 commits intojdabank:masterfrom
Open
Conversation
Replaces the Random Cat API exercise with a single-page form that lets users fill in their name, draw or upload a signature, and generate a filled PDF of the LPC support letter. Clicking the submit button downloads the PDF and opens a pre-addressed email draft to RFE@lpc.nyc.gov. https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
Deploys on every push to master. Once Pages is enabled in repo Settings → Pages (source: GitHub Actions), the site will be live at https://ronlanzilotta.github.io/random-cat-api/ https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
Single-page site: users enter their name, draw or upload a signature, preview the filled letter, then generate a PDF and open an email draft to RFE@lpc.nyc.gov with subject 'Letter of Support for Joseph Fallert Brewery'. Includes GitHub Actions workflow for automatic GitHub Pages deployment. https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
…IuI2t Claude/template letter form iu i2t
…in Chrome and all browsers
…IuI2t Claude/template letter form iu i2t
The previous commit switched from <a href> to <button> + window.location.href, which browsers often block for mailto: links. This reverts to an <a> element whose href is set to the mailto URL when the PDF is generated. https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
Rather than pre-rendering a hidden button and setting its href dynamically, create the <a> element with the full mailto URL baked into the href at the moment the PDF is generated. This guarantees the link is present and correct. https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
Simplified post-generation UX to just a confirmation notice telling users to email the PDF manually to RFE@lpc.nyc.gov. https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
- Removed site header (Letter of Support title block) - Removed footer (Questions? contact line) - Added canonical link tag pointing to https://ronlanzilotta.github.io/joseph-fallert-letter - Cleaned up orphaned header/footer CSS https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
Content was silently clipped at page 1 boundary, cutting off paragraphs and the signature. Added checkPageBreak() before each paragraph and the closing/signature block to insert a new page when needed. https://claude.ai/code/session_01BmEJdM5rf1JB5BZEACUCFn
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.
No description provided.