Skip to content

Conversation

@codad5
Copy link
Owner

@codad5 codad5 commented Sep 13, 2024

  • Added Daily Generation Limit
  • Added More Field

- Update .env to include a new configuration for the resume system prompts file name.
- Refactor ResumeBuilder form to handle social input changes and update resume information accordingly.
- Update handleEducationChange and handleExperienceChange functions to correctly update the education and experience fields in the resume information.
- Clean up code formatting and remove unnecessary console.log statements.
feat: Add experience field to ResumeBuilder form

refactor: Add education field to ResumeBuilder form

chore: Update CreditUsage component and import in resume generator page

chore: Update .env.sample and actions.tsx, add rate limiter for resume generation
- Update the guidelines for generating resumes in markdown format
- Emphasize the importance of tailoring the resume for the targeted role and company
- Clarify how to handle empty or undefined data in the resume
- Update the education field name in the ResumeBuilder form to be more descriptive.
- Add a new location field to the ResumeBuilder form for specifying the user's location.

feat: Add experience field to ResumeBuilder form

- Add a new experience field to the ResumeBuilder form for capturing the user's work experience.

refactor: Improve resume generation guidelines

- Enhance the guidelines for generating resumes to provide clearer instructions and improve the overall quality of the generated resumes.

refactor: Update .env and ResumeBuilder form

- Update the .env file with new configuration settings.
- Update the ResumeBuilder form to reflect the changes in the .env file.

refactor: Update .env and ResumeBuilder form

- Update the .env file with new configuration settings.
- Update the ResumeBuilder form to reflect the changes in the .env file.
- The CreditUsage component has been updated to include credit usage tracking. It now listens for credit usage updates and decrements the remaining credits accordingly. This ensures that the displayed credit count is accurate.

refactor: Update ResumeBuilder component to decrement credits after resume generation

- The ResumeBuilder component has been updated to decrement the remaining credits after resume generation. This ensures that the credit count is updated correctly when a resume is generated.

refactor: Update server helper to import ResumeGeneratorLimiter

- The server helper file has been updated to import the ResumeGeneratorLimiter from the rate-limiter module. This allows the server to use the rate limiter for the resume generator.

refactor: Update rate-limiter helper to include getCredit function

- The rate-limiter helper file has been updated to include a getCredit function. This function retrieves the remaining credits for the current IP address from the ResumeGeneratorLimiter.

feat: Add client helper functions for credit usage

- A new client helper file has been added to include functions for updating credit usage and decrementing credits. These functions dispatch custom events to notify other components of credit updates.
- Update the resume generation logic to include the contact details even if some are missing
- Add markdown formatting to ensure the resume is well-formatted with headings, bullet points, and hyperlinks
- Update resume generation logic to include start and end dates for experience
- Add RememberMe component to allow users to save their resume information

Co-authored-by: [Author Name]
…ality

- Added useEffect hook to check if the app is remembered and set the rememberMe state accordingly
- Modified useEffect hook to update the rememberMe value in localStorage
…ionality and auto-save feature

- Added a new useEffect hook to set an interval for auto-saving the resume data to the local storage every 9 seconds if the remember me checkbox is checked and changes have been made.
- Removed the import statement for BasicResumeInfo in the client.ts file as it is no longer needed.
…tification function

- Add import statement for NotificationComponent in RootLayout component
- Add NotificationComponent to the header section of RootLayout component
- Implement newNotification function in client.ts to handle displaying notifications
- Update ResumeBuilder component to call newNotification function with error message when an error occurs during resume generation
- Update QUICK_CV_RATE_LIMIT in .env.sample to 3 requests per 15 minutes
- Add QUICK_CV_RATE_LIMIT_DURATION in .env.sample with a value of 15 minutes
- Update RATE_LIMIT_COUNT and limiter duration in rate-limiter.ts to reflect the new rate limit
@vercel
Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quickcv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 11:04am

@codad5 codad5 merged commit a72f313 into main Sep 13, 2024
@codad5 codad5 modified the milestone: Launch a version 1 Sep 13, 2024
This was linked to issues Sep 13, 2024
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.

Add More Question/Field Add a daily Generation Limit No rate Limiter

2 participants