[twdev] muuri.js - integrating a javascript library - help!

2017-12-05 Thread Simon Huber
Hello tw devs, I'm using Tiddlywiki for a while now and I've found this cool library muuri.js that I'd like to integrate in a wiki. My Javascript skills are very poor right now, but I'm a good copy so I got something working here:

[twdev] Re: Anki like SRS in tiddlywiki

2018-04-27 Thread Simon Huber
Hi Ondrej, take a look at this thread in the tiddlywiki group there's something like anki, it's a work in progress, not finished. I've offered my help there to improve it, maybe we can

[twdev] is there a way to make storyviews work in new windows?

2018-06-17 Thread Simon Huber
The problem: I open a new window from within a wiki with its own navigator and story-list I can display and open tiddlers, but navigation and animations don't work I suspect that something isn't able to talk to the root window here, the $tw.rootWidget doesn't get "tm-scroll" events from this

[twdev] Should TiddlyWiki consider moving to GitLab?

2018-06-04 Thread Simon Huber
Hi, with the rumors or facts about MS buying GitHub I've seen projects discussing moving over to GitLab Because TiddlyWiki5 already wants to move to another repo, I'd like to ask if GitLab is something that could be considered, too? BTC -- You received this message because you are

[twdev] Re: Should TiddlyWiki consider moving to GitLab?

2018-06-04 Thread Simon Huber
> > > On Monday, June 4, 2018 at 8:50:56 AM UTC+2, Simon Huber wrote: >> >> Hi, with the rumors or facts about MS buying GitHub I've seen projects >> discussing moving over to GitLab >> > > ... Let's wait and see, when they make something official. ..

[twdev] Re: Lists of numbers in core tiddlers

2018-01-11 Thread Simon Huber
Hello @PMario, Am Donnerstag, 11. Januar 2018 13:13:33 UTC+1 schrieb PMario: > > Hi Simon, > > I think that's a very specific usecase and therefor plugin territory. ... > Can you describe your usage of this list a bit closer. ... So we may be > able, to dynamically create "virtual" lists, that

[twdev] Re: Lists of numbers in core tiddlers

2018-01-11 Thread Simon Huber
@PMario, Am Donnerstag, 11. Januar 2018 14:26:11 UTC+1 schrieb PMario: > > On Thursday, January 11, 2018 at 1:38:33 PM UTC+1, Simon Huber wrote: >> >> negative and floating numbers with a certain limitation in accuracy would >> also be great >> > >

[twdev] Re: Lists of numbers in core tiddlers

2018-01-11 Thread Simon Huber
negative and floating numbers with a certain limitation in accuracy would also be great -- 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

