Skip to content

feat(pdf): add PDF metadata editor#306

Open
rwv wants to merge 3 commits intomainfrom
feat/pdf-metadata-editor
Open

feat(pdf): add PDF metadata editor#306
rwv wants to merge 3 commits intomainfrom
feat/pdf-metadata-editor

Conversation

@rwv
Copy link
Member

@rwv rwv commented Mar 11, 2026

Summary

  • add a new offline PDF Metadata Editor tool for reading, updating, clearing, and downloading standard PDF metadata
  • split the editor UI into focused sections and register the tool in the PDF registry/routes
  • add DOM tests for the new tool package and keep package coverage at 100%

Verification

  • pnpm format-check
  • pnpm lint-check
  • pnpm type-check
  • pnpm exec vitest run tools/pdf/pdf-metadata-editor/src --project dom --coverage --coverage.include="tools/pdf/pdf-metadata-editor/src/**/*.{ts,vue}" --coverage.thresholds.lines=100 --coverage.thresholds.statements=100 --coverage.thresholds.functions=100 --coverage.thresholds.branches=100

@github-actions
Copy link

github-actions bot commented Mar 11, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 96.36% (🎯 95%) 34492 / 35794
🔵 Statements 96.24% (🎯 94%) 38101 / 39589
🔵 Functions 96.49% (🎯 95%) 12602 / 13060
🔵 Branches 92.77% (🎯 89%) 16958 / 18278
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
registry/tools/src/index.ts 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/PDFMetadataEditorView.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/index.ts 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/info.ts 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/routes.ts 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/components/PDFMetadataCurrentSection.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/components/PDFMetadataEditorSections.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/components/PDFMetadataEditorTool.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/components/PDFMetadataFormSection.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/components/PDFMetadataSaveSection.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/components/PDFMetadataSectionHeader.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/components/PDFMetadataUploadSection.vue 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/composables/usePdfMetadataEditor.ts 100% 100% 100% 100%
tools/pdf/pdf-metadata-editor/src/utils/pdfMetadata.ts 100% 100% 100% 100%
Generated in workflow #1357 for commit da29c3f by the Vitest Coverage Report Action

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