Skip to content

feat: migrate to embedPDF and improve PDF viewer UX and few cleanup#490

Merged
YOGESH-08 merged 58 commits intoprodfrom
staging
Apr 16, 2026
Merged

feat: migrate to embedPDF and improve PDF viewer UX and few cleanup#490
YOGESH-08 merged 58 commits intoprodfrom
staging

Conversation

@YOGESH-08
Copy link
Copy Markdown
Collaborator

📌 Purpose

Improve the PDF viewing experience and fix UI/UX issues across the application. This PR introduces a new PDF viewer using embedPDF, resolves interaction issues, and includes minor fixes and refactors.


Corresponding issue: closes #458 #468 #465 #455


🔧 Changes

  • Replaced existing PDF viewer with embedPDF (feat: swapped the pdf viewer with embedPDF)
  • Fixed jitter and alignment issues in PDF rendering
  • Centered PDF consistently across zoom levels
  • Disabled overly sensitive mouse wheel zoom and added controlled zoom behavior
  • Improved zoom + scroll interaction for smoother UX
  • Fixed accordion not collapsing due to controlled value prop
  • Removed unused imports
  • General UI/UX improvements in viewer controls

➕ Additional Notes

  • Zoom now behaves more predictably (no accidental zoom on scroll)

  • Accordion now supports full collapse (better UX)

  • Further improvements possible:

    • Zoom to cursor
    • Auto-fit toggle
    • Performance optimizations for large PDFs

Gslmao and others added 30 commits February 15, 2026 19:59
Updated Node.js CI workflow to support production branch and use pnpm for dependency management.
Refactored the workflow to set environment variables directly in the build step instead of creating a .env file.
Refactor environment variable handling in workflow
fixed a syntax error
removed modular level declaration
YOGESH-08 and others added 28 commits March 31, 2026 17:49
refactor: remove unused interfaces
migrate to remotePatterns
use isSelected directly, this causes a double render on every parent state change.
/fix: Github re-directing to papers github
feat: rate-limiting endpoints and migration to Upstash
feat: pdf viewer swap & flicker problem fix
Fix: Sidebar accordion not collapsing
@YOGESH-08 YOGESH-08 merged commit cf7bc1f into prod Apr 16, 2026
2 checks passed
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.

8 participants