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

fix: Use override for school name and url #18

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

cdeery
Copy link
Contributor

@cdeery cdeery commented Jul 26, 2023

If available, use the override fields for the preferred name of the institution and the override for the logo.

{orgName}
</Chip>
))}
<Chip className="chip-max-width">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there really ever more than one partner in the data? There is only ever a single override.
Do we need a more complex approach that uses the singular override OR the array of partners?

Copy link
Member

Choose a reason for hiding this comment

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

It's pretty rare, but there are some instances where there are more than one partner in the data. Here's one example:

Screenshot 2023-07-26 at 8 53 37 AM

Given that, I believe we should develop the more complex approach to cover our bases until we know only one is necessary.

Copy link
Member

@MaxFrank13 MaxFrank13 Jul 26, 2023

Choose a reason for hiding this comment

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

After further consideration, since we are only grabbing one name at

And considering that this value is prioritized over the partner value(s), we probably want to keep that pattern and just grab the first one in the partner list.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there a case where there is more than one partner AND the override fields? The overrides are singular, and not arrays.

@MaxFrank13 MaxFrank13 force-pushed the APER-2698/OverrideOrgNameLogo branch from 7c970ae to 52a6978 Compare July 26, 2023 14:58
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@08c6243). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage        ?   91.57%           
=======================================
  Files           ?       30           
  Lines           ?      368           
  Branches        ?       66           
=======================================
  Hits            ?      337           
  Misses          ?       30           
  Partials        ?        1           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@MaxFrank13 MaxFrank13 force-pushed the APER-2698/OverrideOrgNameLogo branch from 52a6978 to 749906e Compare July 26, 2023 16:11
@MaxFrank13
Copy link
Member

Old view:
Screenshot 2023-07-26 at 12 21 05 PM

New view:
Screenshot 2023-07-26 at 12 21 48 PM

@MaxFrank13 MaxFrank13 merged commit 019ab93 into main Jul 26, 2023
3 checks passed
@MaxFrank13 MaxFrank13 deleted the APER-2698/OverrideOrgNameLogo branch July 26, 2023 17:31
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