You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
@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?
@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.
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.
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
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.
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.
Activity
[-]UI - Renewals - Host To Do Item[/-][+]UI Dev - Renewals - Host To Do Item[/+]arlentees commentedon Mar 27, 2025
Note to carve out the end post date (past 3 years) state and UI view in a seperat ticket.
arlentees commentedon Apr 2, 2025
@victorc-bcgov Outstanding requirement to know when to show/hide the todo item is still needed
dimak1 commentedon Apr 4, 2025
@victorc-bcgov could you please update missing requirement - when show/hide To Do for hosts, besides what is already mentioned. Thanks!
dimak1 commentedon Apr 8, 2025
@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?
andyyanggov commentedon Apr 8, 2025
@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.
dimak1 commentedon Apr 8, 2025
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.
dimak1 commentedon Apr 10, 2025
Adding a feature flag
enable-registration-renewalsas discussed in team's chat.dimak1 commentedon Apr 14, 2025
Available in Dev for UXA @andyyanggov
dimak1 commentedon Apr 14, 2025
#### 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.
Apt766525 commentedon Apr 17, 2025
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
7 remaining items
dimak1 commentedon Jun 12, 2025
@ser-popov thanks for the verifications, I will take a look at this
dimak1 commentedon Jun 12, 2025
The issue with Host not seeing To Do item for exactly 30 days is because API not returning the
REGISTRATION_RENEWALtodo task type.For all other renewals API returns this todo:
@shaangill025 is this something you can help fixing? To add the task type when expiry date is exactly 30 days?
shaangill025 commentedon Jun 12, 2025
It could be that
start_date = datetime.combine(datetime.now(), time(8,0,0))is based on local (server) time. Updating it tostart_date = datetime.combine(datetime.utcnow(), time(8,0,0))maybe able to fix small precision differences for future comparisons.dimak1 commentedon Jun 16, 2025
Unassigned myself, so you can pick it up @shaangill025 @kris-daxiom thanks!
shaangill025 commentedon Jun 18, 2025
@kris-daxiom changing to
start_date = datetime.combine(datetime.now(timezone.utc), time(8, 0, 0))should address this for future registrations?kris-daxiom commentedon Jun 19, 2025
@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
dimak1 commentedon Jun 19, 2025
Thank you Lekshmi. Moving to RFQA
ser-popov commentedon Jun 20, 2025
Test harness:
ser-popov commentedon Jun 20, 2025
All planned tests pass .. hosts v.1.218
victorc-bcgov commentedon Jun 20, 2025
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.