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 labels for EYB leads with is_high_value=None on collection and details page #7391

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

marijnkampf
Copy link
Contributor

@marijnkampf marijnkampf commented Dec 11, 2024

On the EYB Leads lists and detail pages show the correct value for Value (Unknown, High value or Low value)

Description of change

An EYB Lead with Is high value set to Unknown is shown as either High value or Low value depending on were. This should be displayed as Unknown value

Test instructions

Set the Is high value to High value, Low value and Unknown in Django admin this should be reflected correctly on the details and list pages.

Screenshots

Before

image image

After

image image

Checklist

  • Has the branch been rebased to main?
  • Automated tests (Any of the following when applicable: Unit, Functional or End-to-End)
  • Manual compatibility testing (Browsers: Chrome, Firefox, Edge, Safari)

Copy link

cypress bot commented Dec 11, 2024

data-hub-frontend    Run #57943

Run Properties:  status check passed Passed #57943  •  git commit cc3d044c01: Test EYB leads with unknown values on collection and detail pages
Project data-hub-frontend
Branch Review fix/CLS2-1083-Is-high-value-fix-and-addition
Run status status check passed Passed #57943
Run duration 01m 39s
Commit git commit cc3d044c01: Test EYB leads with unknown values on collection and detail pages
Committer Oliver Roberts
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 15
View all changes introduced in this branch ↗︎

@oliverjwroberts oliverjwroberts changed the title WIP: fix is high value on details page Fix labels for EYB leads with is_high_value=None on collection and details page Dec 12, 2024
@oliverjwroberts oliverjwroberts marked this pull request as ready for review December 12, 2024 14:50
@oliverjwroberts oliverjwroberts requested a review from a team as a code owner December 12, 2024 14:50
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.01%. Comparing base (2126dfa) to head (cc3d044).
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7391      +/-   ##
==========================================
+ Coverage   87.99%   88.01%   +0.01%     
==========================================
  Files        1168     1168              
  Lines       18171    18172       +1     
  Branches     5139     5140       +1     
==========================================
+ Hits        15990    15994       +4     
+ Misses       2181     2178       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@oliverjwroberts oliverjwroberts merged commit 2bd44ca into main Dec 12, 2024
16 checks passed
@oliverjwroberts oliverjwroberts deleted the fix/CLS2-1083-Is-high-value-fix-and-addition branch December 12, 2024 15:12
chopkinsmade pushed a commit that referenced this pull request Dec 12, 2024
dredmonds pushed a commit that referenced this pull request Dec 13, 2024
…details page (#7391)

* WIP: fix is high value on details page
add unknown value

* Test EYB leads with unknown values on collection and detail pages

---------

Co-authored-by: Oliver Roberts <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants