Skip to content

Commit

Permalink
Add a reaction block (#1070)
Browse files Browse the repository at this point in the history
Adds a Reactions (likes and reposts) block
It automatically gets hooked to be placed after the post content block
Enable reactions by default!
---------

Co-authored-by: Konstantin Obenland <obenland@gmx.de>
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 17, 2024
1 parent ba48d83 commit 77ae436
Show file tree
Hide file tree
Showing 40 changed files with 1,122 additions and 49 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

* Reactions block to display likes and reposts
* `icon` support for `Audio` and `Video` attachments
* Send "new follower" emails
* Send "direct message" emails
Expand All @@ -17,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Improved

* Likes and Reposts enabled by default
* Email templates for Likes and Reposts
* Improve Interactions moderation
* Compatibility with Akismet
Expand Down
1 change: 1 addition & 0 deletions activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function rest_init() {
Rest\Server::init();
Rest\Collection::init();
Rest\Interaction::init();
Rest\Post::init();

// Load NodeInfo endpoints only if blog is public.
if ( is_blog_public() ) {
Expand Down
2 changes: 1 addition & 1 deletion build/editor-plugin/plugin.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '4d5e9ed82e8448bb4fd1');
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '6b15195803d2f5a2c116');
2 changes: 1 addition & 1 deletion build/editor-plugin/plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/follow-me/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '62610556ba8e5f129fdf');
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '9ba472502cdfebc07309');
Loading

0 comments on commit 77ae436

Please sign in to comment.