Skip to content

Add admin plugin listing preview, table of contents, and narrower license page#306

Merged
simonhamp merged 3 commits intomainfrom
plugin-listing-preview-toc
Mar 28, 2026
Merged

Add admin plugin listing preview, table of contents, and narrower license page#306
simonhamp merged 3 commits intomainfrom
plugin-listing-preview-toc

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • Admin preview: Admins can now view plugin listing pages before approval. An amber banner indicates preview mode with the plugin's current status. The "View Listing Page" Filament action is now visible for pending plugins.
  • Table of contents: Plugin listing pages now include an Alpine.js-powered ToC in the sidebar, extracted from H2/H3 headings in the README. Hidden automatically when no headings exist.
  • License page layout: Narrowed the plugin license page from max-w-7xl to max-w-3xl to match the sponsor page's more readable width.

Test plan

  • 6 tests for admin preview (guest/user/admin access, banner visibility)
  • 2 tests for ToC (rendered with readme, hidden without)
  • Full suite passes (462 tests)

🤖 Generated with Claude Code

simonhamp and others added 3 commits March 28, 2026 13:01
…license page

- Allow admins to preview plugin listing pages before approval, with an amber
  preview banner showing the current status
- Make "View Listing Page" Filament action visible for pending plugins
- Add Alpine.js-powered table of contents to plugin listing sidebar, extracted
  from readme headings
- Narrow the plugin license page layout to match the sponsor page (max-w-3xl)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 28, 2026 14:06
@simonhamp simonhamp merged commit 40b1a5e into main Mar 28, 2026
2 checks passed
@simonhamp simonhamp deleted the plugin-listing-preview-toc branch March 28, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant