Skip to content

Commit

Permalink
Merge branch 'development' into fix/dashboard-options
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani authored Sep 25, 2023
2 parents e5a8a59 + b0ace38 commit 73ef096
Show file tree
Hide file tree
Showing 112 changed files with 7,795 additions and 798 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ todo.md
artifacts
*.results.json
trace.json
license.json
license.json
.fleet
21 changes: 11 additions & 10 deletions .wp-env.override.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@
"config": {
"WP_DEBUG": true,
"WP_DEBUG_DISPLAY": true,
"FS_METHOD": "direct"
"FS_METHOD": "direct",
"WP_DEFAULT_THEME": "twentytwentythree"
},
"env": {
"development": {
"themes": [
"./one-theme"
]
},
"tests": {
"config": {
"WP_DEBUG": false,
"WP_DEBUG_DISPLAY": false
},
"plugins": [
"."
],
"mappings": {
"wp-content/mu-plugins": "./node_modules/@wordpress/e2e-tests/mu-plugins",
"wp-content/plugins/gutenberg-test-plugins": "./node_modules/@wordpress/e2e-tests/plugins"
}
"wp-content/mu-plugins": "./node_modules/@wordpress/e2e-tests/mu-plugins",
"wp-content/plugins/gutenberg-test-plugins": "./node_modules/@wordpress/e2e-tests/plugins",
"wp-content/themes/gutenberg-test-themes/twentytwentythree": "https://downloads.wordpress.org/theme/twentytwentythree.1.0.zip"
}
}
}
}
}
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#### [Version 2.4.0](https://github.com/Codeinwp/otter-blocks/compare/v2.3.4...v2.4.0) (2023-09-21)

- Introducing Otter AI Block With Form AI & Content AI Support
- Added Webhooks Integration to Form Block
- Added Hidden Field to Form Block
- Circle Counter Block Enhancements
- Adding RequestAnimationFrame() to Scroll Sniffing for Better Performance
- Added Stripe Field to Form Block
- Add Link Target Setting in Product Review Block
- Fix Slider Block Image Arrangement Behaving Weirdly
- Fix CSS Not Generating When Switching to FSE Theme
- Fix Visual Issues in Section’s Background & Overlay Controls
- Fix Box Shadow Not Changing on Section Columns
- Fix Block Settings Panel Being Visible for Non-Admins
- Fix Form Block Not Saving Changes in FSE Templates
- Fix Multiple Otter Notices Appearing at Once
- Various Small Fixes

##### [Version 2.3.4](https://github.com/Codeinwp/otter-blocks/compare/v2.3.3...v2.3.4) (2023-08-23)

- Fix z-index with Shape Divider in Section
Expand Down
Binary file added assets/images/guide/welcome-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions blocks.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@
"form-file": {
"block": "blocks/blocks/form/file/block.json"
},
"form-hidden-field": {
"block": "blocks/blocks/form/hidden-field/block.json"
},
"form-stripe-field": {
"block": "blocks/blocks/form/stripe-field/block.json"
},
"google-map": {
"block": "blocks/blocks/google-map/block.json",
"assets": {
Expand Down Expand Up @@ -272,5 +278,8 @@
"product-upsells": {
"isPro": true,
"block": "pro/woocommerce/upsells/block.json"
},
"content-generator": {
"block": "blocks/blocks/content-generator/block.json"
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "codeinwp/otter-blocks",
"description": "A set of awesome Gutenberg Blocks by ThemeIsle.",
"type": "wordpress-plugin",
"version": "2.3.4",
"version": "2.4.0",
"require-dev": {
"squizlabs/php_codesniffer": "^3.3",
"wp-coding-standards/wpcs": "^1",
Expand Down
1 change: 1 addition & 0 deletions inc/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public function autoload_classes() {
'\ThemeIsle\GutenbergBlocks\Integration\Form_Providers',
'\ThemeIsle\GutenbergBlocks\Integration\Form_Email',
'\ThemeIsle\GutenbergBlocks\Server\Form_Server',
'\ThemeIsle\GutenbergBlocks\Server\Prompt_Server',
);

$classnames = apply_filters( 'otter_blocks_autoloader', $classnames );
Expand Down
21 changes: 11 additions & 10 deletions inc/class-registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,16 +498,17 @@ function() {
'root' => esc_url_raw( rest_url() ),
'nonce' => wp_create_nonce( 'wp_rest' ),
'messages' => array(
'submission' => __( 'Form submission from', 'otter-blocks' ),
'captcha-not-loaded' => __( 'Captcha is not loaded. Please check your browser plugins to allow the Google reCaptcha.', 'otter-blocks' ),
'check-captcha' => __( 'Please check the captcha.', 'otter-blocks' ),
'invalid-email' => __( 'The email address is invalid!', 'otter-blocks' ),
'already-registered' => __( 'The email was already registered!', 'otter-blocks' ),
'try-again' => __( 'Error. Something is wrong with the server! Try again later.', 'otter-blocks' ),
'privacy' => __( 'I have read and agreed the privacy statement.', 'otter-blocks' ),
'too-many-files' => __( 'Too many files loaded. Maximum is: ', 'otter-blocks' ),
'big-file' => __( 'File size is to big. The limit is: ', 'otter-blocks' ),
'invalid-file' => __( 'Invalid files type. The submitted files could not be processed.', 'otter-blocks' ),
'submission' => __( 'Form submission from', 'otter-blocks' ),
'captcha-not-loaded' => __( 'Captcha is not loaded. Please check your browser plugins to allow the Google reCaptcha.', 'otter-blocks' ),
'check-captcha' => __( 'Please check the captcha.', 'otter-blocks' ),
'invalid-email' => __( 'The email address is invalid!', 'otter-blocks' ),
'already-registered' => __( 'The email was already registered!', 'otter-blocks' ),
'try-again' => __( 'Error. Something is wrong with the server! Try again later.', 'otter-blocks' ),
'privacy' => __( 'I have read and agreed the privacy statement.', 'otter-blocks' ),
'too-many-files' => __( 'Too many files loaded. Maximum is: ', 'otter-blocks' ),
'big-file' => __( 'File size is to big. The limit is: ', 'otter-blocks' ),
'invalid-file' => __( 'Invalid files type. The submitted files could not be processed.', 'otter-blocks' ),
'confirmingSubmission' => __( 'Confirming submission', 'otter-blocks' ),
),
)
);
Expand Down
Loading

0 comments on commit 73ef096

Please sign in to comment.