Repository navigation
STU-382: Build the plans surface and paywall states on existing subscription contracts #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sgardoll
merged 4 commits into
milestone/stu-implement-updated-ui-ux
from
sgardoll/stu-382-build-the-plans-surface-and-paywall-states-on-existing
Sep 22, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
2e38d6f
feat(STU-382): build verified plans surface and paywall states on exi…
sgardoll 99447c0
test(STU-382): scan full document source for mock purchase-success to…
sgardoll 63cfefa
fix(STU-382): hermetic price test, wire PLAN_FEATURES to the UI, rest…
sgardoll f635007
fix(STU-382): present API & MCP access as available, not "coming soon"
sgardoll File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Plan features disappear during startup
When startup requests stall,
renderPlanFeatureListshas not run and every plan card shows an empty feature list. The previous static rows remained visible during the same delay.Learn more
The feature rows now exist only in JavaScript. This call runs after
initializeAuth()andfetchSubscription(), which each perform network requests without a request timeout. The document remains interactive while the asyncDOMContentLoadedcallback waits, so users can open the pricing modal and see cards with no features.Example: A session refresh takes 20 seconds. During those 20 seconds, opening the pricing modal displays Free, Pro, and Power cards with empty feature lists instead of their plan capabilities.
Recommended fix: Call
renderPlanFeatureLists()before the first startupawait, since its data is local and independent of authentication. Alternatively, retain static HTML rows as the initial fallback and let the renderer replace them later.Was this helpful? React with 👍 or 👎 to provide feedback.