It seems like this is more of a request for someone to make an interface 
for data tiddlers.

Here's a start:

\define value() {{Data##$(index)$}}

<$select tiddler="$:/index" default="item1">
<$list filter='[[Data]] +[indexes[]sort[]]'>
<option value=<<currentTiddler>>><$view field='title'/></option>
</$list>
</$select>

Index:
<$edit-text tiddler="$:/index" tag="input"/>

''Contents:''<br/>
<$transclude tiddler="Data" index={{$:/index}}/>

<$set name="index" value={{$:/index}}>
<$wikify name="data" text=<<value>>>
<$button>Edit (below)
<$action-setfield $tiddler="$:/WorkingData" $field="text"  $value=<<data>>/>
</$button>
<p/>

''Data:''<br>
<$edit-text tiddler="$:/WorkingData" placeholder="Type text to put in 
dictionary"  />

</$wikify>
</$set>

<$button>
<$action-setfield $tiddler="Data" $index={{$:/index}} $value={{$:/
WorkingData}} />
Update values
</$button>

Create a data Tiddler called Data and populate it with a couple of items. 
The items will appear in the drop down, sorted by index. Click on an item 
and the text will appear below. If you want to edit the text, click on 
"Edit". Edit the text, and then Click on "Update".

This could probably be more automated. But when I tried to make the edit 
box automatically connect with the data dictionary, it kept losing focus. 
This is a known issue when addressing fields in the current tiddler, but 
the Data tiddler is not part of the current tiddler, so don't know what's 
happening there. It could also probably be made smoother if I knew what 
variables were available to the new "actions" clause as part of the select 
widget. Unfortunately, no examples are presented.

Have fun,
Mark


On Wednesday, August 2, 2017 at 12:31:30 PM UTC-7, @TiddlyTweeter wrote:
>
> Danielo
>
> I opened a new GitHub issue here: 
> https://github.com/Jermolene/TiddlyWiki5/issues/2952
>
> Of the existing threads, let me know.
>
> Josiah
>
> Danielo Rodríguez wrote:
>>
>> ... There are some issues on GitHub about improving them, let's go there 
>> and give them a thumbs up
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ef76b7a5-d983-4bee-8bad-2f2306eae939%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to