Skip to content

feat(dogs/profile): add AJOK laaja PDF stack#317

Merged
asku1990 merged 3 commits into
developfrom
feature/bej-126-add-dog-specific-scrollable-pdf-protocols-page
Jun 30, 2026
Merged

feat(dogs/profile): add AJOK laaja PDF stack#317
asku1990 merged 3 commits into
developfrom
feature/bej-126-add-dog-specific-scrollable-pdf-protocols-page

Conversation

@asku1990

@asku1990 asku1990 commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a new AJOK laaja view that allows users to open all supported dog trial protocols from a dog’s profile in a single scrollable PDF page.

The implementation renders each protocol independently using pdf.js canvas rendering, ensuring that a failed or stale PDF no longer prevents the remaining protocols from being viewed.

Changes

  • add a Laaja PDF action to the dog profile trials page
  • add a public page for rendering multiple trial PDFs from trial entry IDs
  • render PDFs using pdf.js canvas rendering
  • allow individual PDF failures without blocking the rest of the PDF stack
  • expose PDF availability metadata (hasDogTrialPdf) from the server
  • expose trialEntryId in the dog trial profile DTO
  • rename the PDF API route to use trialEntryId instead of the ambiguous trialId
  • centralize public/API PDF route helpers
  • update unit tests for the new routes, DTOs, server logic, and UI

Why

Previously, users had to open each AJOK protocol individually. In addition, a stale or unavailable PDF could prevent the entire viewing experience.

This change provides a much better user experience by allowing all supported protocols to be viewed in one place while gracefully handling individual failures.

ref bej-126

  - add a laaja view action for opening all supported dog trial PDFs
  - render multiple trial PDFs from trial entry IDs in one public PDF page
  - use pdf.js canvas rendering so stale PDFs do not block the stack
  - expose PDF render support from dog profile trial data

ref bej-126

..
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
beagle-db-v2 Ignored Ignored Preview Jun 30, 2026 6:38pm

asku1990 added 2 commits June 30, 2026 21:26
ref bej-126
ref bej-126
@asku1990 asku1990 merged commit b8c9c86 into develop Jun 30, 2026
4 of 5 checks passed
@asku1990 asku1990 deleted the feature/bej-126-add-dog-specific-scrollable-pdf-protocols-page branch June 30, 2026 18:54
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