Skip to content

Edit school phase#6671

Open
murugapl wants to merge 3 commits intonextfrom
edit-school-phase
Open

Edit school phase#6671
murugapl wants to merge 3 commits intonextfrom
edit-school-phase

Conversation

@murugapl
Copy link
Copy Markdown
Contributor

Add a "Change" link from the school edit screen for the Phase value. Users can choose from one of the four default phase groups. Users will also have to select phase when adding a school or creating a site.

Jira Issue - MAV-7087

Screenshots

Screenshot 2026-04-22 at 14 59 10 Screenshot 2026-04-22 at 14 59 14

@murugapl murugapl added the feature New functionality label Apr 22, 2026
@murugapl murugapl requested a review from a team as a code owner April 22, 2026 13:59
@murugapl murugapl added this to the v8.6.0 milestone Apr 22, 2026
We will allow users to edit the phase of a school as the information from GIAS is often out-dated/incorrect.
We would still want to track GIAS phase as a source of truth so we add a new column to the model instead of
overriding the existing one.
Use overriden value where present, else default to gias_phase
Add a "Change" link from the school edit screen for the Phase value. Users can choose from one of the four default phase groups.
@murugapl murugapl force-pushed the edit-school-phase branch from 8da82dd to 9c25c08 Compare April 22, 2026 14:02
},
value: {
text: schoolable.human_enum_name(:phase)
text: Location.human_enum_name(:phase, schoolable.phase)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer how the old code looks, what's the reason for this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants