I really do not find my bug
here : Why does the navigation in this macro not work (in a modal) ?(Creating the tiddler works!)
\define confirm-save-actions()
<$action-setfield $tiddler="$:/state/ki-adapter/save-title" text={{{ [{$:/state/ki-adapter/save-title}trim[]] }}}/>
<$action-listops $tiddler={{$:/state/ki-adapter/save-title}} $tags="+[[$:/state/ai-adapter/save-tags]tags[]]" />
<$action-setfield $tiddler={{$:/state/ki-adapter/save-title}} text={{{ [{$:/temp/ki-adapter/save-source}get[text]] }}}/>
<$list filter="[[$:/state/ki-adapter/open-on-save]text[yes]]" variable="ignore">
<$navigator story="$:/StoryList" history="$:/HistoryList">
<$action-navigate $to={{$:/state/ki-adapter/save-title}}/>
</$navigator>
</$list>
<$action-sendmessage $message="tm-close-tiddler" />
<$action-deletetiddler $tiddler="$:/state/ki-adapter/save-title"/>
<$action-deletetiddler $tiddler={{$:/temp/ki-adapter/save-source}}/>
\end
For testing this in its habitat you can download the entire ai-adapter here: Another AI-Adapter for TW - #8 by JanJo