Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Add currency selector for salary field#34

Merged
dmrock merged 7 commits into
mainfrom
33-add-currency-option-to-the-application-modal
Dec 27, 2025
Merged

Add currency selector for salary field#34
dmrock merged 7 commits into
mainfrom
33-add-currency-option-to-the-application-modal

Conversation

@dmrock
Copy link
Copy Markdown
Owner

@dmrock dmrock commented Dec 27, 2025

No description provided.

@dmrock dmrock linked an issue Dec 27, 2025 that may be closed by this pull request
@dmrock dmrock requested a review from Copilot December 27, 2025 09:23
Copy link
Copy Markdown
Contributor

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 currency support to the salary field in job applications, enabling users to track salaries in USD, EUR, or GBP. The feature includes automatic currency detection based on timezone/locale and a currency selector in the UI.

  • Introduces a currency field in the data model with validation
  • Implements smart default currency detection using timezone and locale fallbacks
  • Updates the UI to display a currency selector alongside the salary input

Reviewed changes

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

File Description
src/app/applications/applications-client.tsx Adds currency constants, detection logic, selector UI, and form state management
convex/schema.ts Adds optional currency field to applications table
convex/applications.ts Adds currency validation and handling in create/update mutations

Comment thread src/app/applications/applications-client.tsx Outdated
Comment thread convex/applications.ts Outdated
Comment thread convex/applications.ts Outdated
@dmrock dmrock requested a review from Copilot December 27, 2025 09:56
Copy link
Copy Markdown
Contributor

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 3 out of 3 changed files in this pull request and generated 4 comments.

Comment thread convex/schema.ts Outdated
Comment thread src/app/applications/applications-client.tsx Outdated
Comment thread src/app/applications/applications-client.tsx Outdated
Comment thread src/app/applications/applications-client.tsx Outdated
@dmrock dmrock requested a review from Copilot December 27, 2025 10:34
Copy link
Copy Markdown
Contributor

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 4 out of 5 changed files in this pull request and generated 5 comments.

Comment thread src/app/applications/applications-client.tsx Outdated
Comment thread src/app/applications/applications-client.tsx Outdated
Comment thread src/app/applications/applications-client.tsx Outdated
Comment thread src/app/applications/applications-client.tsx Outdated
Comment thread convex/applications.ts Outdated
@dmrock dmrock requested a review from Copilot December 27, 2025 22:26
Copy link
Copy Markdown
Contributor

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 4 out of 5 changed files in this pull request and generated 2 comments.

Comment thread src/app/applications/applications-client.tsx
Comment thread src/app/applications/applications-client.tsx
@dmrock dmrock merged commit 0bf2403 into main Dec 27, 2025
1 check passed
@dmrock dmrock deleted the 33-add-currency-option-to-the-application-modal branch December 27, 2025 22:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add currency option to the application modal

2 participants