wp-hypothesis
wp-hypothesis copied to clipboard
Hypothesis WordPress plugin
This plugin currently has just one class, which is manually required for convenience. However, if we want to split it into multiple classes, using composer autoloading capabilities would be useful....
This plugin is currently using composer only to install development dependencies, which should present no problem. If at some point we want to install production dependencies and ship them with...
Prettier has an official plugin to format PHP code which might be a good option: https://github.com/prettier/plugin-php It has some considerations: * We need to check if it does not conflict...
Introducing a static analysis tool would allow to have a layer similar to TypeScript's type checking. [PHPStan](https://phpstan.org/) is a good option, but we would need to make sure it does...
Add some integration/unit tests that allow further changes to the plugin with a lower risk to break something. https://make.wordpress.org/cli/handbook/misc/plugin-unit-tests/
Hi plugin owners-- I've been working with some local users who are very excited about adding Hypothesis to their WordPress sites (and to their Pressbooks books) and have activated the...
When WordPress is configured to host its Media Library in a different environment than the local file system (eg, AWS S3), this plugin doesn't launch the Hypothesis client with PDFs...
Now that WP supports oembed for blog posts, the Hypothesis toolbar is being rendered multiple times, both on the sidebar, and in each oembed post. If possible, the toolbar shouldn't...
The list of post types which users can enable Hypothesis on is limited to Posts and Pages, with a not-well-documented "hypothesis_supported_posttypes" hook which can be used to override this. This...