Skip to content

UI Dev - Renewals - Host To Do Item #26826

Closed

Description

@dimak1
  • Show a Renewal To Do item for Hosts when Registration is 30 or less day before expiry
  • Renewal To Do is driven by API
  • Hide Renewal To Do after Registration is renewed (any other conditions to hide it?)
    - [ ] Show Registration Renewal Due Date with a tooltip removed Apr 3
  • Show dynamic day countdown - show 'Overdue' instead after expiry (and slightly different message)
  • Add Renew button with action to open a Renewal flow
  • After the 3-year renewal "grace period" after registration expir, show a different To Do message letting the user know they can no longer renew

Additional Info:

  • Registration can still be renewed up to 3 years after expiring

Figma Design

Before Expiry:
Screenshot 2025-04-03 at 8.52.59 AM.png

Expired for Under 3 Years:
Screenshot 2025-04-03 at 8.53.08 AM.png

Expired for Over 3 Years:
Screenshot 2025-04-03 at 8.53.42 AM.png

Activity

  1. changed the title [-]UI - Renewals - Host To Do Item[/-] [+]UI Dev - Renewals - Host To Do Item[/+] on Mar 26, 2025
  2. arlentees commented on Mar 27, 2025

    @arlentees

    Note to carve out the end post date (past 3 years) state and UI view in a seperat ticket.

  3. arlentees commented on Apr 2, 2025

    @arlentees

    @victorc-bcgov Outstanding requirement to know when to show/hide the todo item is still needed

  4. self-assigned this
    on Apr 3, 2025
  5. dimak1 commented on Apr 4, 2025

    @dimak1
    CollaboratorAuthor

    @victorc-bcgov could you please update missing requirement - when show/hide To Do for hosts, besides what is already mentioned. Thanks!

  6. dimak1 commented on Apr 8, 2025

    @dimak1
    CollaboratorAuthor

    @andyyanggov Regarding the 3+ years after Registration expired and renew period is closed. It would not be an To Do item, since there is no actions.
    I had a quick chat with Lekshmi about it. It won't be controlled by the backend. Maybe instead it could be a banner, similar to other applications (eg entities). Thoughts?

  7. andyyanggov commented on Apr 8, 2025

    @andyyanggov

    @dimak1 My original design had it under a new 'Alert' section instead of 'To Do' (referencing Entities), but during our review, I thought the devs agreed just keeping it inside 'To Do' would be less work. I'm happy to go back to that design or something similar.

  8. dimak1 commented on Apr 8, 2025

    @dimak1
    CollaboratorAuthor

    Since it has no action, for the sake of time/simplicity, how about I just implement this on UI (not a backend driven todo item) and show it a To Do with nothing to do.

  9. dimak1 commented on Apr 10, 2025

    @dimak1
    CollaboratorAuthor

    Adding a feature flag enable-registration-renewals as discussed in team's chat.

  10. dimak1 commented on Apr 14, 2025

    @dimak1
    CollaboratorAuthor

    Available in Dev for UXA @andyyanggov

  11. dimak1 commented on Apr 14, 2025

    @dimak1
    CollaboratorAuthor

    #### Registration for Renewal To Do:
    H192452838 user BCREG0025.

    Reviewed UX with @andyyanggov on my local dev machine - all looks good.

    PS: Need to come up with a way to QA Renewals. Question is posted in Teams Channel.

  12. self-assigned this
    on Apr 17, 2025
  13. Apt766525 commented on Apr 17, 2025

    @Apt766525

    Require a way to test the renewals as I am not sure how to bring in the expiry scenarios for testing purposes. Please kindly let me know if there is a method to test this ticket. Thanks

  14. 7 remaining items

  15. dimak1 commented on Jun 12, 2025

    @dimak1
    CollaboratorAuthor

    @ser-popov thanks for the verifications, I will take a look at this

  16. dimak1 commented on Jun 12, 2025

    @dimak1
    CollaboratorAuthor

    The issue with Host not seeing To Do item for exactly 30 days is because API not returning the REGISTRATION_RENEWAL todo task type.

    For all other renewals API returns this todo:

    {
        "todos": [
            {
                "task": {
                    "type": "REGISTRATION_RENEWAL"
                }
            }
        ]
    }
    

    @shaangill025 is this something you can help fixing? To add the task type when expiry date is exactly 30 days?

  17. shaangill025 commented on Jun 12, 2025

    @shaangill025
    Collaborator

    image.png

    image.png

    It could be that start_date = datetime.combine(datetime.now(), time(8,0,0)) is based on local (server) time. Updating it to start_date = datetime.combine(datetime.utcnow(), time(8,0,0)) maybe able to fix small precision differences for future comparisons.

  18. dimak1 commented on Jun 16, 2025

    @dimak1
    CollaboratorAuthor

    Unassigned myself, so you can pick it up @shaangill025 @kris-daxiom thanks!

  19. shaangill025 commented on Jun 18, 2025

    @shaangill025
    Collaborator

    @kris-daxiom changing to start_date = datetime.combine(datetime.now(timezone.utc), time(8, 0, 0)) should address this for future registrations?

  20. kris-daxiom commented on Jun 19, 2025

    @kris-daxiom

    @shaangill025 The API fix is available in TEST as part of https://app.zenhub.com/workspaces/strr-65b2a7146835aa0cdf315b79/issues/gh/bcgov/entity/29086. If there is nothingelse that blocks this ticket, it can be moved to ready for QA Cc: @ser-popov

  21. dimak1 commented on Jun 19, 2025

    @dimak1
    CollaboratorAuthor

    Thank you Lekshmi. Moving to RFQA

  22. ser-popov commented on Jun 20, 2025

    @ser-popov

    Test harness:

    • Active reg > Expiration less than 30 days away
    • Expired > More than 3 years ago
    • Expired > Exactly 3 years ago today
    • Expired > Over a year but less than 3 years
    • Expired > Less than 1 year
    • Active reg > Expiration 31-days away
    • Active reg > Expiration exactly 30-days away
  23. ser-popov commented on Jun 20, 2025

    @ser-popov

    All planned tests pass .. hosts v.1.218

  24. victorc-bcgov commented on Jun 20, 2025

    @victorc-bcgov

    Passed BAA - Confirmed that a "To Do" item is displayed on details page of the Host dashboard when a Registration is: (1) overdue; and (2) within 30 or less days of expiring.

  25. removed their assignment
    on Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions