Skip to content

UX: Custom downloaded PDF filenames#316

Merged
ptabor merged 5 commits into
mainfrom
feature/pdf-filename-and-backend-fix
Jun 12, 2026
Merged

UX: Custom downloaded PDF filenames#316
ptabor merged 5 commits into
mainfrom
feature/pdf-filename-and-backend-fix

Conversation

@ptabor

@ptabor ptabor commented Jun 12, 2026

Copy link
Copy Markdown

Summary

Per user request, this PR sets the downloaded PDF filename based on the song/songbook title and the current date (e.g., Spiewnik_2026-06-12.pdf).

  1. Added an optional filename query parameter to the backend /api/jobs/{id}/download endpoint which sets the Content-Disposition header.
  2. Updated the frontend (both song editor and songbook editor) to append the generated filename when displaying/opening the download link.

@ptabor ptabor merged commit 3f4272e into main Jun 12, 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