Skip to content

Commit

Permalink
Merge branch 'main' into feat/issue-110-register-activity-bar-panel
Browse files Browse the repository at this point in the history
  • Loading branch information
josephfusco authored Jun 5, 2024
2 parents df3d98f + 2c40ea8 commit 637b855
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 27 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.1.2

### Patch Changes

- f6745e9: - fix missing styles in latest release

## 2.1.1

### Patch Changes
Expand Down
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
{
"name": "wpgraphql-ide",
"version": "2.1.1",
"version": "2.1.2",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/wpgraphql/wpgraphql-ide.git"
},
"files": [
"build",
"styles",
"wpgraphql-ide.php",
"package.json",
"README.md",
"readme.txt"
],
"scripts": {
"check-engines": "wp-scripts check-engines",
"build": "wp-scripts build && npm run build:third-party-plugin && npm run build:zip",
Expand Down
32 changes: 7 additions & 25 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: jasonbahl, joefusco
Tags: headless, decoupled, graphql, devtools
Requires at least: 5.7
Tested up to: 6.5
Stable tag: 2.1.1
Stable tag: 2.1.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -22,6 +22,12 @@ GraphQL IDE for WPGraphQL

== Changelog ==

= 2.1.2 =

### Patch Changes

- f6745e9: - fix missing styles in latest release

= 2.1.1 =

### Patch Changes
Expand All @@ -38,28 +44,4 @@ GraphQL IDE for WPGraphQL

![WPGraphQL IDE Settings tab showing the admin bar link behavior and Show legacy editor settings](https://github.com/wp-graphql/wpgraphql-ide/assets/6676674/59236b4c-0019-40a8-ae9b-a1228997f30c)

= 2.0.0 =

### Major Changes

- 43eea79: Refactored stores, including renaming 'wpgraphql-ide' to 'wpgraphql-ide/app', and adding additional stores such as 'wpgraphql-ide/editor-toolbar.

Added `registerDocumentEditorToolbarButton` function to public API.

This function allows registering a new editor toolbar button with the following parameters:

- `name` (string): The name of the button to register.
- `config` (Object): The configuration object for the button.
- `priority` (number, optional): The priority for the button, with lower numbers meaning higher priority. Default is 10.

Example usage:

```js
const { registerDocumentEditorToolbarButton } = window.WPGraphQLIDE;

registerDocumentEditorToolbarButton("toggle-auth", toggleAuthButton, 1);
```

![Screenshot of the GraphiQL IDE highlighting the Toolbar buttons within the Document Editor region.](https://github.com/wp-graphql/wpgraphql-ide/assets/1260765/2395c3c8-1915-4a24-b64e-35ebe16e674f)

[View the full changelog](https://github.com/wp-graphql/wpgraphql-ide/blob/main/CHANGELOG.md)
2 changes: 1 addition & 1 deletion wpgraphql-ide.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* GitHub Plugin URI: https://github.com/wp-graphql/wpgraphql-ide
* License: GPLv3 or later
* Text Domain: wpgraphql-ide
* Version: 2.1.1
* Version: 2.1.2
* Requires PHP: 7.4
* Tested up to: 6.5
*
Expand Down

0 comments on commit 637b855

Please sign in to comment.