Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Tips and Tricks  >  Thread
   
2 of 2
Prev
1
2
Next Action dependencies! Please!
 
Orlando
Posted: 27 June 2009 08:06 PM   [ Ignore ]   [ # 16 ]  
Newbie
Rank
Total Posts:  2
Joined  2009-06-26

Hi Henrik,

Just grabbed a git clone of your branch since I can’t hold myself back smile

Looks really good and works really well (apart from the outstanding issues that you mentioned above). I wish I could help with these things, but I’m no programmer I’m afraid!

One thing I thought might be a worthy addition - when dragging an existing task which has a due date onto another task to make it a successor, it would be great if the parent task inherit the child’s due date if it is sooner than what the parent has. Does that make sense?

I did also manage to break something - by repeatedly dragging and dropping a task onto another (it never seemed to update in between in this case, not sure if that’s because I was pending a page refresh, or if I just did it too quickly), I managed to break one of my projects so that I can’t view the page any more! Digging into the database, I saw duplicate entries in the dependencies table, which looked like this:

mysql> select * from dependencies;
+——+———————+————————+—————————-+
| id | successor_id | predecessor_id | relationship_type |
+——+———————+————————+—————————-+
|  2 |      1221 |        1224 | NULL         |
|  3 |      1222 |        1088 | NULL         |
|  6 |      1136 |        1223 | NULL         |
|  7 |      1223 |        1136 | NULL         |
|  8 |      1223 |        1136 | NULL         |
|  9 |      1223 |        1136 | NULL         |
| 10 |      1223 |        1136 | NULL         |
+——+———————+————————+—————————-+
7 rows in set (0.00 sec)

After deleting the duplicates, the page could render again:
mysql> delete from dependencies where successor_id=1223;
Query OK, 4 rows affected (0.00 sec)


Just from my short time with this update, I can see it dramatically moving my use of tracks from a personal task management tool to something that can easily be used both for that and for simple project management (and I mean “project management” in the business sense, rather than the GTD sense!). Tie it in with the ability to assign tasks to other users (I’ve seen a few posts/mails about that), and Tracks will soon be taking on MS Project and its ilk wink

Profile
 
Henrik Bohre
Posted: 27 June 2009 11:25 PM   [ Ignore ]   [ # 17 ]  
Newbie
Rank
Total Posts:  19
Joined  2009-03-13

Thanks for trying out my branch. I’m glad that you see the potential at this early stage.

Yes, the due date could probably be computed recursively as:
If an action has no successors then return its own due date.
Else, return the earliest date of itself and its successors.

It’s probably a combination of the lack of validation and dynamic updating which makes it possible to create invalid database states.

Please check http://wiki.github.com/bohrax/tracks for the latest updates.

Profile
 
Gerto
Posted: 11 September 2009 10:17 AM   [ Ignore ]   [ # 18 ]  
Newbie
Rank
Total Posts:  2
Joined  2008-12-27

Is there any news on this? Demo looks great!

Profile
 
Henrik Bohre
Posted: 12 September 2009 06:57 PM   [ Ignore ]   [ # 19 ]  
Newbie
Rank
Total Posts:  19
Joined  2009-03-13

Hi Gerto,

I am happy to inform you and others that Eric Allen has agreed to take responsibility for finishing the remaining work on the dependencies branch.

The main functional issue is to be able to distinguish between actions that only differs by tag. It might also be a fair amount of git work and polishing up the code to make it maintainable.

/Henrik

Profile
 
   
2 of 2
Prev
1
2
 
‹‹ Send Email to Tracks      Tracks on Debian Linux with Apache ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1163 seconds

Atom Feed
RSS 2.0