Skip to content
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

feat(app-rfi): only display plan if rfiDisplay true #1369

Merged
merged 4 commits into from
Sep 25, 2024
Merged

Conversation

scott-williams-az
Copy link
Contributor

@scott-williams-az scott-williams-az requested a review from a team as a code owner September 25, 2024 18:02
Copy link
Member

@mlsamuelson mlsamuelson left a comment

Choose a reason for hiding this comment

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

PR is missing handling for the following requirement:

Update top level component display logic so if the component is preconfigured to display a plan that has rfiDisplay set to false, we display nothing. This would guard against status changes, forms configured for display false plans, AND for cases where Degree Listing pages send people to degrees that are set to rfiDisplay false.

@@ -106,6 +110,9 @@ export const normalizeDegreeData = data => {

// Already formated title (BS)
title: curr.title,

// Online Api does not have this field so we are going to always set it to true
rfiDisplay: true,
};
Copy link
Member

Choose a reason for hiding this comment

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

Nice normalization pattern. Also appreciate the comment in this case. Thx!.

@mlsamuelson mlsamuelson merged commit e10564f into dev Sep 25, 2024
1 check passed
@mlsamuelson mlsamuelson deleted the ERFI-159 branch September 25, 2024 21:54
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.

2 participants