Conversation
f20f41a to
972d4f5
Compare
972d4f5 to
c392424
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c392424fe8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
|
Pushed 5e05970: a canceled subscription now stops running at its last paid period even when it has a later fixed end date (status, subtitle, section, monthly cost, timing and the refresh timer all use that date), with a test for it, and the journey's last step now reads "Navigate back" so it matches the iOS twin. Answers the two bot threads above. |
|
Pushed ae6525c: the paid-through treatment now applies only to subscriptions the user pays. A canceled subscription the user created stays in CREATED and reads as expired as before (status, timing, dimming), covered by a new test that failed on the previous head. It also never moved sections on Android, because ACTIVE and EXPIRED already filter on the payer role. Same change as the iOS twin. |
|
Two independent reviews, nothing blocking a merge. worth doing, does not block
|
|
@coreyphillips Pushed fa6fb4c for your note on the ended canceled row:
The row now uses the last paid period's end for a canceled subscription you pay, so it reads "Expires February 1" like the detail's "EXPIRED February 1" instead of jumping to the later end date. The test for that case now asserts the row subtitle before and after the paid period ends, and it failed on the previous head. A canceled subscription without a fixed end date still reads "Expired" in the row. |
Closes #1413
Twin: synonymdev/bitkit-ios#846
Description
Out of Scope
SubscriptionsScreen.kt: the Renew button on the detail footer, tracked in Subscriptions: unbuilt controls and the swipe colour rule #1276.PaykitSubscription.kt: lifecycle rules (isActive,isExpired,canCancel) are unchanged.SubscriptionsScreen.kt: an expired subscription with a fixed end date still reads "Expires " in the list, as before.Design
Subscription Details Renew is the state for a canceled subscription that has not expired yet, and the Subscriptions overview lists it under ACTIVE as "Expires ". The frames show STATUS "Active" and no "Canceled" label.
Preview
Screenshots use a local-only fixture that seeds canceled subscriptions in memory (not part of this PR); no real Swipe To Cancel was run. On the same fixture an open detail of a canceled subscription switched from STATUS "Active" and "EXPIRES" to "Expired" and "EXPIRED" at the end of its paid period without leaving the screen, and its row moved from ACTIVE to EXPIRED, with the ACTIVE count and monthly cost dropping accordingly.
QA Notes
Journeys
cancel-and-delete.xml— after Swipe To Cancel the subscription stays in the ACTIVE section with "Expires ", and its detail shows STATUS "Active", "EXPIRES " and no Cancel. The added steps were not run end to end: the journey needs two Pubky identities on regtestManual Tests
N/A
Automated Checks
SubscriptionsScreenTest.kt— status, row subtitle, ACTIVE/EXPIRED grouping, monthly cost, timing and the end-of-period refresh for a canceled subscription before and after its paid period ends