Skip to content

Conversation

@soderlind
Copy link
Owner

This pull request introduces several post-release refinements to the Redis Queue plugin's 2.0.0 admin interface, focusing on improved user experience, more robust asset loading, and minor internal housekeeping. The most significant changes include a new noscript warning for users without JavaScript, enhanced feedback during test job submission, and a switch to more reliable asset URLs. These updates are non-breaking and address edge cases and usability issues reported after the initial release.

User Experience Improvements

  • Added a noscript warning block to the Test Jobs admin page to inform users when JavaScript is disabled, ensuring clarity for users who may otherwise be unable to submit test jobs.
  • Improved test job submission UX by enforcing a perceptible minimum "Processing…" state and replacing the previous loading spinner with a subtle button fade animation that preserves native WordPress button styling. [1] [2] [3] [4]

Asset Loading Reliability

  • Changed admin JS and CSS asset loading from relative ../../assets/... URLs to plugins_url(), making asset paths more robust against path traversal issues and CDN rewriting. Also added an inline preload marker for easier debugging of asset loading failures. [1] [2]

Bug Fixes

  • Fixed admin JavaScript not reliably loading in some environments due to relative path usage, and resolved intermittent perception that form submission did "nothing" by ensuring the processing state is always visible. [1] [2]

Internal Housekeeping

  • Added a lightweight inline preload marker in admin UI scripts for debugging asset loading issues.

These changes are documented in both the changelog and readme for transparency and easier migration.

- Introduced a new class `PucReadmeParser` to handle the parsing of WordPress plugin readme files.
- The parser supports Markdown transformations and extracts essential metadata such as plugin name, required PHP version, stable tag, tags, contributors, and various sections (description, installation, FAQ, etc.).
- Implemented methods for sanitizing text, filtering content, and handling code blocks.
- The class utilizes Parsedown for Markdown parsing and ensures compatibility with WordPress standards.
@soderlind soderlind merged commit 11ea1b5 into main Oct 13, 2025
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.

2 participants