Refine plugin page: collapsible details, condensed price card, masked credentials & Ultra banner#399
Merged
Merged
Conversation
…dentials, Ultra banner - Make the Plugin Details sidebar section collapsible (collapsed by default) - Condense the price card: drop the 'Price' label, show strike-through regular price inline before the discounted price - Move the 'Included with Ultra' card directly under the Add to Cart card; always visible on paid first-party plugins and links Ultra subscribers to their dashboard - Mask the install command email/license key, with the copy button still copying the real values Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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.
What & why
A set of UI refinements to the public plugin page (
resources/views/plugin-show.blade.php) to tidy up the sidebar and improve clarity.Plugin Details — collapsible
x-collapsepattern. A chevron in the header rotates to indicate state.Price card — condensed
"Included with Ultra" card
@auth) on paid first-party (official) plugins, for guests and logged-in users alike./dashboard/ultra); everyone else gets the "Learn more" → pricing button.Masked install credentials
d••••••@example.comand a bulleted key).Tests
Added feature tests:
PluginShowPriceCardTest— price label removed, strike-through-before-current ordering, collapsed-by-default details markup.PluginShowUltraCardTest— card shows on paid first-party plugins, hidden on free/third-party, Ultra subscribers get the dashboard link.PluginShowInstallCredentialsTest— credentials render masked while the copy command retains the real values.All plugin-page tests pass; Pint clean.
🤖 Generated with Claude Code