feature: generate and download a spec-scoped PDF extract from the issue-links section #27

Merged
Gilles merged 1 commit from feat/spec-pdf-extract into main 2026-10-31 21:37:14 +00:00
Owner

Closes #26.

Frontend for thierryade/backend#30 (third and last slice of the Forgejo issue-link feature).

On SpecDetailPanel, once a spec has at least one linked issue, a "Générer l'extrait PDF" button appears under the issue-links list -- creates a spec-scoped PdfExportJob, polls every 2s while pending/running (same pattern as ProjectVersionsView's own exports), then offers "Télécharger l'extrait PDF" once done or a retry on failure.

Test plan

  • pnpm run test:unit -- 87/87 passing (2 new)
  • vue-tsc -b -- clean
  • vite build -- clean

🤖 Generated with Claude Code

https://claude.ai/code/session_014HiJrn6J6vhyFfC2qyY4uh

Closes #26. Frontend for `thierryade/backend#30` (third and last slice of the Forgejo issue-link feature). On `SpecDetailPanel`, once a spec has at least one linked issue, a "Générer l'extrait PDF" button appears under the issue-links list -- creates a spec-scoped `PdfExportJob`, polls every 2s while pending/running (same pattern as `ProjectVersionsView`'s own exports), then offers "Télécharger l'extrait PDF" once done or a retry on failure. ## Test plan - [x] `pnpm run test:unit` -- 87/87 passing (2 new) - [x] `vue-tsc -b` -- clean - [x] `vite build` -- clean --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014HiJrn6J6vhyFfC2qyY4uh
feature: generate and download a spec-scoped PDF extract from the issue-links section
All checks were successful
ci / unit (pull_request) Successful in 1m2s
ci / publish (pull_request) Has been skipped
5dff3c2471
Closes #26.

On SpecDetailPanel, once a spec has at least one linked issue, a
"Générer l'extrait PDF" button appears under the issue-links list --
creates a spec-scoped PdfExportJob (POST /api/pdf-export-jobs/ {spec}),
polls every 2s while pending/running (same pattern as
ProjectVersionsView's own version/current-state exports), then offers
"Télécharger l'extrait PDF" once done or a retry on failure. No extra
UI needed for the "posted on the linked issue" part -- that's entirely
server-side (apps.specs.tasks.sync_confirmation_comment, see
thierryade/backend#30).

## Test plan
- [x] `pnpm run test:unit` -- 87/87 passing (2 new)
- [x] `vue-tsc -b` -- clean
- [x] `vite build` -- clean

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014HiJrn6J6vhyFfC2qyY4uh
Gilles scheduled this pull request to auto merge when all checks succeed 2026-10-31 21:19:07 +00:00
Gilles scheduled this pull request to auto merge when all checks succeed 2026-10-31 21:19:23 +00:00
Author
Owner
<!-- argus-link-bot:thierryade/frontend --> 📊 [Rapports Argus pour cette PR](https://reports.stationmyr.net/thierryade/frontend/pr/27)
Gilles merged commit 84798c59d8 into main 2026-10-31 21:37:14 +00:00
Gilles deleted branch feat/spec-pdf-extract 2026-10-31 21:37:14 +00:00
Sign in to join this conversation.
No description provided.