David,

I urge where possible solutions not to grow in complexity but new modular 
additions be developed to add the features. Basically generalise/abstract 
and modularise every solution as much as possible.

I attach two buttons I developed for the view template to copy the title to 
the clipboard and the text of the tiddler to the clipboard. I use them in 
my code repository/ resources wikis.

Like most buttons you can also reference it in a list of body of a tiddler, 
or via a view template by transcluding it;

{{||$:/PSaT/button/copy-title}}

When we generalise solutions they can be used independently and in more 
places that within a packaged solution.

Not too many know the trick that any list with currentTiddler can 
transclude buttons that operate on the listed tiddler, this example lists 
tags with a copy to clipboard and tagpil. 

[image: Snag_979727d.png]

For example its simple to prefix a list of tiddlers with icons that will 
operate on the list item
eg 
[image: Snag_97dc889.png] <about:invalid#zClosurez>




Regards
TW Tones




On Wednesday, June 24, 2020 at 8:08:35 AM UTC+10, David Gifford wrote:
>
> Here is an idea for a feature, as if you didn't have enough to think about!
>
> On the menu, you could have an option to copy the title of the tiddler to 
> the clipboard. That way you can paste it elsewhere and transcludify it.
>
> You have an option for clicking shift and dragging it, to copy it, but 
> that wasn't working for me, and also it requires having both tiddlers open 
> beforehand. By copying it to clipboard, you can add it to as many tiddlers 
> as you want, by opening them and pasting. Just a thought.
>
> On Wednesday, May 20, 2020 at 4:44:31 PM UTC-5 [email protected] wrote:
>
>> Edited (09/06/2020)
>> This is in active development. Back up your wiki regularly.
>>
>> Demo:
>> https://saqimtiaz.github.io/sq-tw/streams.html
>>
>> *Code:*
>> https://github.com/saqimtiaz/streams
>>
>> ---
>>
>> When I'm under the weather I tend to prototype. Spent some time reworking 
>> code from my eternally in progress task manager in an attempt to make it 
>> more general purpose, as a bullet list note taking tool that may be of 
>> utility to others. 
>>
>>
>> https://drive.google.com/file/d/1SB06s13tj8P3cC2UewnfzXf08UQ7jwYK/view?usp=drivesdk
>>
>>
>> https://drive.google.com/file/d/1SLESm6OIfHsScwYePGOs5ce3o3wpQ0CO/view?usp=drivesdk
>>
>> - everything except the dragging is keyboard driven
>> - each bullet is a separate tiddler. Lots of different pros and cons to 
>> this approach, but was ideal for a task manager.
>> - this is all in wikitext, no extra JS.
>>
>>  Will post the file in the near future, a bit more clean up needed. Don't 
>> expect a final product, but rather a pattern to follow that would hopefully 
>> help anyone wanting to implement similar workflow. 
>>
>> Cheers,
>> Saq
>>
>>
>>
>>

-- 
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/2361e3c5-72a4-48af-abb1-47d162c0caf9o%40googlegroups.com.

Attachment: Copy-text-title-buttons.json
Description: application/json

Reply via email to