Springer,

Thank you! You did great on Biblio excerpts demo. 

As you well know the tiddler title is the magic field in Tiddlywiki. 
Unfortunately the dynamic table do not allow editing title of records (here 
tiddlers) in place.
One solution is to add a temp tiddler on edit and use a confirmation button 
like what Jed Carty did in his version of dynamic table. He also added 
double click to 
edit a table cell.

Personally I like to be able to edit everything in table cells. I will 
consider this as an improvement but it takes time! but I am open if there 
is a good solution here!

Shortcut solution: one hack is to create your own  title template like what 
I did for clone and use an inputbox + confirmation button! 

Using shortcut keys makes it not work correctly on touch screens, so I used 
buttons and input box every where.

Best wishes
Mohammad




On Thursday, December 3, 2020 at 11:26:41 PM UTC+3:30 springer wrote:

> Mohammad, wow! 
>
> This new Shiraz (2.1.3) is now live at the biblio-demo page 
> <https://springerspandrel.github.io/tw/biblio-demo.html>
>
> It works just as you describe, and you've thoughtfully bundled in a delete 
> icon so that removing a row is also intuitive.
>
> One glitch: I realize I'm unable to edit the title of the newly-created 
> tiddler. Presumably that's because the title is a link. 
>
> I wonder whether most users would rather have access to an inline edit 
> field for the title (when table is in edit mode), letting go of the link 
> function. Ability to edit titles (from within the dynamic table row) might 
> be useful even independently of the clone function. 
>
> Just like the "clone" and "delete" icon buttons at the end of a row (in 
> edit mode), perhaps a "go-edit-tiddler" icon toward the right end would 
> intuitively compensate for losing the title link. Alternately, a keyboard 
> shortcut to exit editing mode (presumably available only if edit-focus is 
> within a field) might make it more seamless to return to view mode and then 
> hit the title link.
>
> I'm so grateful for your responsiveness. 
>
> I try to keep requests limited to matters that might benefit others, and I 
> do think that this addition to dynamic tables counts as such, given that 
> Shiraz is an essential plugin for those who aren't very confident with 
> tinkering under the hood. Nearly everyone has used a spreadsheet, and 
> Shiraz now allows novice TW5 users to do lots of work in that 
> table-management frame of mind.
>
> -Springer
>
> On Thursday, December 3, 2020 at 12:05:39 PM UTC-5 Mohammad wrote:
>
>> Springer,
>>  I have pushed an experimental release to implement what you asked as 
>> part of Shiraz plugin, see it 
>>
>> https://github.com/kookma/TW-Shiraz/tree/development
>>
>> To give a try download  `shoriz.tid` from 
>> https://github.com/kookma/TW-Shiraz/tree/development/packaged
>> and drop into your backed up Tiddlywiki. *Do not forget to make backup 
>> before tests.*
>>
>> The new tbl-clone uses features from TW 5.1.23pre but it also works in TW 
>> 5.1.22
>> with small difference.
>>
>> Demo can be found here: 
>> https://github.com/kookma/TW-Shiraz/tree/development/docs
>> a copy is attached. Look for demo/dynamic-table/clone-row tiddler
>>
>> Please make some experiments and let me know how it works. After careful 
>> experimentation I will merge and push a new release.
>>
>> Best wishes
>> Mohammad
>>
>> On Thursday, December 3, 2020 at 4:03:28 AM UTC+3:30 springer wrote:
>>
>>> Mohammad,
>>>
>>> What I imagined was the ability to create a duplicate tiddler "here" 
>>> without *opening* it, so that editing focus remains on the dynamic table. 
>>> It would have the feel of "adding a row to the spreadsheet". Still, adding 
>>> the "clone" button column with just the regular button, in the way you 
>>> illustrate here, does make it a bit more efficient to use the dynamic table 
>>> as a springboard for adding tiddlers as needed.
>>>
>>> Thanks for the speedy and helpful response!
>>>
>>> -Springer
>>> On Wednesday, December 2, 2020 at 2:35:24 AM UTC-5 Mohammad wrote:
>>>
>>>> Hi Springer,
>>>>  I am happy you like Shiraz and it is useful in your workflow. Dynamic 
>>>> Tables are highly customizable using templates. 
>>>>  What you asked is not difficult and you can do yourself without any 
>>>> hack.
>>>>
>>>> The content of each column is displayed using column template. So you 
>>>> can have a column template to display the contents for example as a link 
>>>> or 
>>>> in red color and so on.
>>>>
>>>> Have a look at 
>>>> https://kookma.github.io/TW-Shiraz/#demo%2Fdynamic-tables-template
>>>>
>>>> As a first trial I attached a clone template! Drag and drop the 
>>>> attached JSON on https://kookma.github.io/TW-Shiraz/#
>>>> and see how test works!
>>>>
>>>> By the way if you could not implement your own template please submit a 
>>>> ticket here  https://github.com/kookma/TW-Shiraz  
>>>>
>>>> On Wednesday, December 2, 2020 at 4:47:58 AM UTC+3:30 springer wrote:
>>>>
>>>>> Mohammad,
>>>>>
>>>>> As you know, I love Shiraz, and especially the dynamic tables. They 
>>>>> are now essential to my workflow.
>>>>>
>>>>> I realize there's one desirable feature-possibility for dynamic tables 
>>>>> that would be amazing, and maybe popular enough to be worth requesting 
>>>>> from 
>>>>> you rather than clumsily trying to hack for myself (as I was starting to 
>>>>> do 
>>>>> on the biblio-demo project for compiling quotes... before reminding 
>>>>> myself 
>>>>> that it's too steep a learning curve for me). 
>>>>>
>>>>> REQUEST: Let us specify a special column (perhaps one that appears 
>>>>> only in the table's internal editing mode) that effectively displays a 
>>>>> "CLONE this tiddler" button for its tiddler row. 
>>>>>
>>>>> Once the button is pressed, a new row is suddenly going to show up in 
>>>>> the dynamic table, and then (I imagine) the cursor should get 
>>>>> automatically 
>>>>> moved into to the first editable field of that newly-created duplicate 
>>>>> row, 
>>>>> for modifying as needed.
>>>>>
>>>>> (More fancy would be the option to create the new tiddler with all the 
>>>>> non-pivotal fields left blank, setting only those fields whose values 
>>>>> account for its fitting within the filter condition, but that's bells and 
>>>>> whistles.)
>>>>>
>>>>> Such a feature would make it much easier to respond more intuitively 
>>>>> to the "Oh, I want to add another row (tiddler) that belongs here" moment.
>>>>>
>>>>> Best regards and thanks in advance for entertaining the request!
>>>>>
>>>>> -Springer
>>>>> On Friday, November 13, 2020 at 2:44:25 PM UTC-5 Mohammad wrote:
>>>>>
>>>>>> *Announcement:Shiraz plugin*
>>>>>> *Date: Nov 13th, 2020*
>>>>>> *Release: 2.1.2*
>>>>>> *Status: Stable*
>>>>>>
>>>>>>
>>>>>> Shiraz is now a mature and quite powerful plugin and it can be used 
>>>>>> as a useful addition to Tiddlywiki empty edition.
>>>>>>
>>>>>> This *stable release* is a bug fix release and distributing under 
>>>>>> Kookma Plugin Library.
>>>>>>
>>>>>>
>>>>>> Code and demo
>>>>>>    
>>>>>>    - Demo: https://kookma.github.io/TW-Shiraz
>>>>>>    - Code: https://github.com/kookma/TW-Shiraz
>>>>>>
>>>>>>
>>>>>>
>>>>>> Star it if you like it and send your feedback!
>>>>>> Documentation proof reading for English is welcome!
>>>>>>
>>>>>>
>>>>>>
>>>>>> --Mohammad
>>>>>>
>>>>>>
>>>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1a17dbc6-86ad-46c8-87cc-2f4e94847147n%40googlegroups.com.

Reply via email to