Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 179597 - Only display Retrieve Context dialog if multiple contexts are available
Summary: Only display Retrieve Context dialog if multiple contexts are available
Status: RESOLVED DUPLICATE of bug 159318
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-27 15:35 EDT by Marc Eaddy CLA
Modified: 2007-04-09 23:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Eaddy CLA 2007-03-27 15:35:12 EDT
Most of the time there is only one context associated with a task.  Selecting the "Retrieve Context" right-mouse menu item should retrieve it by default.  If there are multiple contexts, "Retrieve Context" should display the normal Select Context dialog.
Comment 1 Mik Kersten CLA 2007-03-28 22:12:16 EDT
We display this dialog because we have no other way of displaying whose context the user is getting.  So I'm not sure if this is worth streamlining away.  To streamline retrieving contexts I'm thinking that we should make the actions more accessible within the task editor.  Thoughts?
Comment 2 Marc Eaddy CLA 2007-03-28 22:25:26 EDT
Hi Mik!  Personally, I think context should be completely ambient.  The user should never have to explicitly record, attach, retrieve context.  It is always *on* for the active task.  If the user doesn't want something in context, they can pause context collection and resume when they are back on task.  If they make a mistake, they should be able to edit the context transcript/journal.  

Context from multiple users should be aggregated transparently.  The user can always look at the transcript/journal to see who did what and when, or to filter context (e.g., only show *my* context or Mik's context, ignore Mr. Newbie).

Also, every commit message in CVS that includes the task id should always also appear in context, even if the user didn't open the file via Mylar.  Ideally, Mylar would even look at the methods/fields that were changed and automatically highlight them in context.  Right now, there is disconnect between context and cvs change history.
Comment 3 Eugene Kuleshov CLA 2007-03-28 22:35:18 EDT
I agree with Mark. There is probably not much value in displaying dialog with single entry after user confirmed that he want to retrieve context.

What could be improved is that we can merge "yes/no" dialog and the context selection dialog into one, or at least show details for that single context in the confirmation dialog. But then, why not just fetch context without confirmation if you can?...
Comment 4 Mik Kersten CLA 2007-04-09 23:30:16 EDT
The benefit of the retrieve context dialog is that it shows the date and submitter of the task context.  Also, we are likely to add additional facilities to the dialog that will require user input (e.g. bug 178883).  So instead of streamlining retrieving contexts in this way, with 2.0M2 we addressed this use case by providing an action for retrieving that requires no user user input is now available on the Attachments table.

*** This bug has been marked as a duplicate of bug 159318 ***