Skip to content

Fixing the List of Summer Terms on the Request Summer Proposal page - #1767

Open
ArtemKurasov wants to merge 14 commits into
developmentfrom
1747_Bright_Artem
Open

Fixing the List of Summer Terms on the Request Summer Proposal page#1767
ArtemKurasov wants to merge 14 commits into
developmentfrom
1747_Bright_Artem

Conversation

@ArtemKurasov

@ArtemKurasov ArtemKurasov commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Issue Description

Fixes issue #1747

  • If you request a summer proposal on a CCE Minor Profile page, you don't have enough Summer terms to choose from

Changes

  • There are now more Summer Terms options for the CCE Minor Proposal Form
  • The options reflect the academic year of a student (for example, if they are a freshman, they will 4 options, but if they are not, they will have less).

Testing

  1. Go to Admin > Minor Management
  2. Choose different students on the CCE Minor Progress list/table
  3. Click on the Request Summer Proposal button
  4. Click on the Summer Year dropdown
  5. Make sure that the displayed years match the Student's academic year

@ArtemKurasov
ArtemKurasov marked this pull request as ready for review July 17, 2026 15:53
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

View Code Coverage

@brightfietsop-ux

brightfietsop-ux commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Fixes issue ##1747

Summary

Updated the CCE Minor Summer Experience form so students see summer years based on their estimated enrollment period.

What Changed

  • Added selectAllSummerTerms() to estimate a student’s admission year using:
    • Current class level
    • Current academic term
    • Graduation status
  • Limited the dropdown to summers within the student’s estimated enrollment window.
  • Included the current summer when the student is still enrolled.
  • Prevented graduated students from receiving summer options.
  • Updated dropdown options to use explicit Term IDs.
  • Removed unused or broken JavaScript references from the form.
  • Added Summer 2018–2020 to the demo/test data using non-conflicting IDs.

For example, a Senior in Summer 2021 sees Summer 2018–2021, while a Sophomore sees Summer 2020–2022.

Testing

Added tests covering:

  • Freshman, Sophomore, and Senior enrollment windows
  • Current-summer behavior
  • Graduated students
  • Missing or unrecognized class levels
  • Exclusion of summers beyond the estimated graduation window

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.

4 participants