Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Mohammad Rahmani
Thank you! Added to TW-Scripts On Friday, February 15, 2019 at 10:32:28 AM UTC+3:30, stefano franchi wrote: > > > > On Fri, Feb 15, 2019 at 12:04 AM Mohammad Rahmani > wrote: > >> Stefano, >> Could you please bruch up the procedure based on the received comments. >> I would like to add it to

Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread stefano franchi
On Fri, Feb 15, 2019 at 12:04 AM Mohammad Rahmani < mohammad.rahm...@gmail.com> wrote: > Stefano, > Could you please bruch up the procedure based on the received comments. I > would like to add it to TW-Scripts. > > Well, there isn't much to write up. As always the solution is simple once it's

Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Mohammad Rahmani
Stefano, Could you please bruch up the procedure based on the received comments. I would like to add it to TW-Scripts. Cheers Mohammad On Friday, February 15, 2019 at 1:42:32 AM UTC+3:30, stefano franchi wrote: > > > > On Thu, Feb 14, 2019 at 2:49 PM Matthew Lauber > wrote: > >> That should

Re: [twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread stefano franchi
On Thu, Feb 14, 2019 at 2:49 PM Matthew Lauber wrote: > That should be correct. Keep in mind, in the list field, the file will be > named "readme" but the shadow tiddler needs to be named > "$:/plugins/yourName/yourPlugin/readme" > > My bad. I was using an overly complicated naming scheme and

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Matthew Lauber
That should be correct. Keep in mind, in the list field, the file will be named "readme" but the shadow tiddler needs to be named "$:/plugins/yourName/yourPlugin/readme" Matt On Thursday, February 14, 2019 at 2:01:08 PM UTC-5, stefano franchi wrote: > > > > On Wed, Feb 13, 2019 at 11:30 PM

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread stefano franchi
On Wed, Feb 13, 2019 at 11:30 PM stefano franchi wrote: > Never mind again, got it from the Railroad plugin: > > 1. Create the panels the make up the various tabs of the plugin page >> > > In the plugin.info file, add a "list" field with the names of the > panels, then create corresponding

Re: [twdev] General usefulness of the parser rule: syslink ?

2019-02-14 Thread S. S.
Actually, to be more precise: *My opinion is that visitors to tiddlywiki.com should not encounter meaningless links to non-existent tiddlers.* There are a few legitimate cases of missing links such as the one at the bottom of [[HistoryMechanism ]]

Re: [twdev] Re: How to get the size of an upcoming widget in a plugin declaration?

2019-02-14 Thread stefano franchi
On Thu, Feb 14, 2019 at 5:35 AM Simon Huber wrote: > >> >> On Wed, Feb 13, 2019 at 5:06 PM Simon Huber >> wrote: >> >>> this is some basic information which I gathered by searching, reading > and trying ... > not everything must be necessarily correct, anyone, just correct me where >

[twdev] Re: How to get the size of an upcoming widget in a plugin declaration?

2019-02-14 Thread PMario
Hi Stefano, The dynaview widget may give you some hints. see: https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/dynaview/dynaview.js -m -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread PMario
Hi Stefano, New tabs in the ControlPanel can be created, if you add the tag: $:/tags/ControlPanel to your tiddler. Be sure you also add a caption, otherwise the title would be shown in the tab!!! have fun! mario -- You received this message because you are

[twdev] Re: How to build a settings panel for a plugin

2019-02-14 Thread Simon Huber
Hi Stefano, I can provide you some information: * a widget is based on $:/core/modules/widgets/widget.js ... all the methods defined there are also accessible in your widget (and work with values based on your widget, like the refreshSelf method, that works with your parentDomNode defined on