Community
Participate
Working Groups
There are times where there are so many tasks in my queue for the week or two weeks ahead that I would prefer just to randomly get a task for me to look at. I'm kind of inspired by the Urbanspoon iPhone application which allows me to shake my phone and get a random restaurant within a certain distance. I would like to apply this same idea to tasks. I click a button and have some threshold preferences... and I get a task! No thinking required :) Maybe I'm the only one, but sometimes this is the way I operate ;) Thoughts ;)?
+1 for the task list shake button... can e4 do that ;) ?
I don't want to break the excitement, but wouldn't be more respectful to the bug reporters to take care of the issues reported first? Mylyn actually doesn't support that very well and shuffles tasks in order of priority making often a bold assumption that priority mean anything. It annoys me enough that I am really close to forking the Task List UI.
+1 I think that this is a fabulous idea, speaking as a Mylyn user, not project lead :) While the Mylyn committers will have to have their heads down with 3.1 priorities, we've taken all sorts of UI automation patches of this sort, so tagging as "bugday". Here's a pass at a spec: * Put it next to the "New Task..." button in the Ctrl+F9 "Activate Task..." dialog. * Come up with one randomizable heuristic for selecting the task that will get opened and activated. Keeping in mind the mental state of someone who is going to click this button being more along the lines of "I want to do something else" than "What should I do next", here's an example: * Get all tasks assigned to the user, across all repositories * Reduce to only tasks with no incomings, since incomings can often lead to other work * Reduce to only tasks of kind minor, trivial, or enhancement, since those tend to be more fun (this heurisitc is connector specific) * Reduce to only tasks that are not scheduled for this or next week, since those will come up anyway * Randomly select a task from that set, maybe favoring lower priority tasks since those rarely get enough love
What a great bug! Could I work on it? I understand that the priority isn't high, so I could prepare it in my free time.
Jakub: That would be more than welcome, so reassigning to you. To get started see: 37154: [Team] Support for subversion https://bugs.eclipse.org/bugs/show_bug.cgi?id=37154
(In reply to comment #5) > Jakub: That would be more than welcome, so reassigning to you. To get started > see: 37154: [Team] Support for subversion > https://bugs.eclipse.org/bugs/show_bug.cgi?id=37154 Mik, are you sure you wanted me to look at this particular bug? I'm not sure what I should find there - over 100 comments don't look like a fun ;) Any hints?
Created attachment 114552 [details] Patch attachement First approach for random task. Waiting for comments.
Created attachment 114553 [details] mylyn/context/zip
I have completely forgotten about this bug. Mik, could you have a look?
Jakub: Sorry for having missed this bug and not gotten back to you earlier. We're out of time for 3.1 contributions, but I'll look at this early on in 3.2.
Created attachment 134941 [details] updated patch for head
Created attachment 134942 [details] mylyn/context/zip
Great patch! The only problem I noticed is that the button is also available in the Open Task dialog and instead of opening a random task it activates a random task.
(In reply to comment #13) > Great patch! The only problem I noticed is that the button is also available in > the Open Task dialog and instead of opening a random task it activates a random > task. Jakub: Can you fix that? If so we should be able to get this into Mylyn 3.2. Also, should this be called "I'm feeling Lazy" since it does not select the next highest priority thing?
(In reply to comment #14) > (In reply to comment #13) > > Great patch! The only problem I noticed is that the button is also available in > > the Open Task dialog and instead of opening a random task it activates a random > > task. > > Jakub: Can you fix that? If so we should be able to get this into Mylyn 3.2. > Also, should this be called "I'm feeling Lazy" since it does not select the > next highest priority thing? > I will try to have a look on Monday if this is ok.
Created attachment 137170 [details] Patch Did some refactorings. Please have a look and comment if this solution is acceptable.
Jakub: Good stuff! I thought through this some more and what strikes me about the "I'm Feeling Lucky" idea being successful is that wherever it appears, Google consistently uses its heuristicvs in order to come up with the best match. In the case of the "Random Task", it seems that the best match is a low priority and low energy task. The job of the Task List is to show the next highest priority task to work on in order to help make you more productive. So this button will be the antithesis of the Task List. As such, I think that we really should call it "I'm Feeling Lazy" :) I revised and cleaned up the code a bunch, and made the following additional changes: * Improved the selection algorithm to cascade priority levels rather than just doing a random selection with a bias to low priority. * Biased it to scheduled tasks if present, since those have more relevance for people who use scheduling. * Added the button to Open Task dialog as well. This will make it considerably more prominent. Please try this feature out and post your thoughts. We should still consider how prominent to make this, as we have never added an informal feature of this sort to the Mylyn distribution. But in this case we may be able to make an exception.
Created attachment 137414 [details] mylyn/context/zip
Thanks guys, I'm looking forward to trying this out in the next i-build!
Thanks for the idea! Chris and others, please comment on whether "I'm Feeling Lazy" sounds like the right name for the button. Also, not that we can still tune the algorithm to make it come up with even lazier tasks.
Cool stuff. Weekly build should be available in an hour.
I don't like the "I'm Feeling Lazy" name, as that implies I'm lazy (which I am), but I just don't like to hear it. I would humbly suggest introducing the concept of "getting a task" with pluggable ways of getting them. One could be random, one could be some algorithm, who knows.
Isn't this sufficently close to Google's "Im feeling lucky" trademarked phrase? What did Eclipse legal have to say? A phrase like "random task" might be less contentious.
Alex: Thanks for pointing out the "I'm Feeling Lucky" trademark concern. On that basis I think that we'll need to avoid that one. The main problem that I see with "Random Task" is that the task we select is not very random since we have deliberate heuristics there. Chris: Interesting point about the fact that the user might feel like we're accusing them of feeling lazy. I figured that the fact that it's a special button would imply that the user was not normally feeling lazy, but could click this on the off chance they were. But this is all about perception so it could be an issue. Any other ideas?
Pick task? Choose task? Suggest task? Propose task?
PS Can we reopen this if we're still discussing the name? It's not really fixed. Either that, or we can move the discussion of the name to a different bug.
Reopened for discussion.
I get a bunch of exceptions when I try the I'm Feeling Lazy button on an empty Task List. It looks it's trying to activate a non-exising task.
(In reply to comment #28) > I get a bunch of exceptions when I try the I'm Feeling Lazy button on an empty > Task List. It looks it's trying to activate a non-exising task. > I can have a look at this early next week. Or do you want to fix this on your own Mik?
Thanks for offering help Jakub. I just wanted to note it to remind me to look into it next week (we are past the ip log cut off for 3.2 already).
Steffen: Let me know what you find. All: For the time being I removed this feature from the Open Task dialog in order to make it less prominent while we make up our mind. It's still in the Activate Task dialog.
I am not seeing the problems mentioned in comment#28 with the activate task dialog. Looks like we are good here.
(In reply to comment #32) > I am not seeing the problems mentioned in comment#28 with the activate task > dialog. Looks like we are good here. > For me it also looks ok. However I found other strange behavior described in bug 281066