Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Filters used on the Moodle.org forums.

Talk:Filters used on the Moodle.org forums

From MoodleDocs
Revision as of 17:39, 18 November 2009 by Frank Ralf (talk | contribs) (→‎Enhancing Tracker Issue Filter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Enhancing Tracker Issue Filter

What about enhancing the Tracker issue filter so that it automatically also shows the title of the issue, e.g. MDLSITE334: New filter for moodle.org to easily make links to the docs instead of only MDLSITE-334? --Frank Ralf 07:48, 18 November 2009 (UTC)

Because MDL - 123 -> MDL-123 is a regular-expression search-and-replace. MDL - 123 -> your suggestion (or better, put the full info in a tooltip like that tracker does) would involve making a web-service request to the tracker, or similar. that would be slow.--Tim Hunt 10:53, 18 November 2009 (UTC)
Ah, yes, of course. So that would at least require some AJAX magic... --Frank Ralf 11:05, 18 November 2009 (UTC)
I've been brushing up my rusty Greasemonkey skills and here is the result: moodle_tracker_info.user.js. The script will display the title of any linked tracker id as a tooltip as Tim suggested (see screenshot). --Frank Ralf 17:35, 18 November 2009 (UTC)

Greasemonkey tracker tooltip.png