Conversation
Fetch /backend-api/subscriptions independently of quota refresh, share records by chatgpt_account_id, and prefer subscriptions.activeUntilMs for list remaining days. Paid Codex gets a gated Subscription tab. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
Replace the brittle renderer tab test with field-builder coverage and assert the demo api-call subscriptions payload. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
19 tasks
Replace the unstyled field dump with Quota-style summary metric cards and an Overview field grid for secondary billing details. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
Keep the new tab tests stable under react-test-renderer and match Prettier. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
Show the formatted until time as the metric value and remaining days as a second line so the 4-card row no longer ellipsizes "2 days". Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
Keep the absolute until timestamp as the overview card hero and leave remaining days only in the value tooltip. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
|
After 截图已按 until-only 刷新(卡面无剩余天数)。上游 seakee#745 同路径已替换:https://raw.githubusercontent.com/HuiCheng/CPA-Manager-Plus/media/pr-745-subscription-ui/docs/pr-745/after-subscription-pro-20x.png |
Reject unmatched array payloads, mark post-ready fetch failures as soft_failed with retry cooldown, resolve ready store records when callers omit subscriptionsRecord, and rotate a sibling authIndex after http/network soft-fail. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
…builds Keep token-scoped objects without account-id, but return null for mismatched object/nested payloads. Preserve a fresh ready record when a chained force soft-fails. Re-run target ensure when subscriptionEntries change so sibling authIndex rotate actually schedules, and include subscriptionEntries in the rows useMemo deps for seakee#742 sort bake timing. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
…n objects A parent account-id that is not the requested account must not adopt a nested token-scoped object. Nested arrays under an envelope id can still select a matching per-account element. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
Honor triedAuthIndexes for 3+ siblings, keep ready only for chained force after a just-ready inflight, default demo subscriptions to free when plan is missing, hide the tab when the API plan is free, and search dual-key subscriptions arrays before token-scoped sibling objects. Co-authored-by: 程辉 <HuiCheng@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
上游工作 PR 镜像。请以 seakee#745 为准。
按 seakee#743:轻量 Codex Subscription(慢刷新、按 chatgpt_account_id 共享、非 Free Tab;until = subscriptions > wham > JWT;配额链路不动)。
Scope
Changes
见上游 seakee#745。
User Impact
见上游 seakee#745。
Compatibility / Runtime Notes
Data / Security Notes
N/A beyond existing management api-call token use.
Risk / Rollback
Risk level: Medium
Rollback notes: 关/回退上游 PR。
Verification
Commands / evidence:
Screenshots / Recordings
见上游 seakee#745。
Docs
Docs decision: 同上游。
Related
Upstream: seakee#745
Refs seakee#743