Skip to content

#52 Add Boston-Based Student Question#53

Draft
Copilot wants to merge 2 commits intodevfrom
copilot/52-add-boston-campus-question
Draft

#52 Add Boston-Based Student Question#53
Copilot wants to merge 2 commits intodevfrom
copilot/52-add-boston-campus-question

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 24, 2026

Adds a required question to page 2 of the senator application asking whether the applicant will be on the Boston campus for the entirety of their potential term, with a conditional explanation field when the answer is "No".

Changes

  • Prisma schema + migration — two new columns on applications: bostonCampus Boolean @default(true) and bostonCampusExplanation String?
  • Zod schemabostonCampus required boolean (no form default, forcing explicit selection); cross-field refinement requiring a non-empty bostonCampusExplanation when bostonCampus === false
  • Form UI (page 2) — yes/no radio group appended after campaignBlurb; explanation <textarea> conditionally rendered on "No" selection
  • Server actionApplicationData type and submitApplication payload updated to forward both new fields to the data layer
Original prompt

This section details on the original issue you should resolve

<issue_title>Build Boston-based student question</issue_title>
<issue_description>Add a new question to the application second page that asks students whether or not they plan be on the Boston campus for the entirety of their potential term and asks them to explain if not</issue_description>

<agent_instructions>ticket #52</agent_instructions>

Comments on the Issue (you are @copilot in this section)

  • Fixes b-at-neu/senate-path#52

📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
senate-path Ready Ready Preview, Comment Mar 24, 2026 7:14pm

Copilot AI changed the title [WIP] Add question about Boston campus attendance for students #52 Add Boston-Based Student Question Mar 24, 2026
Copilot AI requested a review from b-at-neu March 24, 2026 19:15
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.

Build Boston-based student question

2 participants