
I'm curious about how the sync daemon will behave about this. Will it load all the tiddlers, change them and send them back to the sync-adaptor?
Regards--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f159a90f-535c-4aaf-91c8-2d128725560d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/AE858BD0-5F14-4CA3-9014-4285C89A6868%40gmail.com.
The rename operation doesn’t touch the “text” field, and so does not trigger lazy loading.
I notice that in Node.js mode, this feature doesn't follow the "config": {
"retain-original-tiddler-path": true
} that I set in tiddlywiki.info to keep groups of tiddlers in various folders. Instead, changing the title also moves the tiddler in the tiddlers/ directory.
Cheers,Xavier.-- Xavier Cazin
On Thu, Dec 15, 2016 at 10:35 PM, Jeremy Ruston <jeremy...@gmail.com> wrote:
I’ve had some time to work on TiddlyWiki in the last few days, but as sometimes happens, it was while travelling, and without access to wifi. Prompted by some recent user feedback, I decided to focus on improvements to the mechanism for renaming tiddlers: renaming an existing tiddler shows a checkbox in the edit template prompting “Update foofoo to barbar in the tags and list fields of other tiddlers”.If the checkbox is checked when confirming the tiddler, then any references to the old tiddler title in tags or list fields of other tiddlers are relinked to point to the new title. (See screenshot below).Note that at this point there is no attempt to perform search and replace within the “text” field, because of the potential for unintended results, but this is something that would be worth exploring for the future. Even as things stand, it makes renaming entries in a table of contents much easier.You can try out the new feature by renaming an existing tiddler at:Please let me know if you run into any problems or edge cases,Best wishesJeremy
<PastedGraphic-1.png>
--
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 tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/AE858BD0-5F14-4CA3-9014-4285C89A6868%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYMvsKKy3Z3tudKR2%2Bg-KDz0QR6CYkaOe1GEkw4xTFb4Lg%40mail.gmail.com.
The rename operation doesn’t touch the “text” field, and so does not trigger lazy loading.That is indeed a problem. If it does not trigger lazy loading, but it modifies the tiddler, how do you expect those changes to be persisted? They will be restricted to the lazy copy that resides on TW memory, and probably be overridden with the previous value when lazy-loading mechanism is triggered.Could you expand on why this is not a problem? I mean, what I'm missing that makes what I said incorrect?
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/29267ba4-c5e9-46f7-b34b-3ee46b786f1d%40googlegroups.com.
Hi Xavier
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYMvsKKy3Z3tudKR2%2Bg-KDz0QR6CYkaOe1GEkw4xTFb4Lg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/809E1AC7-4965-40D7-BD9F-CD17A704149C%40gmail.com.
I guess there might be something that the syncer/sync modules could do to merge modified fields of lazily loaded tiddlers.
This is a very much longed for feature! Thank you Jeremy!!Minor: The checkbox should probably reset to unchecked state after the action has been performed.
<:-)
On Thursday, December 15, 2016 at 10:36:07 PM UTC+1, Jeremy Ruston wrote:I’ve had some time to work on TiddlyWiki in the last few days, but as sometimes happens, it was while travelling, and without access to wifi. Prompted by some recent user feedback, I decided to focus on improvements to the mechanism for renaming tiddlers: renaming an existing tiddler shows a checkbox in the edit template prompting “Update foofoo to barbar in the tags and list fields of other tiddlers”.If the checkbox is checked when confirming the tiddler, then any references to the old tiddler title in tags or list fields of other tiddlers are relinked to point to the new title. (See screenshot below).Note that at this point there is no attempt to perform search and replace within the “text” field, because of the potential for unintended results, but this is something that would be worth exploring for the future. Even as things stand, it makes renaming entries in a table of contents much easier.You can try out the new feature by renaming an existing tiddler at:Please let me know if you run into any problems or edge cases,Best wishesJeremy
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/35e8133c-2819-46b6-a36b-cb5e02554115%40googlegroups.com.
Do we have some sort of TQL (Tiddler Query Language) / process that would provide the "plumbing" to,
say, run a filter against the syned-store and return a list of titles to the "frontend" which may then decide to load these tiddlers into the wiki to do the desired processing such as renaming.
Best wishes,Tobias.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0df1b714-cad0-49be-ac1b-fcda21f4e43c%40googlegroups.com.
But I’m not sure that shipping tiddlers to the client for operations is really the way to go (except as a temporary hack/workaround), there’s plenty of operations that we would want to perform on the server (eg batch image resizing), and we really need a robust mechanism for invoking server-based actions from the client.
Minor: The checkbox should probably reset to unchecked state after the action has been performed.Interesting, what are the situations where one would want it switched off?
Suggestion: After the rename mechanism did change tiddlers, there should be an info, which tiddlers have been changed! So the user knows, what was going on.
I don’t think that there’s much we can do to fix things up in the face of lazy loading. Fundamentally, such operations need to be done on the server in such situations, and we don’t currently have the plumbing for that.
The difficulty is that retrieving the non-skinny versions of the tiddlers is an asynchronous operation, while the rename operation is synchronous in the UI.
But I’m not sure that shipping tiddlers to the client for operations is really the way to go (except as a temporary hack/workaround), there’s plenty of operations that we would want to perform on the server (eg batch image resizing), and we really need a robust mechanism for invoking server-based actions from the client.
In the absence of a server side mechanism for relinking, there’s not much we can do other than think about ways to ensure that the affected tiddlers are loaded into the client before attempting a search and replace.
I guess there might be something that the syncer/sync modules could do to merge modified fields of lazily loaded tiddlers.
On 18 Dec 2016, at 10:52, Danielo Rodríguez <rdan...@gmail.com> wrote:
I totally disagree, let me expose my reasons
- First, I don't see the problem on performing a batch operation like this in an asynchronous fashion. Not only when sync to server is implied, always. Because this is a batch operation that could involve a complicated logic, doing it in an asychronous fashion allows us to keep the UI responsive while doing the required changes, and of course would allow to interact with the server without any problem. For me is a win-win situation.
- Second, you are restringing the usage of remote stores to the most classic ones.
- Nowadays remote does not means a server that you control, it can be a database as a service, an API that allows you to retrieve and create files (dropbox, github) , and many more, server-less is becoming mainstream. Restricting an operation that can be easily performed on the client to the server architecture means restricting tiddlywiki too much, and coupling it to just a small set of compatible servers.
- Third, this can cause race conditions and weird situations. Imagine that you perform a batch operation on the client side, and asks the same operation to be performed on the server once the renaming suceeds on client. Because the operation is asynchronous, the user can try to load some of the affected tiddlers before the operation can complete on the server, then the server will deliver to you the older version, which will cause an unstable and hard to guess situation. This was a race condition and the client side won. This gets even funnier if you ask for a bunch of tiddlers and some of them are delivered BEFORE the operation completes, while others are delivered AFTER the relinking is completed, I can't imagine what kind of messy situations we can get here. Not to mention that what could happen if you perform the renaming on the client but it fails on the server? then you will be on some kind of split-brain
In the absence of a server side mechanism for relinking, there’s not much we can do other than think about ways to ensure that the affected tiddlers are loaded into the client before attempting a search and replace.Where is the problem wit this approach ? For me it's perfectly valid. Tiddlywiki is a single page application, it can handle all the required logic to operate the tiddlers on the client. Why not? I can't find a valid reason to don't doing it. Let's keep tiddlwiki as functional and compatible with any server architecture as possible.I guess there might be something that the syncer/sync modules could do to merge modified fields of lazily loaded tiddlers.This is, again, a complicated and unnecessary logic when you can just fetch the tiddlers and perform some POTWOs (plain old tiddlywiki operations)Regards.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/174db8d4-d254-470d-9c22-4b54a1d0dd4b%40googlegroups.com.
1) The "rename tags checkbox" is shown, even if no tiddler is tagged with the "old" name.
2) imo new feature in 5.1.14-prereleas
eg:
- tiddler a and b exist
- renaming tiddler a to name: b shows: "Target tiddler already exists" <- OK
- it also shows the rename tags checkbox. <- see: 1) ... imo should be changed ... but may slow down the UI
3) no warning, that new tiddler name is already a tag
to reproduce:
- create tiddler a
- create tiddler aa and tag it: a
- create tiddler bb and tag it: b .... make sure that tiddler b does _not_ exist!
- no rename tiddler: a to b
IMO there should be an info, that other tiddlers use that tag already!
Suggestion: After the rename mechanism did change tiddlers, there should be an info, which tiddlers have been changed! So the user knows, what was going on.
-mario
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d6215b70-e79e-40d6-9c25-b95f49bcca41%40googlegroups.com.
On 30 Dec 2016, at 08:21, Jed Carty <inmy...@gmail.com> wrote:
While using UUIDs may simplify some things it would make others more complex. How do you overwrite a shadow tiddler if they all use UUIDs? If you are able to edit UUIDs to make a new tiddler with the same one then they aren't unique anymore, if you do something like take the tiddler with the same title and the newest modified field than you are back to having titles being the same as UUIDs.I think that while on the surface changing to UUIDs could take care of some things, it isn't actually solving the problems, just moving them.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fd485435-bd6c-41b2-b1b5-728b5ba882dc%40googlegroups.com.
1) The "rename tags checkbox" is shown, even if no tiddler is tagged with the "old" name.I don’t understand why that matters? The text is offering to do the relinking; it’s not asserting that there are any items to be renamed.
I will check this out as its a critical feature for wikis.
Given the centrality of the tiddler name in tiddlywiki perhaps the ability to delete a tiddler and remove its name rather than rename would be helpful.
Perhaps you could consider a desperate delete plugin which could be based on your current plugin.
Regards
Tony
regards
Tony
I would be supportive to the point of view of Tobias if I understand it right: titles of tiddlers must be unique, to be referred reliably in future.
The other reason to support is our potential transition to the IPFS protocol in near future. Human-readable links is one of the core features of P2P Web: IPFS is the Distributed Web
and I'm a fan of the https://dat.foundation/ and beaker-browser, which are also port of the P2P movement.
On Thursday, December 15, 2016 at 4:36:07 PM UTC-5, Jeremy Ruston wrote:I’ve had some time to work on TiddlyWiki in the last few days, but as sometimes happens, it was while travelling, and without access to wifi. Prompted by some recent user feedback, I decided to focus on improvements to the mechanism for renaming tiddlers: renaming an existing tiddler shows a checkbox in the edit template prompting “Update foofoo to barbar in the tags and list fields of other tiddlers”.If the checkbox is checked when confirming the tiddler, then any references to the old tiddler title in tags or list fields of other tiddlers are relinked to point to the new title. (See screenshot below).Note that at this point there is no attempt to perform search and replace within the “text” field, because of the potential for unintended results, but this is something that would be worth exploring for the future. Even as things stand, it makes renaming entries in a table of contents much easier.You can try out the new feature by renaming an existing tiddler at:Please let me know if you run into any problems or edge cases,Best wishesJeremy
--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/537c9094-cc2c-4964-820a-b8e13fffacc9%40googlegroups.com.