Open
Conversation
…ch, and other field support - Add PhoneInput component with country code dropdown and auto-formatting - Add UniversityCombobox with Hipo API search and popular universities list - Add SelectWithOther component for dropdowns with custom 'Other' text input - Add AgreementsSection to admin review panels for better visibility - Change 'Major' label to 'Field(s) of Study' across application forms - Add missing Race field to PersonalInfoStep - Fix .air.toml for Windows compatibility
balebbae
reviewed
Mar 6, 2026
|
|
||
| [build] | ||
| args_bin = [] | ||
| bin = "./tmp/main" |
balebbae
reviewed
Mar 6, 2026
| @@ -16,6 +16,7 @@ vendor/ | |||
|
|
|||
| # Air live reload | |||
Collaborator
There was a problem hiding this comment.
remove this as well. If you want have it set in your own global .gitignore
balebbae
requested changes
Mar 6, 2026
Collaborator
balebbae
left a comment
There was a problem hiding this comment.
Mainly removing backend fmt commits.
Collaborator
There was a problem hiding this comment.
Remove any changes to the backend. It seems to be formatting issues with tabs and spaces which I'm not getting maybe its a mac vs windows thing. I'll look into it but it shouldn't be here for this pr.
| } | ||
| } | ||
|
|
||
| export const POPULAR_UNIVERSITIES = [ |
Collaborator
There was a problem hiding this comment.
Remove populate univs. just have them search for their univ
Collaborator
There was a problem hiding this comment.
loll just realized theres 2 applications details panel will fix later dw about it for now
| state_province: string | null; | ||
| } | ||
|
|
||
| const HIPO_API_BASE = "http://universities.hipolabs.com"; |
6 tasks
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
This PR addresses multiple frontend UX issues on the hacker application and admin review pages, focusing on improved data entry, better form accessibility, and enhanced admin visibility.
Changes
1. Phone Number Auto-Formatting
Problem: The phone number field was a plain text input requiring users to manually type country codes and format numbers, leading to inconsistent data and poor UX.
Solution: Created a custom
PhoneInputcomponent (components/ui/phone-input.tsx) that:(555) 123-4567+15551234567) for backend compatibilitySelectandInputcomponents for consistent stylingFiles:
client/web/src/components/ui/phone-input.tsx(NEW)client/web/src/pages/hacker/apply/steps/PersonalInfoStep.tsx(MODIFIED)2. University Searchable Dropdown
Problem: University was a free-text input allowing inconsistent entries (e.g., "UTD", "UT Dallas", "University of Texas at Dallas").
Solution: Created
UniversityComboboxcomponent (pages/hacker/apply/components/UniversityComboBox.tsx) that:Command+Popoverfor searchable dropdown patternFiles:
client/web/src/pages/hacker/apply/components/UniversityComboBox.tsx(NEW)client/web/src/pages/hacker/apply/api.ts(MODIFIED - added university search API)client/web/src/pages/hacker/apply/steps/SchoolInfoStep.tsx(MODIFIED)3. "Other" Option with Custom Text Input
Problem: Dropdown fields (Gender, Country, Level of Study, Heard About) had fixed options with no way to enter custom values.
Solution: Created reusable
SelectWithOthercomponent (pages/hacker/apply/components/SelectWithOther.tsx) that:gender = "Non-conforming")Applied to:
Files:
client/web/src/pages/hacker/apply/components/SelectWithOther.tsx(NEW)client/web/src/pages/hacker/apply/steps/PersonalInfoStep.tsx(MODIFIED)client/web/src/pages/hacker/apply/steps/SchoolInfoStep.tsx(MODIFIED)client/web/src/pages/hacker/apply/steps/ExperienceStep.tsx(MODIFIED)4. "Major" → "Field(s) of Study" Label Change
Problem: "What is your major?" was too narrow for students with multiple fields of study or non-traditional backgrounds.
Solution: Updated labels across the application:
Files:
client/web/src/pages/hacker/apply/steps/SchoolInfoStep.tsx(MODIFIED)client/web/src/pages/hacker/apply/steps/ReviewStep.tsx(MODIFIED)5. Agreements & Acknowledgments Section (Admin View)
Problem: Admin review pages didn't display applicants' agreement status (MLH Code of Conduct, Privacy Policy, etc.), making compliance verification difficult.
Solution: Created
AgreementsSectioncomponent with:Displays:
Added to:
Files:
client/web/src/pages/admin/all-applicants/components/detail-sections/AgreementsSection.tsx(NEW)client/web/src/pages/admin/all-applicants/components/detail-sections/index.ts(MODIFIED)client/web/src/pages/admin/all-applicants/components/ApplicationDetailPanel.tsx(MODIFIED)client/web/src/pages/admin/_shared/grading/GradingDetailsPanel.tsx(MODIFIED)client/web/src/pages/admin/assigned/components/ApplicationDetailsPanel.tsx(MODIFIED)Testing
npm run lint)npm run build)Checklist
pages/hacker/apply/api.ts)