Skip to content

Commit 9781da4

Browse files
improve communicator script
1 parent 3ad1d73 commit 9781da4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Ask-GPT-AddOn.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<map version="freeplane 1.11.1">
22
<!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org -->
3-
<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">
3+
<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">
44
<font SIZE="16" BOLD="true" ITALIC="true"/>
55
<hook NAME="MapStyle">
66
<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"/>
@@ -71,7 +71,7 @@
7171
<hook NAME="AutomaticEdgeColor" COUNTER="17" RULE="ON_BRANCH_CREATION"/>
7272
<attribute_layout NAME_WIDTH="112.61538 pt" VALUE_WIDTH="333.23076 pt"/>
7373
<attribute NAME="name" VALUE="AskGPTAddOn"/>
74-
<attribute NAME="version" VALUE="v0.3.1"/>
74+
<attribute NAME="version" VALUE="v0.3.2"/>
7575
<attribute NAME="author" VALUE="barry, dpolivaev"/>
7676
<attribute NAME="freeplaneVersionFrom" VALUE="v1.11.3" OBJECT="org.freeplane.features.format.FormattedObject|java.lang.String&amp;#x7c;v1.11.3|number:decimal:#0.####"/>
7777
<attribute NAME="freeplaneVersionTo" VALUE=""/>

scripts/openAiGpt.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ MessageArea createMessageSection(def swingBuilder, def messages, def title, int
389389
button(action: swingBuilder.action(name: "Duplicate ${title}".toString()) {
390390
messages.add(messageText.text)
391391
comboBoxModel.addElement(new MessageItem(messageText.text))
392+
messageText.text = messages[selectedIndex]
392393
messageComboBox.selectedIndex = selectedIndex = messageComboBox.itemCount - 1
393394
})
394395
button(action: swingBuilder.action(name: "Delete ${title}".toString()) {

version.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=v0.3.1
2-
downloadUrl=https://github.com/dpolivaev/freeplane_openai_addon/Ask-GPT-AddOn-v0.3.1.addon.mm
1+
version=v0.3.2
2+
downloadUrl=https://github.com/dpolivaev/freeplane_openai_addon/Ask-GPT-AddOn-v0.3.2.addon.mm
33
freeplaneVersionFrom=v1.11.3

0 commit comments

Comments
 (0)