Community
Participate
Working Groups
Currently only the context for the active task can be previewed and edited. Task activation should not be required.
It would be also neat to be able to preview (or maybe even compare) contexts attached to the task. Perhaps Context tab would be opened in a separate editor.
I have a few actions in mind to provide with this infrastructure along these lines (e.g. compare, merge). I prototyped this stuff way back and so we already have the infrastructure for loading multiple contexts in order to support this. But we need a driving use case. Currently on top of my list is retrieving a repository context when a local task context is already present, highlight difference, then allow merge.
How about comparing two contexts attached to the same task? Without retrievning or merging anything.
Yes, the UI additions to support that should not be that complicated. I'm thinking that below the current "Actions" table we have a table of all the contexts, including the local one, and any number of those can be loaded (e.g. via check box). Each could get a different highlight color. If we want to discuss this further we should move the discussion to bug 138544.
*** Bug 178921 has been marked as a duplicate of this bug. ***
Mik, what is the target for this one? It is quite ugly right now. Say I opened a task editor, i.e. from the change sets or history view. Then I retrieved context and wanted to see it. So, I have to activate task. But task editor is closed upon task activation, and many other editors (that I don't really care about) are opened instead...
I may look at it today, definitely needs to be done for 2.0.
(In reply to comment #7) > I may look at it today, definitely needs to be done for 2.0. Unfortunately I need to go back on the above statement since this will require a proper design and should not be hacked in (Mylyn currently has no notion of anything other than the active task in terms of UI filtering). That said this should be doable without changing API. While it would be nice to have, this is not a critical feature since there is a clear work-around. Also
This is unlikely to make it into 3.0, but will take a look.
Tentatively scheduling for 3.1 for planning purposes.
Created attachment 189639 [details] patch for previewing (not editing) context Thanks Shawn for helping me get started on this.
Created attachment 189640 [details] mylyn/context/zip
Great! We are past the contribution deadline for 3.5 but we should consider this for 3.6
Yes, we should look at this for 3.6 for sure! This has been needed for a while.
I've been bootstrapping something close to this patch for quite a while now and it's very useful - I use it all the time.
Sam, I was hoping that we might have a chance of getting this in for 3.6, but it doesn't seem to apply cleanly. Think that you can cut a new patch so that I can review and if it seems good we can get a CQ filed for this?
Created attachment 194860 [details] 3.6.patch Shawn, here's a patch for 3.6.
This looks awesome! Steffen, can we work on getting a CQ filed for this (this will be my first so it would be good to learn what to do)
The patch is actually shorter than I thought so I have applied it. Leaving open for now to collect any feedback on this.
I have feedback :D Now that you can look at contexts for a task that isn't active, it would be useful for show in package explorer to work.
(In reply to comment #20) > I have feedback :D Now that you can look at contexts for a task that isn't > active, it would be useful for show in package explorer to work. Sounds like a good idea. Please open a separate bug for that.
I'm marking this bug resolved in order to include it in the IP log. Shawn, please file separate bugs for any outstanding items. Thanks for the great contribution, Sam!