[twdev] [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-15 Thread Simon Huber
Hello Developers, could TiddlyWiki apply a class like "*tc-fullscreen*" to the node when the browser is in fullscreen with F11 or TW's fullscreen button? that would increase the number of possibilities for addressing elements with css I've seen how the tc-dirty class gets toggled in

[twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
In the saver-handler.js I just added if( window.innerHeight == screen.height) { // browser is fullscreen $tw.utils.toggleClass(document.body,"tc-fullscreen",true); } and it does what I expect from this, it adds the class to the body if fullscreen. could this be implemented correctly in

Re: [twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
> > and it does what I expect from this, it adds the class to the body if > fullscreen. > > could this be implemented correctly in the core? > > > A change along those lines wouldn’t cover the situation where the user > uses a browser control like the F11 key to enter full screen mode. > it's

Re: [twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
thank you, Jeremy! I'm going to give it a try, when I find a solution I'll make the pull request all the best, Simon Am Dienstag, 16. Januar 2018 09:32:29 UTC+1 schrieb Jeremy Ruston: > > Hi Simon > > and it does what I expect from this, it adds the class to the body if > fullscreen. > >

[twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
sure, it's just testing! > If that's you just testing, that's fine. Otherwise you (the middle man) > are stealing a click from me (user) targeting YT itself -- in my view, > naughty ;) > > On Tuesday, January 16, 2018 at 9:42:01 AM UTC-6, Simon Huber wrote: >> >

[twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
@Jeremy, I don't want to bother you too much with this, I've just put something together that works here: http://tw5fullscreen.tiddlyspot.com it prevents the F11 key's default event so that we're able to detect the key again when in fullscreen mode, then requests fullscreen and toggles the

[twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
:05 AM UTC-6, coda coder wrote: >> >> No, sorry. Same as before. >> >> On Tuesday, January 16, 2018 at 8:09:11 AM UTC-6, Simon Huber wrote: >>> >>> thanks @coda coder, >>> >>> that's bad news, I really want this :D >>> >>>

[twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
> > Ah but... trying to go fullscreen on the yt video fails -- the video > disappears. > > that's what it should do, as in the stylesheet there's .tw5-burning-tree .tc-tiddler-frame iframe { display: none; } ... to see if it happens with yt fullscreen, too -- You received this message

[twdev] Re: page background goes to nirwana with fullscreen button

2018-01-22 Thread Simon Huber
Am Dienstag, 23. Januar 2018 07:02:32 UTC+1 schrieb Simon Huber: > > Hello, what is the reason that the pagebackground gets unset with the > fullscreen button? > > BurningTreeC > edit: I got it, it's the tc-body background color that hides background attachments I made a pr

[twdev] page background goes to nirwana with fullscreen button

2018-01-22 Thread Simon Huber
Hello, what is the reason that the pagebackground gets unset with the fullscreen button? BurningTreeC -- 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

[twdev] TiddlyDesktop top unused MenuBar

2018-01-26 Thread Simon Huber
Hello devs, I've figured out that by commenting out line nr. 66 "this.window_nwjs.menu = $tw.desktop.utils.menu.createMenuBar();" in "wiki-file-window.js" hides the grey top menubar in TiddlyDesktop This bar isn't used by anything and takes away some valuable space on smaller screens Is this

Re: [twdev] [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
thanks Jeremy, maybe one day :P best wishes, Simon -- 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 post to

[twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
ot; regardless of the actual state. Also, your class is never > applied to the body element of "tc-body tc-single-tiddler-window" windows. > > Win 7, Firefox 57.0.3 > > Codacoder > > > On Tuesday, January 16, 2018 at 7:26:07 AM UTC-6, Simon Huber wrote: >&g

[twdev] Re: [TW5][REQUEST] window fullscreen - applying CLASS on

2018-01-16 Thread Simon Huber
now i tried it on firefox, too. there it behaves as you report @coda coder works for me on chromium -- 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

[twdev] Re: Lists of numbers in core tiddlers

2018-01-11 Thread Simon Huber
Hey Evan, oh man, it's really worth looking a bit deeper into what you made there - this is perfect, thank you for pointing this out! Am Donnerstag, 11. Januar 2018 18:21:09 UTC+1 schrieb Evan Balster: > > Hey, Simon — > > See my range operator: >

[twdev] [TiddlyDesktop] in linux app stores

2018-02-11 Thread Simon Huber
Hello @devs, @Jermolene, I don't know if there's already been discussion about providing easier access to TiddlyDesktop through app stores I've recently tried a very popular linux distribution called elementary os (which is ubuntu-based), https://elementary.io - It has an app-store that allows

Re: [twdev] [TiddlyDesktop] launching nwjs with some flags

2018-02-11 Thread Simon Huber
Hi Jeremy, thank you, that's great! I don't now either if the restart button is safe, I didn't think about it and already clicked it more times, until now nothing strange happened I'll report if something bad comes up that could be related. Simon -- You received this message because you are

[twdev] Re: Controlling plugin order

2018-02-11 Thread Simon Huber
Hello Matthew, this could be because TW loads the stylesheet before the vanilla base stylesheet, so that the latter overrides your styles. I had that problem, too For me it worked adding the field "list-after" with this content: $:/themes/tiddlywiki/vanilla/base Simon Am Montag, 12. Februar

[twdev] Re: [TiddlyDesktop] in linux app stores

2018-02-11 Thread Simon Huber
sort of a fail here: the app must be a native gtk3 app -- 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 post to

[twdev] [TiddlyDesktop] launching nwjs with some flags

2018-02-09 Thread Simon Huber
Hello there, I've set some chromium flags in TiddlyDesktop and some of them could be interesting to set by default. There's a flag to show scrollbars as more narrow overlays so that they don't resize the content if it overflows I've also set some flags to enable hardware acceleration where it

[twdev] Re: [TiddlyDesktop] launching nwjs with some flags

2018-02-09 Thread Simon Huber
HERE 's a link to the chromium project with a how-to about running it with flags I've added my flags to the package.json in the source folder after cloning the TD repo. After that I built TD and the flags were enabled.

[twdev] [TW plugin library] - a gesture library in the TW plugin library?

2018-02-16 Thread Simon Huber
Hello TW devs & maintainers, I'm using the hammer.js library a lot for different widgets or plugins. It provides/handles gestures like swipe, pan, tap, press, rotate and pinch If one wants to use them, it requires to get the hammer.js library from one of my widgets/plugins But that's very

[twdev] add viewport macro to core?

2018-02-16 Thread Simon Huber
Hello, I'd like to propose adding a macro to the TW core functionality that returns the viewport dimensions The use-cases can be many - there's no such thing in the core right now, I'd be happy if you can proof me wrong I already use this small set of code: (function(){ /*jslint node: true,

[twdev] Re: [TW plugin library] - a gesture library in the TW plugin library?

2018-02-16 Thread Simon Huber
Hi Mario, > > If you have a closer look, how jszip is implemented, you should be able to > use the same mechanism. > yes, I use it the same 'require("...hammer.js");' way > > TiddlyWiki uses the "commonjs" modul loader convention. The hammer.js checks > for this mechanims >

[twdev] Re: add viewport macro to core?

2018-02-16 Thread Simon Huber
Am Freitag, 16. Februar 2018 11:29:38 UTC+1 schrieb PMario: > > Hi, > > On Friday, February 16, 2018 at 10:21:26 AM UTC+1, Simon Huber wrote: >> >> I'd like to propose adding a macro to the TW core functionality that >> returns the viewport dimensions >> The

Re: [twdev] Re: add viewport macro to core?

2018-02-16 Thread Simon Huber
Thank you Jeremy, > I think the way to do this is as a startup module that listens for > viewport size changes and then updates a couple of state tiddlers with the > values. The changes to those tiddlers would then trigger any necessary > rerendering via the refresh process. > > The new

[twdev] Re: add viewport macro to core?

2018-02-20 Thread Simon Huber
Hi Riz, IMHO, shouldn't we add them as a part of existing $:/Info tiddlers? That is > where it is expected, right? If we do that, third party themes which > radically changes outlook by differing Pagetemplates can make use of it. > Please consider if not too late already. > > I used $:/state

Re: [twdev] [TW5] enable cancelling popups in tc-single-tiddler-window

2018-02-21 Thread Simon Huber
thanks a lot Andreas, I've now been trying .../startup/windows.js , which handles the tm-open-window message couldn't I also try to register it from within there, when the window gets opened? I'll take a look at your tips, the second seems more appropriate to me, changing that much like in

[twdev] Re: add viewport macro to core?

2018-02-21 Thread Simon Huber
> > > > I do not mind that either - as long as I do not have to install a plugin > just to get access to this piece of info. As in, I recommend this to core - > instead of a plugin. > That was my initial idea, too Now I'm just happy to have it somewhere, but I also think it would be better

Re: [twdev] [TW5] enable cancelling popups in tc-single-tiddler-window

2018-02-21 Thread Simon Huber
Hi Jeremy, hi Andreas, I'm sorry that I cannot dig into this myself, I'm not understanding the mechanism wel enough right now. But I'll keep investigating so maybe at one point I can contribute. If we think about solving this, maybe we should also think about tm-modal and tm-notify not

[twdev] [TW5 on TD] framedengine bug?

2018-02-22 Thread Simon Huber
Hi, I'm not sure if this is a bug of if I'm overdoing it - this behaviour only appears in TiddlyDesktop: If I open an external window from within TiddlyDesktop where I can create new Tiddlers and edit them because there's a story-river to do so... everything works fine unless I close the window

[twdev] Re: add viewport macro to core?

2018-02-19 Thread Simon Huber
> > > >> Could you name some? >> >> >> > Loading separate page-templates for mobile platform would be a start. > yes, great Idea! The dynaview plugin now adds an option to save viewport dimensions dynamically :) ! Simon -- You received this message because you are subscribed to the Google

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
hm... how do you do that with local files? -- 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 post to this group,

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
great @coda coder, any ideas how to take this further to edit tiddlers? I think this should just integrate any editor toolbar and then we should try to make it edit tiddlers. How can we take this short sentence to reality? Simon -- You received this message because you are subscribed to the

[twdev] [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
Hi all, I've recently stumbled upon this firefox-panel for quick notes, called "NOTES" This is the github repo: https://github.com/mozilla/notes ... it uses the popular WYSIWYG quill editor https://github.com/quilljs/quill This panel is the same as the "notes" FireFox Test-Pilot experiment:

Re: [twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
> np. And again, a regular textfile bookmarklet is generally better (for the > OP solution). File/SaveAs is good enough (sans images). And it doesn't > *need* to be in the sidebar, either... create two, one of each. > > my intention was not having something just good enough, I was thinking

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
@Coda, the nodejs part works, but it doesn't work with local files Am Montag, 19. Februar 2018 16:35:24 UTC+1 schrieb coda coder: > > > > On Monday, February 19, 2018 at 9:19:06 AM UTC-6, Simon Huber wrote: >> >> hm... how do you do that with local files? >> >&

Re: [twdev] Re: [TW plugin library] - a gesture library in the TW plugin library?

2018-02-16 Thread Simon Huber
Hi Jeremy, I made a PR here: https://github.com/Jermolene/TiddlyWiki5/pull/3125, hoping that I did it right Simon -- 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

Re: [twdev] Re: add viewport macro to core?

2018-02-16 Thread Simon Huber
Thanks Jeremy, I've made a pull request here: https://github.com/Jermolene/TiddlyWiki5/pull/3126 best wishes, Simon -- 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

Re: [twdev] [TW5] enable cancelling popups in tc-single-tiddler-window

2018-02-23 Thread Simon Huber
> > Especially the tm-modal message: if I want to delete a tiddler in a new > window, the modal to confirm the action appears in the root window, > tm-notify acts the same way. > Sorry, I meant the alerts for cancelling or deleting tiddlers Now I figured out how to register the new window at

Re: [twdev] [TW5] enable cancelling popups in tc-single-tiddler-window

2018-02-21 Thread Simon Huber
Hi, Andreas I tried hacking a bit in popup.js to see if I can register it to something different but my js knowledge is limited, I don't know what to use. Right now it does this.rootElement = options.rootElement || document.documentElement; on top of popup.js I think this must be where it can

[twdev] [TW5] enable cancelling popups in tc-single-tiddler-window

2018-02-21 Thread Simon Huber
Hi all, Is there a way to cancel popups or dropdowns created in a single-tiddler window by clicking in that window, not in the root window? As you can see here right now tw doesn't handle that: http://rocketdock.tiddlyspot.com you can click the rocket to open a new window and try the search

Re: [twdev] [TW5] enable cancelling popups in tc-single-tiddler-window

2018-02-21 Thread Simon Huber
No - I'm not having success. Here I depend on help from above -- 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

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
them from throttling background tabs I'll make some detective work Am Montag, 19. Februar 2018 19:02:52 UTC+1 schrieb coda coder: > > > > On Monday, February 19, 2018 at 11:34:42 AM UTC-6, Simon Huber wrote: >> >> Another issue is that its operation slows down a lot when one

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
for chromium (and chrome) I found something that works: https://www.askvg.com/how-to-enable-disable-background-tabs-throttling-feature-in-google-chrome-and-opera-web-browsers/ -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
*The settings that appear to make it work faster when tab is in background, for chrome/chromium and firefox:firefox (58) (goto about:config [do it at your own risk])* dom.min_background_timeout_value ... change from 1000 to something low (I tried 50)

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
This would be a way I think: http://rocketdock.tiddlyspot.com/ It's a stripped-down view you can open in a new window, add tiddlers, edit them, there's also a dropzone to drag stuff into. I'm not happy that the address bar shows up on top - I think I could make some pull requests for the

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
Another issue is that its operation slows down a lot when one changes browser tab to other pages (and that's what this should be good for) does anybody know a why and a how for that? all the best, Simon -- You received this message because you are subscribed to the Google Groups

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
I have to correct: works on TiddlyDesktop , too I don't get those js errors anymore, don't know why I got them before... they may come back though... -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
> > Kudos. Nice bit of tech-sloothing, Simon. > > > Thanks :) I guess something like this then could wrap it in a sidebar? https://gist.github.com/Noitidart/8728393 -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this

[twdev] Re: [Idea?]Browser sidebar panel for TW notes

2018-02-19 Thread Simon Huber
> Looks interesting. How is that meant to be used? > I don't know ¯\_(ツ)_/¯ I'll have to explore it deeper -- 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

[twdev] [TW5] Bitmap-Editor Cursor: dot

2018-03-12 Thread Simon Huber
Hi all, I'd like to ask if the current bitmap-editor cursor (the crosshair) shouldn't better be replaced by a dot like in regular drawing apps I tried setting this in vanilla/base ... canvas.tc-edit-bitmapeditor ... cursor: url(<>), auto; ... this works fine and feels much better - I'm

Re: [twdev] [TW5] Bitmap-Editor Cursor: dot

2018-03-14 Thread Simon Huber
Hi Jeremy, Hi Simon > > I tried setting this in vanilla/base ... canvas.tc-edit-bitmapeditor > > ... > cursor: url(<>), auto; > … > > > I like the idea, but I’ve found that custom mouse pointers can look poor > quality and grainy on some browsers. Another possibility might be to hide > the

[twdev] adding Hammer Widgets to hammerjs plugin?

2018-04-14 Thread Simon Huber
Hi devs, I've made a set of widgets that uses the hammer.js plugin to enable actions on swipe, pan, press, tap and pinch I'd like to ask if there's interest to have them included in the hammerjs plugin.. I won't have that much time to maintain them, and moving them over to the repo would

[twdev] Re: adding Hammer Widgets to hammerjs plugin?

2018-04-14 Thread Simon Huber
The link to the widgets demo page: http://hammerwidgets.tiddlyspot.com -- 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

[twdev] [TW5] problems decoding audio/ogg

2018-03-19 Thread Simon Huber
Hello TW devs! I'm facing an issue trying to play audio/ogg sounds within TW I'd like to figure out if I'm doing something wrong or if it is because the mimetype is not defined/available/known in tw Console says this: Media resource data:audio/ogg;codecs="opus";base64,

[twdev] Re: [TW5] problems decoding audio/ogg

2018-03-19 Thread Simon Huber
Update: I had tried this on FireFox only... on Chromium it works I think I need to look for firefox bugs -- 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

[twdev] [TW5] tabindexes for tiddler tab-navigation

2018-03-17 Thread Simon Huber
Hi @all, I'm trying to add tabindexes as attributes to the tiddler title input, the tag input and the text input areas The title field should have tabindex 1 The tag field 2 The text field 3 The index of the current Tiddler in the storyriver should then be added to the applied tabindex so

[twdev] Re: Serving external resources from TW5 node server

2018-03-03 Thread Simon Huber
Hi Joe, I cannot give you an immediate solution, but there's this project called TW5-MultiUser on github I think it's interesting to watch, I haven't tried it yet It states that it's able to live-reload when something changes in the wiki folder Maybe

[twdev] Re: Understanding TW code

2018-03-04 Thread Simon Huber
> > > And a followup question.- I searched for semantics evaluation etc. but no > hits. > > Is there a description of how a tiddler gets turned into HTML? > > If I were to implement this I'd be thinking > > tokenize -> parse -> transform -> render > > After parsing I'd get an abstract syntax

[twdev] Re: Manually adding tiddlers in TW5 - why are they not detected?

2018-03-02 Thread Simon Huber
> I'm using the node server version of TW5 > > > As an experiment I thought I could just drop new .tid files into the > tiddlers sub-directory but the system does not seem to find these files. > > > 1) I made a tiddler called Hello > > > This gets saved in the tiddlers directory in a file

[twdev] Re: Manually adding tiddlers in TW5 - why are they not detected?

2018-03-02 Thread Simon Huber
oh, sorry! I didn't read you're post well enough -- 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 post to this

[twdev] Re: Manually adding tiddlers in TW5 - why are they not detected?

2018-03-02 Thread Simon Huber
my last guess: the node process should be restarted I like using pm2 for that (npm -g install pm2 or how you do it on your machine) pm2 gracefulReload yourprocess is very handy -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe

[twdev] Re: Problem with TW5.1.19 and Tinka plugin

2019-01-05 Thread Simon Huber
> Hi Simon, > > I am not a coder, so the error doesn't ring a bell for me. > > Thanks for investigating. > > Does Tinka create a Modal dialog somewhere? I believe the problem is a minor issue related with modals or something with going fullscreen, but nothing that should cause problems for

[twdev] Re: Problem with TW5.1.19 and Tinka plugin

2019-01-05 Thread Simon Huber
> Hi all, > > *Update* > Repeating what I did yesterday (and better documenting it!), showed one > mistake I made yesterday: there was an undefined tiddler in the list to be > packed which gave the Javascript error: "TypeError: tiddler is undefined" > > *Today* > TW5.1.19 > With the corrected

[twdev] Re: Where is the source code that implements the "tm-new-tiddler" message?

2019-01-14 Thread Simon Huber
Hi all, how I understand it: messages have two types of parameters, those that start with a "$" sign and those without I prefer sending a message through the action-sendmessage widget instead of using the button-widget's message and param attributes for that, because it allows me to

[twdev] Re: Scope of macros

2018-12-17 Thread Simon Huber
Hi, the macros tagged $:/tags/Macro are imported in the page-template tiddler ($:/core/ui/PageTemplate) which makes them available within the story river and the sidebar and all sub-transcluded tiddlers... PageTemplate import all $:/tags/Macros set some stuff transclude all

[twdev] Re: What are 5 most important widgets to learn?

2018-12-20 Thread Simon Huber
opinionated: 1 - LIST widget 2 - TRANSCLUDE widget 3 - SET widget 4 - REVEAL widget && BUTTON widget 5 - ACTION-SENDMESSAGE widget (with all its messages [ search tiddlywiki.com for "tm-..." ]) -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev"

[twdev] Re: Rethinking Popups

2018-11-28 Thread Simon Huber
Hi Rob, this is a much needed discussion, thanks for posting! I think we should try something based on your ideas here, they all sound reasonable to me The action-popup widget is something I would love to see The popup mechanism should also somehow allow access to the tiddler the popup is

[twdev] Re: [TW-5 Plugin] New Plugin - TW5-JsonManglerPlugin!

2018-12-03 Thread Simon Huber
Hi Joshua, this is pretty cool 8-) ! When trying some examples I noticed that the action-listops example adds "null" to the json when - I think - it should be just "" (empty) ... then, when you populate the index again, "null" results as an additional item -- You received this message

[twdev] Re: KeeBoord plugin and the Keyboard Shortcuts in TW 5.1.18

2018-11-25 Thread Simon Huber
Hi Mohammad, thanks for bringing this up! In fact, the most important feature of the KeeBoord plugin has now been introduced to the TiddlyWiki core and will be part of 5.1.18 I've been busy trying to get as many sensible features as possible to the new tiddlywiki release and to fix as many

[twdev] Re: a video widget that plays videos without interruption

2019-02-24 Thread Simon Huber
Hi again, I've created a much better working Demo: http://videoplayerwidget.tiddlyspot.com Its code is clean(er) :) ... it uses PR #3798 , the part that adds resizeListeners only + there's no complicated widget-id anymore have a nice weekend, Simon -- You received this message because you

[twdev] rudimentary find-on-page support for TD

2019-02-25 Thread Simon Huber
Hi there, I've created this little demo here: http://find-on-page-test.tiddlyspot.com/ It allows to find words on the page using a very simple action-widget it uses window.find() which isn't supported by all browsers but it works in TiddlyDesktop ctrl-f opens a search panel, ctrl-g /

[twdev] Re: rudimentary find-on-page support for TD

2019-02-26 Thread Simon Huber
^^ Firefox even tells you the number found. > > Regards > Tony > > On Tuesday, 26 February 2019 12:03:21 UTC+11, Simon Huber wrote: >> >> >> >> Hi there, >> >> I've created this little demo here: >> http://find-on-page-test.tiddlys

[twdev] Re: rudimentary find-on-page support for TD

2019-02-27 Thread Simon Huber
> > Simon Huber wrote: >> >> I've created this little demo here: >> http://find-on-page-test.tiddlyspot.com/ >> >> It allows to find words on the page using a very simple action-widget >> >> what I've noticed is that matches on ta

[twdev] Re: a video widget that plays videos without interruption

2019-02-27 Thread Simon Huber
> > Simon, > > Perhaps off topic but I wonder if we could timestamp points in time on a > video and trigger a responce in tiddlywiki at that time? Perhaps in > reverse, search tiddlers that then jump to a point in time in a video. > > I have some compelling applications if this were possible. >

[twdev] Re: rudimentary find-on-page support for TD

2019-02-27 Thread Simon Huber
> > Simon, > > Jeremy is the author of tiddlydesktop. It uses a cutdown browser to > opperate, I know he was reluctant to add more and more such that it would > become a browser but you may be able to persuade him to add this if its > practical to do so in a future release. > > Regards > Tony

Re: [twdev] Re: rudimentary find-on-page support for TD

2019-02-28 Thread Simon Huber
I'm making good progress with this, now I can highlight all matches through a surrounding span which gets removed at every new search. A global handler, like the keyboardmanager, does the handling, an action-widget provides access to the search functionality The tiddlyspot page isn't updated,

Re: [twdev] Re: rudimentary find-on-page support for TD

2019-02-27 Thread Simon Huber
> > Best wishes > > Jeremy > > -- > Jeremy Ruston > jer...@jermolene.com > https://jermolene.com > > On 27 Feb 2019, at 16:23, Simon Huber > wrote: > > Simon Huber wrote: >>> >>> I've created this little demo here: >>> htt

Re: [twdev] Re: rudimentary find-on-page support for TD

2019-02-28 Thread Simon Huber
Here's a second link to play around with highlight-all-found-words functionality http://find-on-page-test2.tiddlyspot.com/ -- 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,

Re: [twdev] Re: rudimentary find-on-page support for TD

2019-02-28 Thread Simon Huber
it's pretty slow with many matches ... Here's a second link to play around with highlight-all-found-words > functionality > > http://find-on-page-test2.tiddlyspot.com/ > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from

Re: [twdev] Re: Help with saving a widget's tiddler content from external library code

2019-02-22 Thread Simon Huber
> > > On Fri, Feb 22, 2019 at 2:20 PM Simon Huber > wrote: > >> I am having some trouble understanding how to update the text and other >>> fields of a tiddler my widget editor works on. >>> >>> I am at the point where the editor is hol

Re: [twdev] Re: Help with saving a widget's tiddler content from external library code

2019-02-22 Thread Simon Huber
> > The easiest way of doing all this would be using the way the codemirror engine does it (have a look at tiddlywiki.com/prerelease and look at $:/plugins/tiddlywiki/codemirror/edit-codemirror.js) * clone the edit-codemirror.js tiddler, make it export edit-sftype (for example) * it will be

[twdev] Re: Packaging a Plugin on Node

2019-03-12 Thread Simon Huber
I'll add a short how-to list: - make a plugin-folder anywhere - add a "plugin.info" file in this folder, format and fill it, see an example: https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/codemirror/plugin.info - the plugin.info "list" can contain a

Re: [twdev] a video widget that plays videos without interruption

2019-02-16 Thread Simon Huber
> > Hi Simon > > The interruption of playing videos is definitely an issue and I've thought > along similar lines. I'd be interested to see your hack. > > I like the idea of supporting a playlist of videos that play one after the > other so that we could use TW to assemble fragments of video,

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

2019-02-13 Thread Simon Huber
> > > > On Wed, Feb 13, 2019 at 3:56 PM Simon Huber > wrote: > >> Hi stefano, >> >> from within the render method it should be possible to access the parent >> if I recall correctly, >> >> could you post a bit of code to work with? >&g

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

2019-02-13 Thread Simon Huber
Hi stefano, from within the render method it should be possible to access the parent if I recall correctly, could you post a bit of code to work with? > The library I am adapting for a TW plugin builds a complex SVG structure > inside a div and the basic parameter it uses to compute the

[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

[twdev] a video widget that plays videos without interruption

2019-02-16 Thread Simon Huber
Hi there, the following is the same for audio content (+anything heavily depending on the time-dimension) I often embed videos in my wikies, mostly youtube, music and educational stuff. There's a problem when we want to play a video without interruption... Anytime the tiddler containing the

[twdev] Re: Will state likes tab-1749438307 change in the future?

2019-05-02 Thread Simon Huber
Hello @LinOneTwo, in the tiddlywiki core these state titles are generated by the <> macro or <$qualify/> widget. they use a mechanism that creates a hash string based on the "transclusion variables" found through walking up the widget tree (which is something like an analogue to the html tree,

[twdev] Re: Pre-release failure Today GMT 05:00? 15/07/2019

2019-07-15 Thread Simon Huber
Hi Tony, I've introduced this bug, it's going to be fixed soon, see this PR: https://github.com/Jermolene/TiddlyWiki5/pull/4110 I quick download of the empty.html from tiddlywiki.com using everything > else the same had no problem > > Regards > Tony > > On Monday, July 15, 2019 at 6:28:18 PM

[twdev] Re: How set focus?

2019-07-22 Thread Simon Huber
Hi Mat, look at the Advanced search Keyboard Shortcut in the current prerelease, it uses the tm-focus-selector message by using a [data-tiddler-title="..."] selector, It should work the same way

  1   2   >