Bug 197991

Summary: [IRC] Add hyperlink support for the word 'bug <#>'
Product: [RT] ECF Reporter: Chris Aniszczyk <caniszczyk>
Component: ecf.uiAssignee: Abner Ballardo <modlost>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: modlost, remy.suen, slewis, thatnitind
Version: unspecifiedKeywords: bugday
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to add new hyperlink support for bugs
none
Patch to add new hyperlink support for bugs (II)
none
Patch to add URL configutration in chat room preference
none
Demo
none
Patch
none
mylyn/context/zip
none
Patch Updated none

Description Chris Aniszczyk CLA 2007-07-26 12:18:45 EDT
This is useful for committers who talk about bugs on IRC all the time.

They will say something like bug 75285, and it would be nice if that was hyperlinked by default to go to Eclipse's bugzilla.

ie., https://bugs.eclipse.org/bugs/show_bug.cgi?id=75285
Comment 1 Abner Ballardo CLA 2007-07-27 16:59:03 EDT
I'm interested in working on this bug on Eclipse Bug Day (July 27 2007).

I can't update http://wiki.eclipse.org/BugDayJuly2007, because I can't login to wiki.eclipse.org  :(
Comment 2 Abner Ballardo CLA 2007-07-27 17:11:21 EDT
Created attachment 74836 [details]
Patch to add new hyperlink support for bugs

I think that adding a new preference page to customize hyperlinks for bugs could be nice and also share this hyperlinks with other providers (MSN, XMPP, etc). 

The org.eclipse.ecf.ui plugin could be the right place to add the preference page and also share it with other providers?
Comment 3 Chris Aniszczyk CLA 2007-07-27 17:20:55 EDT
Cool Abner, can you please list the bug here too as yours:

http://wiki.eclipse.org/BugDayJuly2007

Assigning to you.

Becareful on this bug... it involves the hyperlinkDetectors extension point and may take a bit longer than the other bugs.

Also, the ability to set what URL to use as a preference for this would be nice too. For example, by default it should be https://bugs.eclipse.org/bugs/show_bug.cgi?id=<bug#>

Some users may want to set another bugzilla URL depending if they say maybe work on Mozilla.
Comment 4 Abner Ballardo CLA 2007-07-27 23:25:47 EDT
Created attachment 74848 [details]
Patch to add new hyperlink support for bugs (II)

Patch for plugin org.eclipse.ecf.provider.irc.ui, adds hyperlink support for bugs and uses URL from preferences page.
Comment 5 Abner Ballardo CLA 2007-07-27 23:35:31 EDT
Created attachment 74849 [details]
Patch to add URL configutration in chat room preference

Adding URL configuration in chat room preference page. Plugin: org.eclipse.ecf.presence.ui
Comment 6 Nitin Dahyabhai CLA 2007-07-30 14:58:53 EDT
(In reply to comment #3)
> Some users may want to set another bugzilla URL depending if they say maybe
> work on Mozilla.

Not that I have any idea of how to manage this, but wouldn't the URL configuration ideally vary by connection?  If I were active in more than one project, it would be of considerable annoyance to have the linking work correctly, for example, in #eclipse but not #fedora.
Comment 7 Abner Ballardo CLA 2008-04-02 01:39:45 EDT
Created attachment 94483 [details]
Demo

hacking this bug again :D

I'm getting repository information from Mylyn to generate the bug report URL, so if you add all the bug repositories you want to work with in mylyn, you'll see one hyperlink for each repository in the chatroom view.

Well, this image shows the result. Any suggestion? I have to clean my code before submiting a patch
Comment 8 Abner Ballardo CLA 2008-04-06 15:13:31 EDT
Created attachment 95000 [details]
Patch

Adding

* Integration with Mylyn (repositories information)
* Multihyperlink enabled if MultiHyperlinkPresenter is available otherwise use the default presenter.
Comment 9 Abner Ballardo CLA 2008-04-06 15:16:03 EDT
Created attachment 95001 [details]
mylyn/context/zip
Comment 10 Remy Suen CLA 2008-04-08 18:41:37 EDT
(In reply to comment #8)
I don't think we want to introduce a hard dependency on the IRC provider in o.e.ecf.mylyn.ui in my opinion.
Comment 11 Abner Ballardo CLA 2008-04-09 11:01:28 EDT
(In reply to comment #10)
> (In reply to comment #8)
> I don't think we want to introduce a hard dependency on the IRC provider in
> o.e.ecf.mylyn.ui in my opinion.

you're right, maybe creating an o.e.ecf.presence.mylyn.ui or o.e.ecf.mylyn.ui.presence plugin could be an option?

Comment 12 Abner Ballardo CLA 2008-04-09 15:30:03 EDT
I think there is another way (instead of creating a new plugin) to leave o.e.ecf.mylyn.ui without any IRC Provider hard dependency. 

I'll work on that.
Comment 13 Abner Ballardo CLA 2008-04-10 00:18:19 EDT
Created attachment 95471 [details]
Patch Updated


Fixed,... o.e.ecf.mylyn.ui doesn't have any dependency on IRC Provider
Comment 14 Scott Lewis CLA 2014-05-09 13:32:16 EDT
Resolving as wontfix due to limited resources.  If contributors or committer resources become available for additional work in this area then please reopen.