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

Create new Enrollment error state for users already enrolled, not expired yet / not within re-enrollment window #1921

Closed
4 of 6 tasks
Tracked by #1878
thekaveman opened this issue Feb 28, 2024 · 3 comments · Fixed by #1992
Closed
4 of 6 tasks
Tracked by #1878
Assignees
Labels
back-end Django views, sessions, middleware, models, migrations etc. front-end HTML/CSS/JavaScript and Django templates i18n Copy: Language files or Django i18n framework

Comments

@thekaveman
Copy link
Member

thekaveman commented Feb 28, 2024

image

Also depends on what we decide to do with #1938

Need more information

We currently understand that the endpoint to get funding sources currently linked to a group will include the expiration date as well as funding source ID, e.g. something like:

{
  "list": [{
    "id": "2009b586-9c53-43c6-b274-5615adb856ee",
    "expiration": "2025-01-01T00:00:00Z"
  }],
  "total_count": "10"
}
  • Confirm this is the endpoint to use to get back expiration date information
  • Confirm response structure

Acceptance criteria

  • Displayed for users that attempt to enroll while already being enrolled, but before their expiry_date (from Include expiry_date with all CalFresh / Low income enrollments #1877)
  • Displayed for users that attempt to enroll while already being enrolled, but before the re-enrollment window: expiry_date - 2 weeks
  • Dates are formatted and displayed correctly according to the user's chosen language
  • Return Home button takes users back to the app home page / agency index page
@thekaveman thekaveman changed the title Enrollment failure: already enrolled, not expired yet / not within re-enrollment window Implement new Enrollment failure page for users already enrolled, not expired yet / not within re-enrollment window Feb 28, 2024
@thekaveman thekaveman changed the title Implement new Enrollment failure page for users already enrolled, not expired yet / not within re-enrollment window Create new Enrollment failure page for users already enrolled, not expired yet / not within re-enrollment window Feb 28, 2024
@thekaveman thekaveman added front-end HTML/CSS/JavaScript and Django templates back-end Django views, sessions, middleware, models, migrations etc. i18n Copy: Language files or Django i18n framework labels Feb 28, 2024
@indexing indexing changed the title Create new Enrollment failure page for users already enrolled, not expired yet / not within re-enrollment window Create new Enrollment error state for users already enrolled, not expired yet / not within re-enrollment window Mar 12, 2024
@thekaveman
Copy link
Member Author

Blocked by cal-itp/littlepay#28

@thekaveman thekaveman self-assigned this Mar 28, 2024
angela-tran added a commit that referenced this issue Mar 28, 2024
leave view function and template for #1921 to implement
angela-tran added a commit that referenced this issue Mar 28, 2024
leave view function and template for #1921 to implement
angela-tran added a commit that referenced this issue Mar 28, 2024
leave view function and template for #1921 to implement
@thekaveman thekaveman linked a pull request Mar 28, 2024 that will close this issue
angela-tran added a commit that referenced this issue Mar 29, 2024
leave view function and template for #1921 to implement
angela-tran added a commit that referenced this issue Mar 29, 2024
leave view function and template for #1921 to implement
angela-tran added a commit that referenced this issue Mar 29, 2024
leave view function and template for #1921 to implement
angela-tran added a commit that referenced this issue Apr 1, 2024
leave view function and template for #1921 to implement
@thekaveman
Copy link
Member Author

Blocked by cal-itp/littlepay#53 and the related work around getting the expiry logic to work properly in #2062

@thekaveman
Copy link
Member Author

thekaveman commented May 1, 2024

See notes on #2032 (comment) for more context on the wider set of enrollment error pages.

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 i18n Copy: Language files or Django i18n framework
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant