Skip to content

Commit

Permalink
improve communicator script
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolivaevUnite committed May 20, 2023
1 parent 3ad1d73 commit 9781da4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Ask-GPT-AddOn.mm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<map version="freeplane 1.11.1">
<!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org -->
<node TEXT="Ask-GPT-AddOn" FOLDED="false" ID="ID_696401721" CREATED="1684435528719" MODIFIED="1684613665676" LINK="https://github.com/dpolivaev/freeplane_openai_addon" BACKGROUND_COLOR="#97c7dc" STYLE="oval" MAX_WIDTH="20 cm">
<node TEXT="Ask-GPT-AddOn" FOLDED="false" ID="ID_696401721" CREATED="1684435528719" MODIFIED="1684614493333" LINK="https://github.com/dpolivaev/freeplane_openai_addon" BACKGROUND_COLOR="#97c7dc" STYLE="oval" MAX_WIDTH="20 cm">
<font SIZE="16" BOLD="true" ITALIC="true"/>
<hook NAME="MapStyle">
<properties show_icon_for_attributes="true" edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" mapUsesOwnSaveOptions="true" save_modification_times="false" save_last_visited_node="default" show_note_icons="true" associatedTemplateLocation="template:/standard-1.6.mm" save_folding="save_folding_if_map_is_changed" fit_to_viewport="false"/>
Expand Down Expand Up @@ -71,7 +71,7 @@
<hook NAME="AutomaticEdgeColor" COUNTER="17" RULE="ON_BRANCH_CREATION"/>
<attribute_layout NAME_WIDTH="112.61538 pt" VALUE_WIDTH="333.23076 pt"/>
<attribute NAME="name" VALUE="AskGPTAddOn"/>
<attribute NAME="version" VALUE="v0.3.1"/>
<attribute NAME="version" VALUE="v0.3.2"/>
<attribute NAME="author" VALUE="barry, dpolivaev"/>
<attribute NAME="freeplaneVersionFrom" VALUE="v1.11.3" OBJECT="org.freeplane.features.format.FormattedObject|java.lang.String&amp;#x7c;v1.11.3|number:decimal:#0.####"/>
<attribute NAME="freeplaneVersionTo" VALUE=""/>
Expand Down
1 change: 1 addition & 0 deletions scripts/openAiGpt.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ MessageArea createMessageSection(def swingBuilder, def messages, def title, int
button(action: swingBuilder.action(name: "Duplicate ${title}".toString()) {
messages.add(messageText.text)
comboBoxModel.addElement(new MessageItem(messageText.text))
messageText.text = messages[selectedIndex]
messageComboBox.selectedIndex = selectedIndex = messageComboBox.itemCount - 1
})
button(action: swingBuilder.action(name: "Delete ${title}".toString()) {
Expand Down
4 changes: 2 additions & 2 deletions version.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=v0.3.1
downloadUrl=https://github.com/dpolivaev/freeplane_openai_addon/Ask-GPT-AddOn-v0.3.1.addon.mm
version=v0.3.2
downloadUrl=https://github.com/dpolivaev/freeplane_openai_addon/Ask-GPT-AddOn-v0.3.2.addon.mm
freeplaneVersionFrom=v1.11.3

0 comments on commit 9781da4

Please sign in to comment.