Skip to content

Feat: add instant PDF rendering to Songbook Editor (YAML)#312

Merged
ptabor merged 1 commit into
mainfrom
feature/instant-pdf-rendering-songbook-editor
Jun 11, 2026
Merged

Feat: add instant PDF rendering to Songbook Editor (YAML)#312
ptabor merged 1 commit into
mainfrom
feature/instant-pdf-rendering-songbook-editor

Conversation

@ptabor

@ptabor ptabor commented Jun 11, 2026

Copy link
Copy Markdown

Summary

This adds the missing 'Podgląd PDF' button to the Songbook Editor (songbook_edit.html), which generates a full PDF of the songbook YAML.

This was intended to be part of #311 but that PR was merged before these additional changes were pushed.

Changes

  • src/html/templates/songbook_edit/songbook_edit.html: Added 'Podgląd PDF' button
  • src/html/templates/songbook_edit/songbook_edit.js: Added renderPDF() logic to POST the generated YAML to the Cloud Run backend and poll for completion.

- Adds 'Podgląd PDF' button to songbook_edit.html UI (Songbook Editor)
- Implements renderPDF logic in songbook_edit.js to POST yaml content and poll for job completion
@ptabor ptabor merged commit 1796096 into main Jun 11, 2026
1 check 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.

1 participant