Skip to content

Conversation

@najmiter
Copy link
Owner

@najmiter najmiter commented Oct 1, 2025

No description provided.

@vercel
Copy link

vercel bot commented Oct 1, 2025

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

Project Deployment Preview Comments Updated (UTC)
pdf Ready Ready Preview Comment Oct 1, 2025 10:30am

@najmiter najmiter self-assigned this Oct 1, 2025
@najmiter najmiter added the enhancement New feature or request label Oct 1, 2025
@najmiter najmiter marked this pull request as draft October 1, 2025 10:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new PDF compression feature to the application, implementing a dedicated compression page with routing support. The change transforms the single-page application into a multi-page application with navigation between the existing tools and the new compression functionality.

  • Added Vue Router for navigation between pages
  • Created a new compression page with a three-step workflow (upload, settings, results)
  • Implemented PDF compression using pdf-lib with customizable quality settings and metadata removal options

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
vite.config.ts Added base path configuration for proper routing
vercel.json Added deployment configuration with caching headers and SPA routing support
src/style.css Updated border color and added spacing for better visual appearance
src/router/index.ts Created Vue Router configuration with home and compress routes
src/pages/HomePage.vue Extracted original app functionality into a dedicated home page component
src/pages/CompressPage.vue New compression page with three-step workflow and settings UI
src/main.ts Integrated Vue Router into the app
src/composables/usePDFCompression.ts New composable for PDF compression logic using pdf-lib
src/components/ui/Switch.vue New toggle switch component for compression settings
src/components/ui/Slider.vue New slider component for quality adjustment
src/components/ToolsPanel.vue Added navigation link to compression page
src/App.vue Refactored to use router-view with navigation header
public/sitemap.xml Added compress page to sitemap
package.json Added vue-router dependency

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@najmiter najmiter requested a review from Copilot October 1, 2025 10:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 4 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The output file size goes beyond the input file - ridiculous am i right

2 participants