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

Refactor: agency card eligibility error #2053

Merged
merged 4 commits into from May 1, 2024

Conversation

angela-tran
Copy link
Member

@angela-tran angela-tran commented Apr 24, 2024

Closes #2013

Currently based on feat/calfresh-enrollment-success in hopes of avoiding unnecessary merge conflicts with django.po timestamps

  • Spacing is 24px for icon to headline to body to agency info - updated from pb-5 to pb-4 between the icon and headline
  • Spacing is 64px above call-to-action button - was already done that way
  • CTA reloads eligibility confirmation page with no limit on how many times the user inputs that information

Screenshots

Expand

Figma:

Before (test-benefits) After (this branch)
image image
image image

@angela-tran angela-tran self-assigned this Apr 24, 2024
@github-actions github-actions bot added front-end HTML/CSS/JavaScript and Django templates migrations [auto] Review for potential model changes/needed data migrations updates tests Related to automated testing (unit, UI, integration, etc.) deployment-dev [auto] Changes that will trigger a deploy if merged to dev back-end Django views, sessions, middleware, models, migrations etc. and removed front-end HTML/CSS/JavaScript and Django templates migrations [auto] Review for potential model changes/needed data migrations updates deployment-dev [auto] Changes that will trigger a deploy if merged to dev labels Apr 24, 2024
Copy link

github-actions bot commented Apr 24, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  benefits/core
  models.py
  benefits/eligibility
  views.py
Project Total  

This report was generated by python-coverage-comment-action

{% endblock unverified-headline %}

{% block unverified-body %}
{% translate "The number and last name must be entered exactly as they appear on your MST Courtesy Card. Please check your card and try again, or contact your transit agency for help." %}
Copy link
Member Author

Choose a reason for hiding this comment

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

Need to either use a variable here for the agency card name or have a template per agency card flow.

Copy link
Member Author

Choose a reason for hiding this comment

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

Decided to have a template per agency card flow. This is more in line with our current pattern where we are ok with some duplication

@angela-tran angela-tran force-pushed the refactor/agency-card-eligibility-error branch 3 times, most recently from 68c6b8e to 2581c54 Compare April 26, 2024 20:18
@angela-tran angela-tran changed the base branch from dev to feat/calfresh-enrollment-success April 26, 2024 20:19
Base automatically changed from feat/calfresh-enrollment-success to dev April 29, 2024 20:24
@angela-tran angela-tran force-pushed the refactor/agency-card-eligibility-error branch from 2581c54 to 6ad6894 Compare April 30, 2024 19:57
@angela-tran angela-tran marked this pull request as ready for review April 30, 2024 20:00
@angela-tran angela-tran requested a review from a team as a code owner April 30, 2024 20:00
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

Ran this locally and confirmed the updated screen.

Spacing looks good 👍

@angela-tran angela-tran merged commit 1262a4d into dev May 1, 2024
15 checks passed
@angela-tran angela-tran deleted the refactor/agency-card-eligibility-error branch May 1, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Django views, sessions, middleware, models, migrations etc. front-end HTML/CSS/JavaScript and Django templates tests Related to automated testing (unit, UI, integration, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New screen Eligibility error for Agency Card flow only
2 participants