Skip to content

[Release] Merge dev into main – auth, GitHub integration, sync, and export features#13

Merged
Gautam25Raj merged 13 commits into
masterfrom
dev
Apr 9, 2026
Merged

[Release] Merge dev into main – auth, GitHub integration, sync, and export features#13
Gautam25Raj merged 13 commits into
masterfrom
dev

Conversation

@Gautam25Raj
Copy link
Copy Markdown
Collaborator

Summary

Merging latest changes from dev into main.

This update introduces authentication, GitHub integration, resume syncing, sharing, and export functionality, along with major improvements across backend services and UI.

Highlights

Authentication (Optional)

  • Added email OTP-based login
  • Integrated Better Auth for session handling
  • Implemented global user state management (Zustand)
  • Authentication remains optional — app works without login

GitHub Integration

  • Sync GitHub issues, pull requests, and stats
  • Data cached in DB and synced every 12 hours
  • Added GitHub stats dashboard (filters, pagination)
  • Admin endpoint for manual sync

Resume Sync & Sharing

  • Sync resumes between local storage and cloud
  • Conflict resolution and sync status tracking
  • Share resumes via unique links (create/revoke)
  • Workspace-level sync settings (auto-sync, etc.)

Resume Export

  • Export resumes as PDF, PNG, JPG
  • Playwright-based rendering
  • Export queue system for job handling

UI Improvements

  • Improved ResumeCard structure and actions
  • Added sharing and sync modals
  • Enhanced dashboard and editor experience
  • Added stats dashboard UI

Backend Improvements

  • New services for GitHub, sync, export, and sharing
  • Improved middleware, caching, and logging
  • Better API structure and validation (Zod)

Fixes

  • Improved API handling and middleware behavior
  • Fixed import path issues for auth utilities

Notes

  • No breaking changes expected
  • Authentication is optional
  • Significant foundation added for future cloud and collaboration features

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • 🧪 Tests (adding or updating tests)

Checklist

  • I have read the CONTRIBUTING.md document.
  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.

Gautam25Raj and others added 13 commits April 5, 2026 03:33
[Feature] Add optional email OTP authentication and user login flow
…tion state management

- Added "better-auth" and "zod" dependencies to package.json.

- Created AuthInitializer component to manage user authentication state.

- Implemented useUserStore for user state management with Zustand.

- Refactored proxy middleware to utilize better-auth for session management.

- Enhanced statsService to include GitHub issue snapshots.

- Added contract tests for resume synchronization and share links.

- Created visual regression tests for template rendering.

- Updated resume types to include synchronization state.
…n-management

feat: add better-auth and zod dependencies, implement user authentica…
…rvices

- Added GitHubSync and GitHubSyncItem models to Prisma schema for tracking GitHub issues and pull requests.

- Created githubController to handle fetching GitHub stats and issues, including validation with Zod.

- Introduced new routes for GitHub stats and issues, including an admin sync endpoint.

- Refactored statsController to remove GitHub stats logic and utilize the new githubService.

- Developed githubService to manage GitHub API interactions, including fetching issues and syncing data.

- Updated middleware for CORS and error handling to improve request management.

- Removed deprecated statsService and adjusted related imports and usages.

- Enhanced API response types to include additional fields for GitHub stats.

- Updated TypeScript configuration to ignore deprecations.
- Split ResumeCard into ResumeCard and ResumeCardMenu for better separation of concerns.

- Implement sharing functionality with ShareResumeModal for creating and managing share links.

- Add SyncDetailsModal to display sync status and options for resolving conflicts.

- Update ResumeGrid to handle new props for syncing and sharing actions.

- Enhance WorkspaceHeader with a refresh button for cloud sync.

- Introduce utility functions for formatting sync times and statuses.

- Update user store to manage user state and clear legacy storage.

- Add default sync settings to the default resume structure.

- Improve error handling and user notifications in modals.
… cloud integration

- Added resume-sync service to handle synchronization of resumes between local storage and cloud.

- Implemented functionality for syncing, telemetry tracking, and conflict resolution.

- Introduced share-links service for creating, listing, and revoking share links for resumes.

- Added safe-local-storage utility to handle local storage operations with quota management.

- Created workspace-settings service to manage workspace settings, including auto-sync preferences.
- Added new routes for resumes and share links.

- Implemented export service to handle resume exports in various formats (PDF, PNG, JPG).

- Created export queue service to manage export jobs and their statuses.

- Integrated Playwright for rendering resumes to the specified formats.

- Updated index to include new routes and services.

- Removed commented-out code for cleaner structure.
…nc-ui

[Feature] Add resume sharing, export, and sync with improved UI/UX
@Gautam25Raj Gautam25Raj added enhancement New feature or request frontend UI/client-side code backend server-side logic api API-related changes or issues ui/ux Design or user experience improvements performance Performance improvements labels Apr 9, 2026
@Gautam25Raj Gautam25Raj linked an issue Apr 9, 2026 that may be closed by this pull request
@Gautam25Raj Gautam25Raj merged commit ded4f00 into master Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api API-related changes or issues backend server-side logic enhancement New feature or request frontend UI/client-side code performance Performance improvements ui/ux Design or user experience improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Roadmap page fails to load due to 403 CORS error from backend

1 participant