Skip to content

Add toggle to hide annotations in preview modes #10

@roiguri

Description

@roiguri

Context

In convert, split, and compress modes, the PDF preview currently always shows annotations (highlights, signatures, text). This was intentional — annotations are passed to the viewer for display in all preview modes.

Request

Add an option (checkbox or toggle) in these modes to hide/show annotations in the preview. This gives users a clean view of the raw PDF when needed.

Affected Tools

  • src/components/dashboard/tools/ConvertTool.tsx
  • src/components/dashboard/tools/SplitTool.tsx
  • src/components/dashboard/tools/CompressTool.tsx

Implementation Notes

Each tool already reads annotations from useAppStore and passes them to <PDFViewer>. Adding a local showAnnotations boolean state and conditionally passing annotations={showAnnotations ? annotations : []} would be sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions