| Summary: | implement new hyperlink detection API for XPlanner | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Steffen Pingel <steffen.pingel> | ||||
| Component: | Mylyn | Assignee: | Helen Bershadskaya <hbershadskaya> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | ||||||
| Version: | dev | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 244442 | ||||||
| Attachments: |
|
||||||
|
Description
Steffen Pingel
Helen, does XPlanner support a syntax for linking to iterations/stories? Otherwise this can probably be resolved as wontfix. Yes, it actually does. Would have been too easy otherwise :-) Take a look at BugzillaConnectorUi.findHyperlinks(). If it's possible to match hyperlinks in XPlanner with a regular expression the detector should be fairly straight forward to implement. Created attachment 115604 [details]
mylyn/context/zip
Both task and user story editor now have a hyperlink when task or story references are embedded in the description. In XPlanner's web view, the hyperlink gets transformed from "task:<taskid>" to "task:<task summary>", but not in our editor. This should be another bug -- not quite sure how to do this now other than by brute force. Mylyn should provide a tool tip displaying the summary if the task is in the task list which has worked well for the other connectors. Yes, you are right -- the tooltip does show up if the task is in the task list. But I was actually doing my testing with a "search by id" found task, so didn't realize it works that way. Would it be possible to extend the tooltip feature to the cases of non-task list items? I think there's a good chance this might be the case, since there's a good chance references will probably be to bugs that weren't part of the original query. I realize the code gets executed a lot, but maybe once found values can be cached for the lifetime of the opened task editor? That would indeed be an interesting feature. I am not sure if it is worth the complexity of triggering a background job and updating the tooltip after the synchronization completes but it could certainly be done. |