This has worked really well!

Steps! For this first one I chose to make a Defects task list:

   1. Open TeamTasksSkin and copy both taskViewTemplate and taskEditTemplate
   2. Paste a copy of each and rename the second copies to 
   defectViewTemplate and defectEditTemplate
   3. Find the line in both the Edit and the View where it says "<td 
   class='taskControls'><div class='taskControls' macro='tiddler 
   TaskTiddlerControls'>" and change "tiddler TaskTiddlerControls" to "tiddler 
   DefectTiddlerControls"
   4. Save and close the TeamTasksSkin tiddler.
   5. Open the TaskTiddlerControls tiddler and edit and copy all content.
   6. Close the TaskTiddlerControls tiddler
   7. Open a new tiddler and name it DefectTiddlerControls
   8. Paste into the editable area the items from the TaskTiddlerControls 
   tiddler.
      1. In my case, here I pasted:
      |Scope |<<ValueSwitcher type:"dropdown" 
      valuesSource:"ScopeDefinitions">> |
      |Priority |<<ValueSwitcher type:"dropdown" 
      valuesSource:"PriorityDefinitions">> |
      |User |<<ValueSwitcher type:"dropdown" 
      valuesSource:"UserDefinitions">> |
      |Status |<<ValueSwitcher type:"dropdown" 
      valuesSource:"StatusDefinitions">> |
      2. I just wanted the following:
      |Priority |<<ValueSwitcher type:"dropdown" 
      valuesSource:"PriorityDefinitions">> |
      |User |<<ValueSwitcher type:"dropdown" 
      valuesSource:"UserDefinitions">> |
      |Status |<<ValueSwitcher type:"dropdown" 
      valuesSource:"StatusDefinitions">> |
      so I removed "Scope" and I added another one:
      |Type |<<ValueSwitcher type:"dropdown" 
      valuesSource:"TypeDefinitions">> |
      9. Save and close DefectTiddlerControls
   10. Create a new tiddler and name it TypeDefinitions
   11. Add the values you want for the TypeDefinitions field to display
   12. Save and close the TypeDefinitions tiddler
   13. At this point all the features of the Defect task type are ready! 
   Open a new tiddler and in the tags place the word "defect", add a name and 
   some data and click "done". The new tiddler should display with the valid 
   fields just for Defect tiddler tasks.

I can now go mess with CSS etc to make the Defect look a bit different but 
otherwise its now useable.

One thing I did change (for myself) in the Defect task type was flipped the 
list fields and the text field so the list fields are on the left and the 
text is on the right. This needs to be done in the TeamTasksSkin for the 
defectView and defectEdit, but unless you know what you are doing with HTML 
stay clear ;)

Again, thanks for the pointers Mario, it worked great!

On Thursday, May 23, 2013 9:10:44 AM UTC+10, PMario wrote:
>
> On Wednesday, May 22, 2013 2:52:19 AM UTC+2, cflow wrote:
>>
>> "I'm not sure, what your problem is here?"
>>
>> So, working with TeamTasks we have the ability to generate a task that 
>> has a distinct field set with attributes I can control from values lists 
>> and I can have as many fields as I want.
>>
> You can have as many fields as you want assigned to a tiddler. Just edit: 
> "TaskTiddlerControls"  tiddler and add a Type: Issue / Defects .... field 
>
> My primary employment is in the software testing space, so there are 
>> plenty of times I need a defect management tool and I have to resort to 
>> Excel to do what I want. If I could make a TeamTasks version that had the 
>> ability to create multiple tasks types, each with a different field set, I 
>> would be able to create a solution that would be light weight but really 
>> re-usable.
>>
>> In this way I could have one TiddlyWiki with Tasks, Defects, Issues, User 
>> stories, etc.
>>
>
> The theme: "TeamTasksSkin" contains a taskViewTemplate and 
> taskEditTemplate section. These sections are actiavated, if a tiddler is 
> tagged: task. The TaggedTemplateTweak plugin is responsible for this 
> behaviour. So depending on a tag eg: issue, defect, userstroy ... it is 
> possible to create a new layout, if needed. 
>  Each layout can have its own field set (if needed).
>
> have fun! 
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to