Skip to content

Add PDF page preview and delete feature#300

Closed
pragya-manna wants to merge 1 commit into
Durgeshwar-AI:mainfrom
pragya-manna:feature/pdf-preview-delete-ui
Closed

Add PDF page preview and delete feature#300
pragya-manna wants to merge 1 commit into
Durgeshwar-AI:mainfrom
pragya-manna:feature/pdf-preview-delete-ui

Conversation

@pragya-manna

Copy link
Copy Markdown
Contributor

🔀 Pull Request

📌 Issue Reference

Closes #270


📝 Summary

What issue does this fix?

This PR improves the PDF splitting workflow by adding page previews, allowing users to visually identify pages before extracting them. It also introduces page deletion and restoration functionality, making page selection more intuitive and reducing the chances of extracting incorrect pages.

What major changes were made?

  • Added PDF page thumbnail previews using pdf.js.
  • Implemented a larger preview modal for better page visibility.
  • Added Delete Page functionality to exclude unwanted pages from the output.
  • Added Restore Page functionality for accidentally removed pages.
  • Added visual indicators for selected, removed, and restored pages.
  • Improved the overall UI/UX of the PDF Split tool with a more interactive page management experience.
  • Implemented entirely on the frontend without requiring backend changes.

📸 Screenshots (if applicable)

Screenshot 2026-06-12 224653

✅ Checklist

  • My code follows the project's coding conventions
  • I have tested all impacted features
  • I have updated or added necessary documentation

🔗 Related Issues / PRs

Closes issue #270


🏅 Open Source Program Participation

GSSoC 2026 Contributor

💬 Additional Notes

  • No backend changes were required.
  • Existing functionality was preserved.
  • UI/UX improvements added for easier page selection before splitting.

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

@pragya-manna is attempting to deploy a commit to the Durgeshwar's projects Team on Vercel.

A member of the Team first needs to authorize it.

@pragya-manna

Copy link
Copy Markdown
Contributor Author

Hi @Durgeshwar-AI
I have completed the changes for this issue in PdfSplit.jsx. Added page previews and delete/restore page selection. Kindly review the PR.
Thank you!

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
pdf-to-png Ready Ready Preview, Comment Jun 13, 2026 6:51am

@Durgeshwar-AI

Copy link
Copy Markdown
Owner

@pragya-manna see the preview is not clear when viewed also the deletion logic is good but I also want to keep the selection like how it is at present, keep both.

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.

[Feature] : Add page preview with delete option in PDF Split feature

2 participants