Re: [twdev] Re: First TW plugin!

2020-04-28 Thread Xavier Cazin
Hi Nicolas,

Wonderful, plugin definitely adopted ! 

Thank you for sharing,
Xavier.

On Tuesday, April 28, 2020 at 1:40:09 PM UTC+2, Nicolas Petton wrote:
>
> Xavier Cazin > writes: 
>
> > May I suggest one little improvement: in the Projects tab, it would be 
> > great if the projects were surrounded by a 
> > https://tiddlywiki.com/#DroppableWidget to easily transfer todos from 
> the 
> > Inbox to any existing project. 
>
> Done :) 
>
> Cheers, 
> Nico 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/c0e02c00-c738-4ffe-b71d-1a88d4e8570f%40googlegroups.com.


[twdev] Re: First TW plugin!

2020-04-28 Thread Xavier Cazin
Hi Nicolas,

A very elegant and useful TW5 app, thank you ! 

May I suggest one little improvement: in the Projects tab, it would be 
great if the projects were surrounded by a 
https://tiddlywiki.com/#DroppableWidget to easily transfer todos from the 
Inbox to any existing project.

Santé !
Xavier.

On Monday, April 27, 2020 at 10:57:36 PM UTC+2, Nicolas Petton wrote:
>
> Hi all, 
>
> I've just finished my first TW plugin: 
> https://nicolas.petton.fr/tw/project-manager.html 
>
> I'm completely new to TiddlyWiki, and I did this as an experiment to see 
> how good TiddlyWiki could be as a web application platform. 
>
> It turns out to be absolutely great, I don't think I've ever built a toy 
> web app that's fully working this quickly. The power of having free 
> persistence in the form of Tiddlers, combined with a DSL for querying 
> (filters), and using tiddlers as components makes app development an 
> absolute breeze. Not to mention that all building blocks I needed where 
> already builtin. 
>
> Bottom line is, TiddlyWiki is mind blowing in many ways! 
>
> Cheers, 
> Nico 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/13784d29-5db9-41f4-8824-788cae35107b%40googlegroups.com.


Re: [twdev] Re: [TW5] Unexpected effect of $:/tags/Macro on the story river

2020-02-11 Thread Xavier Cazin
Hi Mat,

On Mon, Feb 10, 2020 at 10:23 PM Mat  wrote:

> It sounds like a bug but meanwhile you can perhaps add a *naviation* in
> the save tiddler button, i.e $:/core/ui/Buttons/save or to the macro that
> tiddler calls, i.e the save-tiddler-actions macro which is found in
> $:/core/ui/EditTemplate . Maybe surround it with a condition that current
> is tagged with $:/tags/Macro.
>

Thank you for the suggestion, that would be a good exercise to master
navigation inside the story! Having now seen Eric's answer, I'm inclined to
rather try loading macros explicitly with <$importvariables>, in order to
keep compatibility with as many releases as possible.

Cheers,
--Xavier.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CADeSwYN_ukvuePOVT0rkoWN8tu6Jcs0-9tj2tevdPTNn275PAg%40mail.gmail.com.


Re: [twdev] Re: [TW5] Unexpected effect of $:/tags/Macro on the story river

2020-02-11 Thread Xavier Cazin
Hi Eric,

On Mon, Feb 10, 2020 at 11:13 PM Eric Shulman  wrote:

> On Monday, February 10, 2020 at 10:47:49 AM UTC-8, Xavier Cazin wrote:
>>
>> tag a tiddler in the middle of the story with $:/tags/Macro, open it,
>> then save it. It will lead you above the story.
>>
>
> I suspect that it has to do with the way that global macros are loaded by
> the $:/core/ui/PageTemplate, which does the following:
> \import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro
> ]!has[draft.of]]
>
> This line causes an automatic refresh of the PageTemplate whenever a
> tiddler tagged with $:/tags/Macro is changed.
>

This is it! When I remove my plugin namespace from this filter, the issue
disappears :-)

Thank you Eric, you saved me some hair. I'll use <$importvariables> to load
my macros explicitly and I'll fill a ticket on GitHub.

--Xavier.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CADeSwYPmWbNKvcaFK4Apw5K%2Bx2j8Xbwk51FOYwpFKXRiewcQ2w%40mail.gmail.com.


[twdev] [TW5] Unexpected effect of $:/tags/Macro on the story river

2020-02-10 Thread Xavier Cazin
Hi everyone,

Did you know that when you edit and save a tiddler in the story river, the
focus remains more or less on that tiddler, *unless* that tiddler bears the
tag $:/tags/Macro ?! You can reproduce this behaviour on http://
tiddlywiki.com with any browser : tag a tiddler in the middle of the story
with $:/tags/Macro, open it, then save it. It will lead you above the
story.

I tried with different themes and different browsers, to the same result.

I didn't find any mention of this issue in the google groups, so I'm
wondering whether a well-known workaround exists or maybe global macros
aren't much used among developers? Now that I seriously envision to develop
a plugin for public release, this issue has become a bit annoying :-)

When I tried to figure the release where it appeared first, I found that
there is a conflict between the $:/tags/Macro tag and the story river since
when global macros where introduced (5.0.13-beta), but in Firefox only,
where it was more like a flickering.

If you think it's not easy to fix, any lead on a workaround would much
appreciated!

Thanks in advance,
-- Xavier Cazin

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CADeSwYOUHW9%2BJVDT5p5w7rTh2SoKQ0bRFj%2B8GsRL6qu%2BASXrrQ%40mail.gmail.com.