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

TCCP: Make institution names uppercase in results #8420

Merged
merged 1 commit into from
May 15, 2024

Conversation

chosak
Copy link
Member

@chosak chosak commented May 15, 2024

When we list cards on the TCCP results view, we want the institution names to be uppercase. Previously we were counting on their names being uppercase in the source dataset, but the most recent dataset have some that are mixed case.

How to test this PR

To test, sort alphabetically using the latest dataset:

http://localhost:8000/consumer-tools/credit-cards/explore-cards/cards/?credit_tier=Credit%20scores%20from%20620%20to%20719&location=&ordering=product_name

Screenshots

Before After
image image

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code follows the standards laid out in the CFPB development guidelines

When we list cards on the TCCP results view, we want the institution
names to be uppercase. Previously we were counting on their names being
uppercase in the source dataset, but the most recent dataset have some
that are mixed case.

To test, sort alphabetically using the latest dataset:

http://localhost:8000/consumer-tools/credit-cards/explore-cards/cards/?credit_tier=Credit%20scores%20from%20620%20to%20719&location=&ordering=product_name
Copy link
Member

@contolini contolini left a comment

Choose a reason for hiding this comment

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

LOVE THE CAPS

@chosak chosak added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
@chosak chosak added this pull request to the merge queue May 15, 2024
Merged via the queue into main with commit 6d28be4 May 15, 2024
11 checks passed
@chosak chosak deleted the tccp/uppercase-institutions branch May 15, 2024 16:06
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.

None yet

3 participants