GTG

Comment 7 for bug 497164

Revision history for this message
Bryce Harrington (bryce) wrote :

Most wiki's have an automatic syntax where it converts a sequence of lines prepended by numbers into an "ordered list" (<ol>):

1. foo
1. bar
1. baz

Or

1. foo
2. bar
3. baz

For gtg, I think it would be convenient and discoverable to do something similar. The code that auto-interprets '-' as an indicator of a new task could be extended to recognize '\d' similarly, and set up the subtask tree accordingly.

So for instance, I'd like to be able to type something like this:

- Paint table
 1. Decide whether to paint table blue or red
 2. Buy paint, brushes, drop cloth
 3. Paint first coat on table
 4. Paint second coat on table

And gtg turns the above into the following structure:

+ Paint table
  + Paint second coat on table
    + Paint first coat on table
       + Buy paint, brushes, drop cloth
          + Decide whether to paint table blue or red

It would be extra cool if it could handle multiple dependencies. In other words, instead of buying all the items as one task, what if we had to go to three different stores and thus had three separate tasks, all of which need to be done before we can do any painting? Maybe:

- Paint table
 1. Decide whether to paint table blue or red
 2. Buy paint
 2. Buy brushes
 2. Buy drop cloth
 3. Paint first coat on table
 4. Paint second coat on table

And then represent this as: (?)

+ Paint table
   + Paint second coat on table
      + Paint first coat on table
         + Buy brushes
         + Buy drop cloth
         + Buy paint
            + Decide whether to paint table blue or red

Anyway, just some rough thoughts. I'd definitely like to see this feature too.