Closed Bug 231211 Opened 22 years ago Closed 21 years ago

Make bug link configurable per channel/server

Categories

(Other Applications Graveyard :: ChatZilla, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hjtoi-bugzilla, Assigned: rginda)

Details

(Whiteboard: [cz-0.9.68])

Attachments

(1 file)

If you are ever participating in more than one project that uses IRC and Bugzilla, you will find that you'd really want the ability to configure the bug links per channel and/or server. For example, when I am on irc.mozilla.org's #mozilla channel the default link is good, but when I am on irc.osafoundation.org's #chandler channel I want the domain to point to osafoundation.org.
Nice idea. I think it would only need to be per server, but adding per-channel would be an easy extra. Might be a pain to implement, though, as the munger currently has no concept of views.
Could it be made into a more general linker? I'm thinking of wiki's interlink format "Wiki:WikiWiki" or "google:chatzilla".
Product: Core → Other Applications
I really liked the idea of this bug. If it would be very hard to implement such differences, I think it might still be possible to add an item to the contect menu to use a selected phrase or word as a parameter to a link, in a similar way to the current bookmarks. (e.g., you can do 'google chatzilla' in the addressbar to google for chatzilla, at least on Firefox (I'm not sure about Mozilla)) So, you could select a phrase or word, right click that and google it, use it for a bug link, or a wikilink or... It seems that might be a more dynamic option, though it loses the efficiency of turning it into a link by default, which is very useful when on moznet.
This should actually be really easy to do, and will definately get fixed (either by me, or whoever gets their first). Anyone who's interested, here's some hints... In prefs.js, add the pref used for bug URLs to both the network and channel lists, using 'defer' as the default value like most other preferences. This way it automatically inherits from the parent. Then, in the function to insert the bug link (found in static.js), you will probably need the 3rd parameter to get the preference rather than 'client'. See the channe link code for some hints, though that always uses the network. The bug link code should use channel if it exists, otherwise network. If there's no network, use the client.
Fix based on Silver's instructions. Worked fine, I placed the entry in the preference window under the 'Appearance > Miscellaneous' part, which seemed most fitting. For consistency, I also did so on the global prefs (ie, not just for the channel / network versions).
Attachment #174848 - Flags: review?(samuel)
Attachment #174848 - Flags: review?(samuel) → review+
Checked in --> FIXED. In approximately 56 minutes a build with this fix will be available from: http://twpol.dyndns.org/mozilla/chatzilla/nightly/
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.68]
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: