Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-o committed Dec 9, 2024
1 parent 8df21ef commit 14c0b9e
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 28 deletions.
2 changes: 1 addition & 1 deletion build/editor.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '0e5a9ff452cc319a25fe');
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'a127d9515a556a21769e');
6 changes: 3 additions & 3 deletions build/editor.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion build/style-editor.css

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

11 changes: 7 additions & 4 deletions languages/mind.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
"Provide request to receive AI response.": [
""
],
"OpenAI data failed to load.": [
""
],
"OpenAI API Key": [
""
],
Expand Down Expand Up @@ -290,7 +287,7 @@
"Create a table about ": [
""
],
"Waiting for AI response": [
"Writing": [
""
],
"Get Answer": [
Expand All @@ -316,6 +313,12 @@
],
"Go to Settings": [
""
],
"Failed to parse stream data": [
""
],
"Failed to fetch AI response": [
""
]
}
}
Expand Down
34 changes: 19 additions & 15 deletions languages/mind.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPLv2 or later.
msgid ""
msgstr ""
"Project-Id-Version: AI Mind 0.1.3\n"
"Project-Id-Version: AI Mind 0.2.0\n"
"Report-Msgid-Bugs-To: https://github.com/nk-crew/mind/issues\n"
"Last-Translator: Lazy Blocks Team\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-11-27T20:46:11+00:00\n"
"POT-Creation-Date: 2024-12-09T11:32:53+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.11.0\n"
"X-Domain: mind\n"
Expand Down Expand Up @@ -63,18 +63,14 @@ msgstr ""
msgid "You don't have permissions to request Mind API."
msgstr ""

#: classes/class-rest.php:125
#: classes/class-rest.php:201
msgid "Provide OpenAI key in the plugin settings."
msgstr ""

#: classes/class-rest.php:129
#: classes/class-rest.php:206
msgid "Provide request to receive AI response."
msgstr ""

#: classes/class-rest.php:226
msgid "OpenAI data failed to load."
msgstr ""

#: src/admin/page-settings/index.js:58
msgid "OpenAI API Key"
msgstr ""
Expand Down Expand Up @@ -121,7 +117,6 @@ msgid "OpenAI API key →"
msgstr ""

#: src/admin/store/settings/actions.js:35
#: src/editor/store/popup/actions.js:119
msgid "Something went wrong, please, try again…"
msgstr ""

Expand Down Expand Up @@ -409,23 +404,23 @@ msgstr ""
msgid "Create a table about "
msgstr ""

#: src/editor/popup/components/content/index.js:161
msgid "Waiting for AI response"
#: src/editor/popup/components/footer/index.js:38
msgid "Writing"
msgstr ""

#: src/editor/popup/components/footer/index.js:43
#: src/editor/popup/components/footer/index.js:46
msgid "Get Answer"
msgstr ""

#: src/editor/popup/components/footer/index.js:54
#: src/editor/popup/components/footer/index.js:57
msgid "Regenerate"
msgstr ""

#: src/editor/popup/components/footer/index.js:65
#: src/editor/popup/components/footer/index.js:68
msgid "Copy"
msgstr ""

#: src/editor/popup/components/footer/index.js:68
#: src/editor/popup/components/footer/index.js:71
msgid "Insert"
msgstr ""

Expand All @@ -444,3 +439,12 @@ msgstr ""
#: src/editor/popup/components/not-connected-screen/index.js:45
msgid "Go to Settings"
msgstr ""

#: src/editor/store/popup/actions.js:147
msgid "Failed to parse stream data"
msgstr ""

#: src/editor/store/popup/actions.js:202
#: src/editor/store/popup/actions.js:212
msgid "Failed to fetch AI response"
msgstr ""
4 changes: 2 additions & 2 deletions mind.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Content Assistant Plugin based on OpenAI. Write, improve, rewrite, rephrase, change the tone of your blog posts, and more.
* Requires at least: 6.0
* Requires PHP: 7.2
* Version: 0.1.3
* Version: 0.2.0
* Author: Mind Team
* Author URI: https://www.wp-mind.com/
* License: GPLv2 or later
Expand All @@ -19,7 +19,7 @@
}

if ( ! defined( 'MIND_VERSION' ) ) {
define( 'MIND_VERSION', '0.1.3' );
define( 'MIND_VERSION', '0.2.0' );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mind",
"version": "0.1.3",
"version": "0.2.0",
"description": "Mind - Content Assistant Plugin based on OpenAI",
"author": "Mind Team",
"license": "GPL-2.0-or-later",
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: ai, openai, gpt, copywriting, assistant
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.2
Stable tag: 0.1.3
Stable tag: 0.2.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -127,6 +127,12 @@ Mind is developed for the WordPress page builder - Gutenberg. Currently we don't

== Changelog ==

= 0.2.0 - Dec 9, 2024 =

- added stream AI response for better experience
- fixed JS error when inserting response to editor
- changed model to gpt-4o-mini

= 0.1.3 - Nov 28, 2024 =

- fixed the Open Mind button display issue in the WordPress 6.7 posts toolbar
Expand Down

0 comments on commit 14c0b9e

Please sign in to comment.