[tw5] Re: tiddlywiki with node.js does'work

2021-05-13 Thread Saq Imtiaz
Sounds like you killed the node process running the TiddlyWiki server. When you use TiddlyWiki on node.js, the node process needs to keep running. If you just want to use the single file version you don't need node.js at all. You don't need to build TiddlyWiki you can get an already built file

[tw5] Re: String manipulations on textarea input

2021-05-12 Thread Saq Imtiaz
Try this: <$vars testmonth={{{[{NewEntryData!!text}removeprefix[##]trim[]splitregexp[\n]trim[]first[]splitregexp[]rest[4]first[2]join[]]}}}> <$button> <$action-setfield input-month=<> /> Set to: "<>" On Wednesday, May 12, 2021 at 12:41:23 PM UTC+2 lamn...@gmail.com wrote: > I've made some pro

[tw5] Re: Any Command Palette users know how to change the default filter for search results?

2021-05-12 Thread Saq Imtiaz
This might be what you are looking for: https://github.com/Souk21/TW-commandpalette/blob/master/plugins/souk21/commandpalette/CommandPaletteSearchSteps.json On Wednesday, May 12, 2021 at 8:41:42 AM UTC+2 Saq Imtiaz wrote: > I have no idea about Command Palette, but you may want to use a fil

[tw5] Re: Any Command Palette users know how to change the default filter for search results?

2021-05-11 Thread Saq Imtiaz
I have no idea about Command Palette, but you may want to use a filter like the following for the sidebar search: [!is[system]search:titlesort[title]get-stream-root:matchtitles[]limit[250]] This will allow the individual nodes to be searchable but only show their root tiddlers in the search, as

[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-10 Thread Saq Imtiaz
I recommend looking at the source code for that method, as well as how it is used other places in the core. Either use grep on the command line, or the github search is actually pretty good: https://github.com/Jermolene/TiddlyWiki5/search?q=makeTranscludeWidget If you get stuck and still can't

[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-10 Thread Saq Imtiaz
Make a parse tree including a transclude widget or look at the wiki.makeTranscludeWidget method. On Monday, May 10, 2021 at 2:32:03 PM UTC+2 james.w@gmail.com wrote: > in a tiddler {{fig}} works transcluded into another widget, so i guess i'm > asking : what it the widget way of performing

Re: [tw5] Streams 0.21 is now available - streams 0.212 quirks and workarounds

2021-05-09 Thread Saq Imtiaz
> Thanks all the same; any advice on the use of > baseName=<> > vs baseName=<> ? > I think that is really a personal preference on how you like your titles set up. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw5] Re: A Prototype of UID's for stable permalinks

2021-05-09 Thread Saq Imtiaz
Suggest updating Relink to the latest version if you have not already done so. On Sunday, May 9, 2021 at 9:33:33 AM UTC+2 ludwa6 wrote: > OK Charlie: can't say as i understand much of this, but the fact that > you've been able to replicate that JavaScript error - saving to your local > downloa

Re: [tw5] Streams 0.21 is now available - streams 0.212 quirks and workarounds

2021-05-08 Thread Saq Imtiaz
I've pushed an update to version 0.2.13 which resolves the bug reported by Fred. Interestingly the bug has been present since day one but only surfaces when using the unusedtitle macro to generate titles. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki

Re: [tw5] Streams 0.21 is now available - streams 0.212 quirks and workarounds

2021-05-08 Thread Saq Imtiaz
@fred I haven't been able to reproduce the scenario you describe below. The steps you list result in 3 nodes in total, whereas the screenshot below shows 4. Perhaps that is why? How are you adding the third node? Where does the fourth node come from? > 6) add a 3rd node -> edit mode is acti

[tw5] Re: Stroll - navigating to text field with TAB key

2021-05-06 Thread Saq Imtiaz
6, 2021 at 3:53:18 AM UTC-5 Saq Imtiaz wrote: > >> The tabIndex for the text field editor is not being set. >> The problem might be the custom EditTemplate that Stroll uses. >> >> On Wednesday, May 5, 2021 at 9:39:41 PM UTC+2 girrodocus wrote: >> >>>

Re: [tw5] Re: Drag and Drop and specified deserializer for string data

2021-05-06 Thread Saq Imtiaz
I have made a PR to add a deserializers[] filter operator, to make it easier to see which ones are available: https://github.com/Jermolene/TiddlyWiki5/pull/5673 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and st

Re: [tw5] Re: Ten Ways to Drag and Drop Tiddlers to Tiddlywiki

2021-05-06 Thread Saq Imtiaz
wrote: > Drag and drop images into the editor! like GitHub > WOW this is amazing Saq! > > millions thanks! > > > On Thu, May 6, 2021 at 12:54 PM Saq Imtiaz wrote: > >> >> >> On Wednesday, May 5, 2021 at 7:20:57 PM UTC+2 PMario wrote: >> >>>

[tw5] Re: Stroll - navigating to text field with TAB key

2021-05-06 Thread Saq Imtiaz
The tabIndex for the text field editor is not being set. The problem might be the custom EditTemplate that Stroll uses. On Wednesday, May 5, 2021 at 9:39:41 PM UTC+2 girrodocus wrote: > Thanks a lot for trying David - I'm very grateful. > > -g :) > > On Friday, April 30, 2021 at 10:51:35 PM UT

[tw5] Re: Drag and Drop and specified deserializer for string data

2021-05-06 Thread Saq Imtiaz
Wait wait, Mohammad you wanted this feature but I have to explain it? ;) Until now, if you drag and drop or paste any text into TiddlyWiki, it treats it as plain text and offers to create a tiddler with that content. Now, if a deserializer has been specified for a dropzone

[tw5] Re: "Filter Expression" doc

2021-05-05 Thread Saq Imtiaz
Joshua's reply is the best way to work with docs. However, if you aren't already using node and just want to make a PR for a single tiddler, you can do so via the Github web interface. - Find the tiddler you want to make a PR for at TiddlyWiki.com - From the tiddler toolbar choose the more

Re: [tw5] Streams 0.21 is now available

2021-05-05 Thread Saq Imtiaz
@Si @Saq - Totally unrelated question. Is there a way to save and exit a node > while on mobile? I.e. the equivalent of Ctrl+Enter on a normal keyboard. > Enable the setting called "Exit editing on saving an empty node

Re: [tw5] Streams 0.21 is now available

2021-05-05 Thread Saq Imtiaz
@joshua > I like the idea that Streams would store its relational data NOT on the > parent tiddler, but in some other (system prefixed?). That is worth > exploring. :) > > This is top of my list when I next get a solid chunk of time to work on Streams. -- You received this message because

Re: [tw5] Re: filter question: which tiddler is newer

2021-05-05 Thread Saq Imtiaz
@Mohammad: > Great! So, we can use the new named prefix :sort? > Is it possible to have multiple steps filter like below > > filter1 :filter[step2] :filter[step3] > > Yes multiple filter runs can be combined just as before (with +, ~ etc). Note that the input to each filter run is the output f

[tw5] Re: Change the title of a tiddler from the tiddler itself?

2021-05-04 Thread Saq Imtiaz
True for all fields. A field is changed by creating a new Tiddler with the same fields (including title) and updating the necessary field when creating that new Tiddler. On Wednesday, May 5, 2021 at 6:35:34 AM UTC+2 Mohammad wrote: > On Thursday, April 29, 2021 at 3:47:05 AM UTC+4:30 PMario wr

[tw5] Re: filter question: which tiddler is newer

2021-05-04 Thread Saq Imtiaz
Does this do what you need? Aa Bb +[nsort[modified]limit[1]] Or try something like this in 5.1.24 pre-release: Aa Bb :sort:date[get[modified]] +[limit[1]] See https://tiddlywiki.com/prerelease/#Sort%20Filter%20Run%20Prefix On Wednesday, May 5, 2021 at 7:41:37 AM UTC+2 Mohammad wrote: > Back to

[tw5] Re: "Filter Expression" doc

2021-05-04 Thread Saq Imtiaz
I don't disagree. Contributions to the documentation are very welcome. On Tuesday, May 4, 2021 at 9:46:02 PM UTC+2 jn.pierr...@gmail.com wrote: > right. not very user friendly. could be noted earlier at ~ > > the same for the others. when there is so much to read, being kind on the > reader is n

[tw5] Re: "Filter Expression" doc

2021-05-04 Thread Saq Imtiaz
As the table indicates, :else is equivalent to the ~ filter run prefix which is explained earlier in the same tiddler. On Tuesday, May 4, 2021 at 9:09:23 PM UTC+2 jn.pierr...@gmail.com wrote: > In the "Filter Expression" tiddler the :enter prefix is not listed in the > first part, only given in

[tw5] Re: improving smart resarch for in-situ macros for filter

2021-05-04 Thread Saq Imtiaz
Filter run prefixes have seen a lot of improvements recently, and as such there is definitely room for more documentation. The documentation is a community effort and maintained in the same git repo as the TW source code. Contributions to the documentation as PR are highly welcome. On Tuesday,

[tw5] Re: filter to get tiddlers newer than a given date

2021-05-04 Thread Saq Imtiaz
Try this: [all[tiddlers]] :filter[get[modified]compare:date:gt[2021]] On Tuesday, May 4, 2021 at 9:09:42 AM UTC+2 james.w@gmail.com wrote: > Hey Mark, > > that doesn't seem to work in the advances search filters tab (see > attachment) I assume it won't work with $tw.wiki.filterTiddlers in a

[tw5] Re: Ten Ways to Drag and Drop Tiddlers to Tiddlywiki

2021-05-04 Thread Saq Imtiaz
Speaking of drag and drop, I was expecting to see some dropzone magic with bibtex paste/drop ? :) On Tuesday, May 4, 2021 at 9:53:55 AM UTC+2 Mohammad wrote: > 1. drag and drop a tiddler link > 2. drag and drop a tag pill > 3. drag and drop a $button with dragFilter > 4. drag and drop a $button

[tw5] Re: improving smart resarch for in-situ macros for filter

2021-05-04 Thread Saq Imtiaz
[all[tiddlers]] :filter[get[type]match[application/javascript]] On Tuesday, May 4, 2021 at 9:42:30 AM UTC+2 jn.pierr...@gmail.com wrote: > Today I wanted to see which tiddlers I have that are javascript. > > In advanced research i can execute something like > > [get[type]match[application/javasc

[tw5] Re: Edit-comptext plugin (autocomplete) - new release

2021-05-02 Thread Saq Imtiaz
quot;end": "]]" }, { "pattern": "||", "filter": "[all[tiddlers]!is[system]!has[parent]]", "start": "[[|", "end": "]]", "startOffset" : 2 } ] } On Sunday, May 2, 2021 at 4:08:36 PM UTC+

Re: [tw5] Streams 0.21 is now available

2021-05-02 Thread Saq Imtiaz
something per > stream item would be similar. > > Tones > > On Friday, 30 April 2021 at 22:42:41 UTC+10 Saq Imtiaz wrote: > >> Hi Mohammad, >> >> >>> Lovely! This is one of my favorite use case! At the end I normally merge >>> the notes! >

Re: [tw5] Pin/Unpin a Tiddler to sidebar

2021-05-02 Thread Saq Imtiaz
This edition has a shift+click to pin in sidebar feature: https://rr-tw5.github.io/#DAILY%20NOTES On Sunday, May 2, 2021 at 6:55:52 PM UTC+2 Mohammad wrote: > Thank you Arun! Yes! It is! > > > Best wishes > Mohammad > > > On Sun, May 2, 2021 at 9:07 PM arun babu wrote: > >> I think such a pin b

[tw5] Re: Search for links to current tiddler in a field

2021-05-02 Thread Saq Imtiaz
Try this: [all[current]listed[somefield]] On Sunday, May 2, 2021 at 5:17:55 PM UTC+2 David Gifford wrote: > Hi everyone > > Last question for the day. How might I adapt the following: > > [search:somefield:literal] > > so that it returns only the results that are exact links of the current > ti

[tw5] Edit-comptext plugin (autocomplete) - new release

2021-05-02 Thread Saq Imtiaz
There is a new release of the Edit-comptext plugin that amongst other things adds compatibility with Streams: http://snowgoon88.github.io/TW5-extendedit/ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop r

[tw5] Re: Streams 0.21 is now available

2021-05-02 Thread Saq Imtiaz
There is a new release of the Edit-comptext plugin that amongst other things adds compatibility with Streams: http://snowgoon88.github.io/TW5-extendedit/ On Saturday, May 1, 2021 at 4:53:21 PM UTC+2 Saq Imtiaz wrote: > I've pushed a small update to Streams that fixes a few mino

[tw5] Re: Width of edit-text text areas

2021-05-02 Thread Saq Imtiaz
textarea.wideedit {width:100%;} On Sunday, May 2, 2021 at 2:09:34 PM UTC+2 David Gifford wrote: > Hi all > > Any way to make width of edit-text text areas 100%? The instructions at > tiddlywiki.com only show how to adjust the height, not the width. I tried > adding class="wideedit", then added

[tw5] Re: Streams 0.21 is now available

2021-05-01 Thread Saq Imtiaz
I've pushed a small update to Streams that fixes a few minor issues including a bug with the get-stream-root[] filter. I've also added a FAQ to the docs. Documentation contributions are very welcome. https://saqimtiaz.github.io/streams/ -- You received this message because you are subscribed

[tw5] Re: filter not called???

2021-04-30 Thread Saq Imtiaz
Now you've run into a bug. There's a PR for a fix already: https://github.com/Jermolene/TiddlyWiki5/pull/5640 Try this instead for the meantime: [indexes[]addsuffix[/project]] :filter[indexingmatch] If that still does not work it would be useful to know what the variables proj and pid are. Not

[tw5] Re: filter not called???

2021-04-30 Thread Saq Imtiaz
Let's look at the highlighted portion of [indexes[]addsuffix[/project]filter[indexingmatch]] The first and last square brackets in the highlighted text are for the operand to the filter operator. The square brackets tells us that you are passing a literal operand, not a text reference or a var

[tw5] Re: filter not called???

2021-04-30 Thread Saq Imtiaz
Your filter isn't a valid filter : indexingmatch It is missing square brackets to start and close. Since you cannot have square brackets inside an filter operator, this is why the operand to the filter operator is a variable or text reference. You can also use the :filter filter run prefix. O

Re: [tw5] Streams 0.21 is now available

2021-04-30 Thread Saq Imtiaz
Hi Mohammad, > Lovely! This is one of my favorite use case! At the end I normally merge > the notes! > I need to develop my workflow further but so far I've been dragging and dropping to an actions items tiddler or other tiddlers that are relevant to the topic. At the end there are no nodes

Re: [tw5] Streams 0.21 is now available

2021-04-30 Thread Saq Imtiaz
allow for workflows like using Streams to take notes on read-only slides tiddlers, that might have been auto imported or synced from the teacher's tiddlywiki. On Friday, April 30, 2021 at 12:42:03 PM UTC+2 Mohammad wrote: > On Fri, Apr 30, 2021 at 11:47 AM Saq Imtiaz wrote: > >> Str

[tw5] Re: split agglomerates

2021-04-30 Thread Saq Imtiaz
Sortsub applies a filter in turn to each input title separately. The docs do mention this I believe. So the input to the filter each time is a single title. Subfilter applies a filter once with the input being a title list of all input titles. On Friday, April 30, 2021 at 10:53:52 AM UTC+2 jn.

[tw5] Streams 0.21 is now available

2021-04-30 Thread Saq Imtiaz
Streams 0.2 is now out of beta. https://saqimtiaz.github.io/streams/ I recommend updating Relink plugin and to consider installing its new addon plugin Relink Titles as well: https://flibbles.github.io/tw5-relink/ For anyone including Streams in editions or otherwise distributing the plugin:

[tw5] Re: alphanumerical sort for sortsub

2021-04-28 Thread Saq Imtiaz
I have a PR almost ready that includes this as well as other sorting functionality. On Wednesday, April 28, 2021 at 4:54:02 PM UTC+2 jn.pierr...@gmail.com wrote: > I've just taken the time to understand how to use sortsub. I should have > done it before, et really does what I was trying to ge

[tw5] Re: transclusion and parameterized template

2021-04-28 Thread Saq Imtiaz
Something you may find useful: With the Internals plugin installed, you can turn on the preview in the editor and see the parse tree and widget tree for any wikitext. On Wednesday, April 28, 2021 at 12:04:07 PM UTC+2 jn.pi

[tw5] Re: transclusion and parameterized template

2021-04-27 Thread Saq Imtiaz
Two things that might be helpful: 1) {{tiddlerName||templateName}} 2) the above is a shortcut syntax for <$tiddler tiddler="tiddlerName"> <$translude tiddler="templateName"> See https://tiddlywiki.com/#Transclusion%20with%20Templates On Tuesday, April 27, 2021 at 5:24:01 PM UTC+2 jn.pierr...@g

[tw5] Re: Why my action-setfield is not executed ?

2021-04-27 Thread Saq Imtiaz
See https://tiddlywiki.com/#ActionWidgets On Tuesday, April 27, 2021 at 11:20:43 AM UTC+2 Saq Imtiaz wrote: > Action widgets are only invoked when triggered by triggering widgets such > as the Button Widget. That is, it takes user interaction to make changes to > tiddlers. >

[tw5] Re: Why my action-setfield is not executed ?

2021-04-27 Thread Saq Imtiaz
Action widgets are only invoked when triggered by triggering widgets such as the Button Widget. That is, it takes user interaction to make changes to tiddlers. On Tuesday, April 27, 2021 at 10:40:12 AM UTC+2 vpl wrote: > Hi guys > > A stupid question but I don't understand what the rational beh

Re: [tw5] Re: New magic of $list widget in Tiddlywiki 5.1.24: The index attribute

2021-04-25 Thread Saq Imtiaz
Updating release notes is a LOT of work and as such isn't always done for each change, but sometimes in spurts as we get closer to a release or as changes start to collect. Also, volunteers to help update the release notes are always welcome. On Sunday, April 25, 2021 at 7:40:03 PM UTC+2 Mat wr

[tw5] Re: New magic of $list widget in Tiddlywiki 5.1.24: The index attribute

2021-04-25 Thread Saq Imtiaz
To understand the difference in performance, try changing sidebar tabs in this wiki which has the index feature permanently switched on: https://tw5-with-hacked-list-widget.tiddlyhost.com/ Keeping the index updated and correct across refreshes requires re-rendering the DOM nodes for entire list

[tw5] Re: Stop Tiddlywiki updating different tabs with the same content

2021-04-24 Thread Saq Imtiaz
Creating a new fresh wiki and testing it for the same problem is a very good idea. On Saturday, April 24, 2021 at 6:58:05 PM UTC+2 muynars...@gmail.com wrote: > I see... I'm not completely sure if it happens on a fresh install to be > honest, I'll check it. The instance of the Tiddlywiki I'm us

[tw5] Re: Stop Tiddlywiki updating different tabs with the same content

2021-04-24 Thread Saq Imtiaz
Apologies, the second should have been $:/plugins/tiddlywiki/filesystem You may as well confirm the version number for $:/core as well. Unless someone else chimes in the next day or so with an idea as to what the issue is, I suggest opening a ticket on Github. On Saturday, April 24, 2021 at 6:1

[tw5] Re: Stop Tiddlywiki updating different tabs with the same content

2021-04-24 Thread Saq Imtiaz
That's really odd. I am not sure why the $:/StoryList is being sent from the server to your clients. Can you check the version numbers of the following plugins: $:/plugins/tiddlywiki/tiddlyweb $:/plugins/tiddlywiki/tiddlyweb On Saturday, April 24, 2021 at 6:02:30 PM UTC+2 muynars...@gmail.com wr

[tw5] Re: New magic of $list widget in Tiddlywiki 5.1.24: The index attribute

2021-04-24 Thread Saq Imtiaz
Important to be aware though that the refresh performance is of necessity rather slow when using this new attribute, so I would not suggest using it with larger numbers of tiddlers or complex templates where performance is a concern. For a small list like the one posted as an example in this t

[tw5] Re: Stop Tiddlywiki updating different tabs with the same content

2021-04-24 Thread Saq Imtiaz
Can you post the contents of the following (shadow) tiddlers: $:/config/SyncSystemTiddlersFromServer $:/config/SyncFilter On Saturday, April 24, 2021 at 5:18:54 PM UTC+2 muynars...@gmail.com wrote: > Running the command "tiddlywiki --version" I see 5.1.23... > > On Saturday, April 24, 2021 at 4:2

[tw5] Re: Streams 0.2 preview

2021-04-24 Thread Saq Imtiaz
Apologies for the typos, I'm on my phone this evening. On Saturday, April 24, 2021 at 4:56:37 PM UTC+2 Saq Imtiaz wrote: > @Mike if you can post a file with an example of a node structure you want > to clone, I can help you figure a solution for it. > > For pasting in lists

[tw5] Re: Streams 0.2 preview

2021-04-24 Thread Saq Imtiaz
@Mike if you can post a file with an example of a node structure you want to clone, I can help you figure a solution for it. For pasting in lists for other places, try saving the node with alt+enter. By default it splits on \n\n though that is configurable in the settings. This works for copying

[tw5] Re: Stop Tiddlywiki updating different tabs with the same content

2021-04-24 Thread Saq Imtiaz
Which version of TW are you using? This was an issue introduced in 5.1.22 but should be resolved in 5.1.23 On Saturday, April 24, 2021 at 7:49:28 AM UTC+2 muynars...@gmail.com wrote: > Thanks for the clarification... My guess is that this is not the kind of > thing that I can change directly o

Re: [tw5] action setfield surprise

2021-04-23 Thread Saq Imtiaz
The sequence of execution of action widgets within a single block/string is not guaranteed. Therefore you cannot reliably set a value in an action-widget and read it in a subsequent one if they are part of the same block of action widgets which have the same trigger. This is a known design lim

[tw5] Re: Can you help with these missing tiddlers or sites?

2021-04-23 Thread Saq Imtiaz
The second one can be found here: https://tid.li/tw5/tdn.html#%24%3A%2Fplugins%2Ftgrosinger%2Ftw5-checklist On Friday, April 23, 2021 at 8:24:40 PM UTC+2 Saq Imtiaz wrote: > The very first one is now part of the official documentation: > > https://tiddlywiki.com/#Anchor%20Links%20usi

[tw5] Re: Can you help with these missing tiddlers or sites?

2021-04-23 Thread Saq Imtiaz
The very first one is now part of the official documentation: https://tiddlywiki.com/#Anchor%20Links%20using%20HTML On Friday, April 23, 2021 at 8:04:36 PM UTC+2 Mark S. wrote: > The following contain short titles, urls, and associated problem with > accessing. I know in some cases the title is

[tw5] Re: Save the output of a list-widget to the text of another tiddler?

2021-04-23 Thread Saq Imtiaz
@si looks good, well done on using <$action-confirm>, that put on a smile on my face. Perhaps move the action widgets to the action attribute of the button widget, inline surrounded by triple quotes or as a macro. In general, action widgets inside the body of a button can be buggy and should no

[tw5] Re: Streams 0.2 preview

2021-04-23 Thread Saq Imtiaz
at 11:17:40 PM UTC+2 Saq Imtiaz wrote: > Hi Mike, > > Relink is indeed a necessary dependency for Streams to handle renaming of > tiddlers. I wish there was a way to make it mandatory to have installed, if > not installed automatically with Streams. > > The get-stream-root[] f

[tw5] Re: Save the output of a list-widget to the text of another tiddler?

2021-04-22 Thread Saq Imtiaz
@si Firstly note that the new filters introduced with Streams are still subject to change. Secondly, the get-stream-nodes[] filter currently as includes the tiddler used as input in the titles it returns. So you may wish to trigger the code to consolidate the nodes from another tiddler, or ch

[tw5] Re: Streams 0.2 preview

2021-04-22 Thread Saq Imtiaz
Hi Mike, Relink is indeed a necessary dependency for Streams to handle renaming of tiddlers. I wish there was a way to make it mandatory to have installed, if not installed automatically with Streams. The get-stream-root[] filter is completely broken. Thank you for making me realize that. I wr

[tw5] Re: Keep original filenames in node.js

2021-04-21 Thread Saq Imtiaz
Do you have tiddler with the title: $:/config/FileSystemPaths If so, what are its contents? Also is your wiki set up at the server root or at a different path? As in 127.0.0.1 or 127.0.0.1/wiki ? On Wednesday, April 21, 2021 at 6:27:18 PM UTC+2 Florian wrote: > > Hi, I have been using tiddlywiki

[tw5] Re: "Recent" view doesn't show today's changes

2021-04-21 Thread Saq Imtiaz
Yikes, that is a fair few. You probably want to look at your workflow for tiddler creation and editing to figure out what is causing this. On Wednesday, April 21, 2021 at 3:09:01 PM UTC+2 Soren Bjornstad wrote: > Ooh, found a few: > > $ grep -Er '^(created|modified): [^0-9]' * > pao/MrStephenSic

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-21 Thread Saq Imtiaz
> I have got a look at > https://saqimtiaz.github.io/sq-tw/temp/get-remote-tiddlers.html but in > the "Interactive import" tiddler, the button reads "fetch Undefined widget > 'action-getremotetiddler'" and does nothing. I tested it on a recent > chromium. > > That is pretty odd, it works for

Re: [tw5] Re: [ Streams ] : feedback and issues

2021-04-21 Thread Saq Imtiaz
There should be no issue with using command palette even if it isn't being developed if it works well and provides utility. Do you have any plans of releasing the Notation Editor which you had > showed in one of the TW hangout videos? > Realistically, no. It would require a complete rewrite f

[tw5] Re: "Recent" view doesn't show today's changes

2021-04-20 Thread Saq Imtiaz
This is a long shot but check to see if any of your tiddlers have an invalid string (i.e. not in the required format) for the modified or created fields. There was an issue on tiddlywiki.com a while back where a tiddler had NaN for the modified field which was bugging out the timeline macro and

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-20 Thread Saq Imtiaz
ported tiddlers. (For example al > those whose modifier is not the current user). > > Best wishes and nany thanks for this great improvement! > Jan > > > > > > Am So, 4. Apr, 2021 um 10:49 VORMITTAGS schrieb Saq Imtiaz < > saq.i...@gmail.com>: > &g

Re: [tw5] Re: [ Streams ] : feedback and issues

2021-04-20 Thread Saq Imtiaz
there is a filter to show only the stream root > tiddlers. > > > Thanks, > Arun > On Monday, April 19, 2021 at 7:07:06 AM UTC+5:30 rika.s...@gmail.com > wrote: > >> I just made a note to update in ~1 week. Thanks, Saq! Really >> appreciate the time you&

[tw5] Re: Streams 0.2 preview

2021-04-20 Thread Saq Imtiaz
Thanks @si, that should be fixed though you may need to clear your cache to see the updated version. On Tuesday, April 20, 2021 at 8:35:01 PM UTC+2 si wrote: > Wow Saq thank you - I'm really looking forward to the next release! > > One possible bug: I'm finding that the context menu hangs over t

[tw5] Re: Streams 0.2 preview

2021-04-20 Thread Saq Imtiaz
Apologies for the delay with getting Streams 0.2 released, the last few months have been hectic. I've found some time to resolve some of the outstanding issues and hope to get a new stable release of 0.2 out next week. Any testing on this new interim version would be appreciated, just to help

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
output [[mytiddler]] if it exists as tiddler, otherwise href="...">mytiddler . The macrocall will (typically) appear in plugin > readme tiddlers. > > Does this make sense or do I misunderstand something? Thank you. > > <:-) > > > On Tuesday, April 20, 2021 at

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
Hi Mat, are you sure about that? @Saq - thanks, I actually tried that, but the problem is that emptyMessage > doesn't know what {{!!title}} is, so to say. (It would be desirable that it > did!) > > {{!!title}} in emptyMessage will correspond to the title of the the currentTiddler variable o

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
quot;""> {{{ [<__url__>split[#]rest[]decodeuri[]join[ ]] }}} \end On Tuesday, April 20, 2021 at 10:24:31 AM UTC+2 Mat wrote: > Saq Imtiaz wrote: > >> Use a filter run prefix. >> > > Appreciated. That'll be useful in other cases but it turns out it

[tw5] Re: Return link if exists otherwise external link

2021-04-20 Thread Saq Imtiaz
Quick thought: (I wish the else op could somehow enclose a full expression directly in > the filter: "...else" ) > Use a filter run prefix. [... my first filter run..] :else[.. my other filter run...] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Saq Imtiaz
wiki has not been saved and reloaded. >> >> On Monday, April 19, 2021 at 10:01:05 PM UTC+2 Mohammad wrote: >> >>> On Mon, Apr 19, 2021 at 11:15 PM Saq Imtiaz wrote: >>> >>>> I am wondering if anyone has a better solution for detecting in >>>

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Saq Imtiaz
01:05 PM UTC+2 Mohammad wrote: > On Mon, Apr 19, 2021 at 11:15 PM Saq Imtiaz wrote: > >> I am wondering if anyone has a better solution for detecting in wikitext >> whether a plugin is installed and available. >> >> For example, for detecting if the codemirror edit

[tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Saq Imtiaz
I am wondering if anyone has a better solution for detecting in wikitext whether a plugin is installed and available. For example, for detecting if the codemirror editor is available, I am using the following filter: [[$:/plugins/tiddlywiki/codemirror]!is[missing]] :filter[lookup:no[$:/config/

[tw5] Re: List tiddlers that have a field value with certain suffix

2021-04-17 Thread Saq Imtiaz
Try this: {{{ [has[path]] :filter[get[path]suffix<__chunk__>] }}} On Saturday, April 17, 2021 at 10:26:04 AM UTC+2 Mat wrote: > I have a variable <<__chunk__>> with e.g the value bar/ and need to find > which tiddlers have a path field with where this value is a *suffix*. For > example, I nee

[tw5] Re: [ Streams ] : feedback and issues

2021-04-17 Thread Saq Imtiaz
@arun apologies for the very delayed reply, I've had a hectic last couple of months and this message slipped through the cracks. Let me know if these questions are still relevant and if so, we can discuss them further. Saq -- You received this message because you are subscribed to the Google G

[tw5] Re: [ Streams ] : feedback and issues

2021-04-17 Thread Saq Imtiaz
Rika: I would not recommend use that modified version of the plugin in your wiki permanently as you will likely have problems upgrading in the future. There should be a new version of the edit-comptext plugin available in the next week or so that includes these changes. You can use this version

[tw5] Re: The case against in TW?

2021-04-13 Thread Saq Imtiaz
Note that the <$edit-text> widget can be used in this form: <$edit-text tag="input" type="date" tiddler="test"> The user interface however is widely inconsistent across browsers. Also, if you want to save dates in the same format that TW uses for the modified and created field, you will run in

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-13 Thread Saq Imtiaz
Both the Button widget and the Draggable widget can be used to drag and drop tiddlers, as assigned by a filter. The advantage is that you don't need to tag tiddlers just to be able to drag and drop. Assuming the Export button is created with a Button Widget, it can be assigned a dragFilter and

Re: [tw5] Import as external files (Node.js)

2021-04-10 Thread Saq Imtiaz
Hi Peter, > This would mean: when I drag an image or PDF (prio 1 and 2 for me) into > TW, a tiddler opens (as now) but the binary is stored to the default media > folder and the tiddler contains the canonical-URI. > This plugin allows for exactly this workflow for TW on node.js For a single

[tw5] Re: Splitregexp at : but not at $:

2021-04-08 Thread Saq Imtiaz
Try this: (? I hope to improve HackSearch with a > *search* field so that users can add custom "search terms" in a > dictionary to find tiddler titles that are used as dictionary indexes e.g > like so: > > $:/core/UI/ViewTemplate/body : body text [[main field

[tw5] Re: Splitting text to grab @strings to make some tags

2021-04-08 Thread Saq Imtiaz
{{{ [enlistprefix[@]removeprefix[@]] }}} is identical to {{{ [enlistremoveprefix[@]] }}} Depending on how the input text will be used, the change in syntax may have significant consequences for rendering of links, finding backlinks and freelinks etc. On Thursday, April 8, 2021 at 10:33:04 AM U

[tw5] Re: Splitting text to grab @strings to make some tags

2021-04-07 Thread Saq Imtiaz
etc. # ... @title1 @title2 @[[title with space]]""" reg="""(?:(?:@(\[\[.*[^\]]\]\]|\S+))|(?!@)\S+|\s)"""> {{{ [search-replace:gi:regexp,[ $1]enlist-input[]] }}} On Thursday, April 8, 2021 at 6:43:41 AM UTC+2 Saq Imtiaz wrote: > Try this t

[tw5] Re: Splitting text to grab @strings to make some tags

2021-04-07 Thread Saq Imtiaz
Try this to get the tags (skip the enlist-input[] to keep them as one string): <$vars text="""@title1 @title2 @[[title with space]]""" reg="""@(\[\[.*[^\]]\]\]|\S+)"""> {{{ [search-replace:gi:regexp,[$1]enlist-input[]] }}} I've played around with converting #title to tags in Streams usin

Re: [tw5] Import as external files (Node.js)

2021-04-07 Thread Saq Imtiaz
Hi Mark, You just need to set the default picture button for the editor toolbar to show on markdown tiddlers. Edit $:/core/ui/EditorToolbar/picture At the end of field condition add the following: [type[text/x-markdown]] For the UX I would like to move towards just being able to drag and drop,

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Saq Imtiaz
Hi Jeremy, A little background: I have a couple of ideas in mind for projects to do with education with some of the organizations I work with, for which I am considering TiddlyWiki. One of them would be very similar to the syncing educator and student notebooks project that was based on TiddlyW

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Saq Imtiaz
unday, April 4, 2021 at 6:39:13 PM UTC+2 Ste wrote: > Jumps in, mentions twederation > <https://github.com/inmysocks/TW5-TWederation>, jumps out again. > > On Sunday, 4 April 2021 at 10:28:31 UTC+1 Mohammad wrote: > >> On Sun, Apr 4, 2021 at 1:38 PM Saq Imtiaz wrote:

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Saq Imtiaz
Hi Mohammad, Currently there is only a local git repo on my own machine. I've uploaded a zip file for you: https://github.com/saqimtiaz/sq-tw/raw/master/temp/ImportToExternalFile.zip Please do use with caution. Regards, Saq -- You received this message because you are subscribed to the Google

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Saq Imtiaz
Hi Jeremy, Thank you. I've been looking at documentation for Cognito this last week and it is helpful to have confirmation that it is the correct path to follow. The eventual goal is to have a modular system where you can choose to save binary files being imported as _canonical_uri tiddlers, wi

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Saq Imtiaz
Hi Mohammad, So a lot of things are still up in the air. As I mentioned this is a quick prototype without a lot of pre-planning and I haven't had the chance to figure out a good workflow yet even for my specific needs. I'll try to answer your questions as well as I can at this point, but some t

[tw5] Fetching tiddlers from one wiki to another

2021-04-03 Thread Saq Imtiaz
I've been contemplating a project where if I were to use TiddlyWiki, I would need to be able to fetch content from other wikis on startup, and preferably without needing to have extra plugins installed on the wiki that is the content source. I've created a quick and messy proof of concept. This

[tw5] Re: Import as external files (Node.js)

2021-04-03 Thread Saq Imtiaz
UTC+2 Saq Imtiaz wrote: > This is an in-development plugin for Node.js that has been recently > discussed in another thread. I'm posting it separately as well in case > others find it of interest. > > For images (and other binary files), when importing to a wiki it allows >

[tw5] Re: Wikitext img failing under node.js (5.1.23)

2021-04-03 Thread Saq Imtiaz
>>>>>>>>> images. >>>>>>>>> *These* images do not display correctly. >>>>>>>>> >>>>>>>>> The zero-byte images generated when making external uri's by hand >>>>>>>

[tw5] Import as external files (Node.js)

2021-04-03 Thread Saq Imtiaz
This is an in-development plugin for Node.js that has been recently discussed in another thread. I'm posting it separately as well in case others find it of interest. For images (and other binary files), when importing to a wiki it allows you to save the files as external files in the files fol

<    1   2   3   4   5   6   7   8   9   10   >