-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace instances of PGDE with QTS / change API course summary #4645
Replace instances of PGDE with QTS / change API course summary #4645
Conversation
f0c013f
to
d6b407e
Compare
<% when "QTS" %> | ||
<%= govuk_details(summary_text: "QTS") do %> | ||
<% case course.qualification %> | ||
<% when 'qts' %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the way it was done slightly.
Before: it was using the translation to do a case for another translation.
After: Passing the course qualification and then translate.
I thought to split into partials but then I rollback because the code will be something like:
View -> Component -> Another component -> Multiple partials
@@ -516,11 +516,20 @@ def program_type_description | |||
def description | |||
return qualifications_description if teacher_degree_apprenticeship? | |||
|
|||
study_mode_string = (full_time_or_part_time? ? ', ' : ' ') + | |||
study_mode_description | |||
qualifications_description + study_mode_string + program_type_description | |||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know the summary above is almost a duplication of this description but my plan is to remove this description field after the feature flag is removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done behind a feature flag. The course.description and qualifications_description will be deleted when we cleanup the feature flag after the feature flag is enable in production.
Talked with content designer and we agreed to change these places to follow the pattern QTS with PGDE
d6b407e
to
c5f8792
Compare
Context
There is inconsistency of terminology between GiT and Find. GiT use “QTS with PGDE” (which is more clear/intuitive) whereas Find uses “PGDE with QTS”.
Changes
This PR replaces all instances of
PGDE with QTS
toQTS with PGDE
.Coordination between other teams
It was decided by Apply and Find teach leads to change the API content of the course description to the expected ones
In order to coordinate this change with this other team this PR:
course.summary
field in the API.So this is the plan to deploy this: