Skip to content

Commit

Permalink
Template updates and user flow fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauteri committed Jan 5, 2025
1 parent cdf1162 commit e0a5acf
Show file tree
Hide file tree
Showing 21 changed files with 52 additions and 24 deletions.
7 changes: 5 additions & 2 deletions build/blocks/rsvp-anonymous-checkbox/render.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php
/**
* Render Guest Count Input block.
* Render RSVP Anonymous Checkbox block.
*
* Dynamically renders a disabled input for specifying guest count with a customizable label.
* Dynamically renders a checkbox allowing users to mark themselves as anonymous in RSVP responses.
* The block checks for the `gatherpress_enable_anonymous_rsvp` meta and ensures the checkbox is only
* rendered if anonymous RSVPs are permitted for the current post.
*
* @package GatherPress\Core
* @since 1.0.0
Expand Down Expand Up @@ -37,6 +39,7 @@
id="%2$s"
data-wp-interactive="gatherpress"
data-wp-on--change="actions.updateAnonymous"
data-wp-watch="callbacks.monitorAnonymousStatus"
type="checkbox"
aria-label="%3$s"
value="1"
Expand Down
2 changes: 1 addition & 1 deletion build/blocks/rsvp-response-v2/view.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity'), 'version' => '44f29751f0fa02c590af', 'type' => 'module');
<?php return array('dependencies' => array('@wordpress/interactivity'), 'version' => '48d3665bfb0eeb1d6e1e', 'type' => 'module');
2 changes: 1 addition & 1 deletion build/blocks/rsvp-response-v2/view.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/blocks/rsvp-template/view.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity'), 'version' => '8d35ff57d8e20a62d325', 'type' => 'module');
<?php return array('dependencies' => array('@wordpress/interactivity'), 'version' => '81cb2f616dfe3427d2a8', 'type' => 'module');
2 changes: 1 addition & 1 deletion build/blocks/rsvp-template/view.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/blocks/rsvp-v2/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '48a5b65792081c86d458');
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '4e6f99d56fdc952df648');
Loading

0 comments on commit e0a5acf

Please sign in to comment.