Conversation
|
Pushed fff51ab: renamed the changelog fragment to this PR's number, as |
fff51ab to
71d760b
Compare
71d760b to
8c09b85
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. |
|
Head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8c09b8541f
ℹ️ 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".
|
|
Head |
|
Two independent reviews, nothing blocking a merge. worth doing, does not block
nits
|
|
Head |
@coreyphillips Fixed in
Added a manual clock-boundary check to the description, since the journey environment has no device-clock control.
Fixed in
Left as is: |
| <action>Verify STATUS reads "Active", the timing cell reads "EXPIRES" with the end date of the paid period, and the footer shows no Cancel button, with More Info when the subscription has a description</action> | ||
| <action>Navigate back and verify the Subscriptions list is shown again</action> | ||
| <action>Switch to the creator instance and open Subscriptions</action> | ||
| <action>Verify "Journey Sub" is still listed under CREATED, because its paid periods are retained as history</action> |
There was a problem hiding this comment.
Non-blocking QA correction: this creator-side assertion still expects the canceled subscription under CREATED, but isCreatedVisible(at:) excludes canceled records, and testCanceledSubscriptionCreatedByTheUserStaysExpiredAndListed confirms that a canceled payee subscription with paid history is listed under EXPIRED. The listed journey therefore fails here even when the app behaves correctly. Please update this assertion and the matching description prose, and carry the same correction into the Android twin journey in synonymdev/bitkit-android#1391 so the shared specs remain aligned.
There was a problem hiding this comment.
LOW — correction to my cross-platform note: Please update the iOS journeys/subscriptions/cancel-and-delete.xml:25 assertion and matching prose for the EXPIRED section, but leave the Android twin journey unchanged. Android's app/src/main/java/to/bitkit/repositories/PaykitSubscription.kt:217-218 keeps creator subscriptions with non-empty paidPeriods under CREATED, and app/src/test/java/to/bitkit/ui/screens/subscriptions/SubscriptionsScreenTest.kt:202-214 verifies that behavior. Android's journeys/subscriptions/cancel-and-delete.xml:25 therefore has the correct expectation. My request above to carry the iOS correction into Android #1391 was incorrect.
Closes #845
Twin: synonymdev/bitkit-android#1391
This PR fixes a canceled subscription reading "Expired" while its paid period is still running.
Description
runsUntilPaidThrough(at:)(active, or canceled with its last paid period still ahead), that drives status, row subtitle, section grouping, timing title and the refresh timers. A canceled subscription ends with its last paid period, whatever its fixed end date. Once it has ended, its row reads "Expires ", matching the detail "EXPIRED ".Out of Scope
SubscriptionDetailViewfooter: Renew for canceled and expired subscriptions is left to its own issue (Subscriptions: unbuilt controls and the swipe colour rule bitkit-android#1276).PaykitSubscription.swift: lifecycle rules (isActive,isExpired,canCancel) are unchanged.Design
Subscription Details Renew is the state for a canceled subscription that has not expired yet: STATUS "Active", "EXPIRES ". Overview list lists it under ACTIVE with "Expires ".
Preview
QA Notes
Journeys
cancel-and-delete.xmlManual Tests
Automated Checks
PaykitPaymentRequestServiceTests.swift