Skip to content

feat(wordpress): settings page with PDF links report, page scoping and account check - #50

Merged
bendersej merged 16 commits into
mainfrom
P040-wp-plugin-improvements
Sep 28, 2026
Merged

bendersej merged 16 commits into
mainfrom
P040-wp-plugin-improvements

Conversation

@bendersej

@bendersej bendersej commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Background

The WordPress plugin's settings page showed a single text field. Admins could not tell which PDFs the plugin takes over, could not try it on one page before going live, and did not know where filled PDFs go.

Changes

  • WordPress plugin settings page, rebuilt with native WP admin styling:
    • PDFs on your site: every page and post whose content links a PDF, with where each link opens (SimplePDF, browser, or an error) and why, plus a Get started state when there are none; a light-orange header when links need attention
    • Where it runs: everywhere (default, unchanged behaviour) or only on picked pages and posts, drafts included, to test before going live
    • AI assistants: a checkbox in Where it runs; the editor's form tools are offered to in-browser AI assistants (WebMCP), on by default like the script tag
    • Account card: what an account adds, or the linked account with a check that it exists
    • Guides: links to the help center
  • One-time review notice on the settings screen once a linked account exists and a PDF link opens in SimplePDF; dismissible for good (nonce-checked AJAX)
  • uninstall.php removes every option the plugin stores
  • @simplepdf/web-embed-pdf 1.9.0 is bundled, byte-identical to npm; the release ships its source without its tests
  • Plugin CI: PHP 5.6 and 8.3 lint, the PHP link rule asserted against the web package's shared link cases, and a drift guard that re-vendors the pinned package from npm and fails on any difference or a wrong SIMPLEPDF_WEB_EMBED_VERSION

Notes

  • Verified in WordPress Playground. Screenshots and recordings are on the internal PR (SimplePDF/simple-pdf#415).
  • 1.2.0 listing: readme rewritten (outcome-led description, settings previews, FAQ, External services disclosing the editor frame and the account check), settings screenshot retaken, version 1.2.0 in the plugin, readme and blueprint, tested up to WordPress 7.1.2. The changelog says WebMCP is on by default after the update.
  • Before the SVN release: the submissions dashboard screenshot (screenshot 1).

@bendersej
bendersej force-pushed the P040-wp-plugin-improvements branch from 054c122 to 503a080 Compare September 25, 2026 14:37
@bendersej bendersej changed the title feat: WordPress settings page with PDF links report and page scoping, detect PDF links in any case feat(wordpress): settings page with PDF links report, page scoping and account check Sep 25, 2026
@bendersej
bendersej force-pushed the P040-wp-plugin-improvements branch from 7d44087 to 02a8ce5 Compare September 28, 2026 09:46
@bendersej
bendersej merged commit 04fd5e2 into main Sep 28, 2026
6 checks passed
@bendersej
bendersej deleted the P040-wp-plugin-improvements branch September 28, 2026 11:11
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