-
Notifications
You must be signed in to change notification settings - Fork 8
Abilities API: Forms #1104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Abilities API: Forms #1104
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d0d1024
Register Forms as MCP Tools
n7studios c4fd5af
Merge branch 'abilities-api-resources' into abilities-api-forms
n7studios 72f0b0b
Added tests
n7studios 235a395
Coding standards
n7studios 58aad34
Merge remote-tracking branch 'origin/abilities-api-resources' into ab…
n7studios 020ba73
Merge remote-tracking branch 'origin/abilities-api-resources' into ab…
n7studios 3560d82
Abilities API: Form Triggers
n7studios 5b15fd2
Abilities API: Broadcasts
n7studios 23f60a9
Abilites API: Products
n7studios 8a425e2
PHPStan compat.
n7studios 57da7db
Merge branch 'abilities-api-forms' into abilities-api-form-triggers
n7studios 6111087
Merge branch 'abilities-api-form-triggers' into abilities-api-broadcasts
n7studios 616ef4a
Merge branch 'abilities-api-broadcasts' into abilities-api-products
n7studios 8579b93
Return `string` type as default and for text, color and select fields
n7studios a2b8dd4
Merge pull request #1111 from Kit/abilities-api-products
n7studios 7a2dedd
Merge pull request #1106 from Kit/abilities-api-broadcasts
n7studios d2f93d8
Merge pull request #1105 from Kit/abilities-api-form-triggers
n7studios File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,7 +42,7 @@ public function get_label() { | |
|
|
||
| return sprintf( | ||
| /* translators: %s: block title */ | ||
| __( 'Insert a %s element into a post', 'convertkit' ), | ||
| __( 'Insert %s into a Page, Post or Custom Post', 'convertkit' ), | ||
| $this->block->get_title() | ||
| ); | ||
|
|
||
|
|
@@ -59,9 +59,8 @@ public function get_description() { | |
|
|
||
| return sprintf( | ||
| /* translators: 1: block full name e.g. convertkit/form, 2: block title */ | ||
| __( 'Inserts a new %1$s (%2$s) element into the given post\'s content. The element can be appended (default), prepended, or positioned relative to an existing element using a zero-based index.', 'convertkit' ), | ||
| 'convertkit/' . $this->block->get_name(), | ||
| $this->block->get_title() | ||
| __( 'Inserts a new %s in a Page, Post or Custom Post\'s content. The element can be appended (default), prepended, or inserted relative to an existing element using a zero-based index.', 'convertkit' ), | ||
| $this->block->get_title_plural() | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nitpick (non-blocking): this and other descriptions for tools that work on a single item should probably not use the plural (label looks good) |
||
| ); | ||
|
|
||
| } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
niptick (non-blocking): should this comment be updated like in the other
get_descriptionin this PR?