gsd5
gsd5 copied to clipboard
No dependency when in realm
Helllo. i recently (re-)discovered mgsd in the form of gsd5. After some getting used to I really appreciate the simplicity of the tool. I think however that I have encountered a bug. When I have two tiddlers I can make one dependent on the other. I have noticed that when I make both actions enter a realm this is no longer possible. Even when they enter the same realm. When one of both enters a realm I can still make them dependent. It seems to me it should only be possible to make actions dependent when the both are in the same (or none) realm. Is my assumption correct? Should I file a bug report? Regards, Rolf
So, I 've tried to look into the code. I don know JavaScript but I feel the "problem" lies within the following (partial) rule:
...Depends on: <br/>\n<$prereq default=\"\">\n <option value=\"\">--</option>\n <$set name=\"currentTitle\" value=<<currentTiddler>> >\n <$list filter=\"[field:gsd_type[action]!field:gsd_complete[true]!field:gsd_complete[true]field:gsd_realm{$:/currentRealm!!text}!has[gsd_project]!title<currentTitle>]\">\n...
It seems to say to filter the list of actions, depending on to be in the current realm. Problem seems to be that at the moment of creation the current realm is empty. Making the current action part of a realm doesn't change this. Selecting a realm in the right column changes this. So, as a workaround I can change the "active" realm and select the dependent action.
Thanks you for your input, Rolf.
This really isn't a bug, per se, but an oversight by myself. The widget looks to the status of a 'global' tiddler to decide which tiddlers to show and not the realm of the Action tiddler in question. I shall look into correcting this. Thank you.
https://groups.google.com/forum/#!topic/tiddlywiki-gtd/LxflmgtBuz8
Hi, I just make my first steps in GTD itself and GSD5 as a tool. First of all Thank you very much roma0104 for this useful TW plugin! I like it! I also experienced the problem described above. But before asking for a fix I wonder what effect a dependency setup will have.
- Will dependencies be enforced in the workflow?
- Do you plan to visualize dependencies in any way?
Regards, Matzerich