Purav-takeover-job-application-form-issues - #5502
Open
pixelpix13 wants to merge 3 commits into
Open
Conversation
…d position dropdown.
- Introduced a new JobPositionSelect component for improved job selection. - Refactored job selection handling in JobApplicationForm. - Updated form submission logic to use structured answers payload. - Enhanced CSS styles for job selection and form layout, ensuring better responsiveness and usability.
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Adjusted initial form selection logic to handle cases with no job title. - Cleared form state when job selection is reset. - Updated CSS styles for improved layout and responsiveness, including changes to flex properties and positioning of elements.
pixelpix13
force-pushed
the
Purav-fix-job-application-form-issues
branch
from
September 3, 2026 20:18
1f0974e to
ce86910
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Takes over and finishes the frontend work for the Job Application Page (
/job-application) form functionality issues (Priority High, Sayantan / WIP Sohail Uddin Syed). Built from latestdevelopmentwith only the job-application feature changes on top (not a merge of the stale PR branch).Fixes required-field indicators, Individual/Organization radios, form reset, know-more link, compact position dropdown, 409 duplicate-submit toast, multipart resume + second-file upload, and submit payload matching the live backend.
Fixes # (Priority High) — Job Application Page form functionality issues. Related previous PR: #4168.
Related PRs (if any):
Purav-fix-job-application-form-issuesdevelopmentfix-job-form-issues-frontendPurav-job-form-issues-backendjob-form-issues-backendTo test end-to-end: check out
Purav-fix-job-application-form-issueson HighestGoodNetworkApp andPurav-job-form-issues-backendon HGNRest.Main changes explained:
JobApplicationForm.jsx— required fields (Name, Email, profile, and required questions) show*JobApplicationForm.jsx— Individual/Organization is radio buttons, left-aligned on one rowJobApplicationForm.jsx— all form fields reset after a successful submitJobApplicationForm.jsx— "Click to know more about this position" opensjobDetailsLinkin a new tab when present; otherwise opens the inline description modal (button, not invalid#anchor)Collaboration.jsx— passesjobDetailsLinkthrough navigation state from the job boardJobApplicationForm.jsx— submit uses multipartrespondent,email,answers,payload,resume, andquestionFile_{questionId}for the second uploadJobApplicationForm.jsx— 409 from backend shows "Application already submitted"JobApplicationForm.jsx/JobApplicationForm.module.css— compactJobPositionSelect(dynamic width, wrapped long titles) beside search + Go instead of a stretched native<select>JobApplicationForm.module.css—linkButtonand radio/checkbox styles so extras are not styled as full-width text fieldsHow to test:
Purav-fix-job-application-form-issueson HighestGoodNetworkApp andPurav-job-form-issues-backendon HGNRestnpm installif dependencies changednpm run buildthennpm start(HGNRest, port 4500). Frontend:npm run start:local→ http://localhost:5173.envREACT_APP_APIENDPOINTat local API if testing uploads/email against this backenddevadmin@hgn.net/DeveloperPassword100%!) and as a Volunteer (personal test account)/job-application*on Name, Email, and required questionsjobDetailsLinkexists, otherwise the description modal/api/jobforms/:formId/responses— multipart includesresumeandquestionFile_*when a second file is attachedScreenshots or videos of changes:
pr_5502_2333_video.mp4
Note:
Purav-job-form-issues-backend(Purav-taking-over-job-form-issues-backend HGNRest#2333). Olderjob-form-issues-backendusedupload.single('resume')and will 500 on a second file.NODE_ENV=productionandsendEmailis on.