Skip to content

Commit

Permalink
Add many more components, more extra info boxes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Mar 12, 2012
1 parent 7d41437 commit 92a0999
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 18 deletions.
12 changes: 8 additions & 4 deletions index.html
Expand Up @@ -40,12 +40,12 @@

addCategories([["a11y", "Accessibility"], ["gfx", "Graphics"], ["net", "Networking"],
["jseng", "Javascript Engine"], ["layout", "Layout"], ["dom", "DOM and CSS technology"],
["editor", "Input handling"], ["internals", "Firefox Internals"],
["editor", "Input handling"], ["internals", "Firefox internals"],
["media", "Media"], ["mobile", "Mobile (Android)"], ["ff", "Firefox UI"],
["devtools", "Firefox Developer Tools"], ["releng", "Release Engineering"],
["automation", "Test Automation"], ["sync", "Firefox Sync"], ["thunderbird", "Thunderbird"],
["seamonkey", "SeaMonkey"], ["calendar", "Calendar"]]);
</script>
["seamonkey", "SeaMonkey"], ["calendar", "Calendar"], ["b2g", "Boot2Gecko"]]);
</script>
<br><br>
Do you know: <br><br>
<script>
Expand Down Expand Up @@ -90,14 +90,18 @@
extra.appendChild(elem);
}

addExtra('mobile', 'Extra information for Mobile', '<a href="https://wiki.mozilla.org/Mobile/Get_Involved">Get involved with the Mobile team</a>');
addExtra('mobile', 'Extra information for Mobile', 'Get involved with the <a href="https://wiki.mozilla.org/Mobile/Get_Involved">Mobile team</a>');
addExtra('java', 'Extra information for Java', 'Get involved with the <a href="https://wiki.mozilla.org/Mobile/Get_Involved">Mobile team</a>');
addExtra('py', 'Do you like Python?', 'Get involved with the <a href="https://wiki.mozilla.org/Auto-tools/New_Contributor/Skills_and_Areas">Auto-Tools</a> team<br>Get involved with the <a href="https://wiki.mozilla.org/ReleaseEngineering:Contribute">Release Engineering</a> team');
addExtra('gfx', 'Extra information for Graphics', 'Get involved with the <a href="https://wiki.mozilla.org/Platform/GFX/Contribute">Graphics</a> team');
addExtra('jseng', 'Extra information for the JS engine', 'Get involved with the <a href="https://wiki.mozilla.org/JavaScript:New_to_SpiderMonkey">JS engine</a> team');
addExtra('a11y', 'Extra information for Accessibility', 'Get involved with the <a href="https://wiki.mozilla.org/Accessibility/Contribute">Accessibility</a> team');
addExtra('releng', 'Extra information for Release Engineering', 'Get involved with the <a href="https://wiki.mozilla.org/ReleaseEngineering:Contribute">Release Engineering</a> team');
addExtra('sync', 'Extra information for Firefox Sync' , 'Get involved with the <a href="https://wiki.mozilla.org/Services/Sync#Get_Involved">Sync</a> team');
addExtra('seamonkey', 'Extra information for SeaMonkey', 'Get involved with the <a href="http://www.seamonkey-project.org">SeaMonkey Project</a>');
addExtra('js', 'Extra information for JS', 'Get involved with the <a href="http://github.com/mozilla/pdf.js">pdf2js project</a><br>Get involved with the <a href="https://github.com/kripken/emscripten/">emscripten project</a>');
addExtra('b2g', 'Extra information for Boot2Gecko', 'Get involved with the <a href="https://wiki.mozilla.org/B2G/Hacking">Boot2Gecko project</a>');
addExtra('devtools', 'Extra information for Developer Tools', 'Get involved with the <a href="https://wiki.mozilla.org/DevTools/GetInvolved">devtools team</a>');

function initial_state() {
var query = window.location.search;
Expand Down
50 changes: 36 additions & 14 deletions magic.js
Expand Up @@ -27,7 +27,7 @@ function addSimpleMapping(group, cat, prod, components) {

function timeFromModified(lastChangeTime) {
var lastModified = new Date(lastChangeTime);
today = new Date();
var today = new Date();
var one_day = 1000*60*60*24;
return(Math.ceil((today.getTime() - lastModified.getTime()) / (one_day)));
}
Expand All @@ -42,19 +42,17 @@ function addLanguageMapping(cat, language) {

addComponentMapping('a11y', 'Core', 'Disability Access APIs');
addComponentMapping('gfx', 'Core',
['Graphics',
'GFX: Color Management',
'Canvas: WebGL',
'Canvas: 2D',
'ImageLib']);
['Graphics', 'GFX: Color Management',
'Canvas: WebGL', 'Canvas: 2D', 'ImageLib', 'Graphics']);
addComponentMapping('net', 'Core',
['Networking',
'Networking: HTTP',
'Networking: Cookies',
'Networking: File',
'Networking: JAR',
'Networking: WebSockets',
'Networking: DNS']);
'Networking: DNS',
'WebRTC: Networking']);
addComponentMapping('layout', 'Core',
['Layout',
'Layout: Block and Inline',
Expand All @@ -79,20 +77,41 @@ addComponentMapping('dom', 'Core',
'DOM: Traversal-Range',
'DOM: Validation',
'Geolocation',
'HTML: Form Submission']);
addComponentMapping('editor', 'Core', ['Editor', 'Selection', 'Keyboard: Navigation']);
addComponentMapping('internals', 'Core', 'General');
'HTML: Form Submission',
'Event Handling', 'HTML: Parser',
'MathML', 'XML', 'XSLT']);
addComponentMapping('editor', 'Core', ['Editor', 'Selection', 'Keyboard: Navigation',
'Drag and Drop', 'Spelling Checker']);
addComponentMapping('internals', 'Core', ['General', 'Widget', 'Document Navigation', 'XPCOM',
'Embedding: APIs', 'Embedding: GRE Core', 'Embedding: GTK Widget',
'Embedding: Mac', 'Embedding: Packaging',
'File Handling', 'Find Backend', 'Gecko Profiler',
'History (Global)', 'Image Blocking', 'Installer', 'IPC',
'MFBT', 'Plug-ins', 'Preferences: Backend', 'Print Preview',
'Printing: Output', 'Printing: Setup', 'Profile: BackEnd',
'Profile: Migration', 'Profile: Roaming', 'RDF',
'Rewriting and Analysis', 'Security', 'Security: CAPS', 'Security: PSM',
'Security: S/MIME', 'Security: UI',
'Serializers', 'SQL', 'String', 'XBL', 'XTF', 'XUL',
'Widget', 'Widget: Android', 'Widget: BeOS', 'Widget: Cocoa',
'Widget: Gtk', 'Widget: OS/2', 'Widget: Photon', 'Widget: Qt',
'Widget: Win32', 'XP Toolkit/Widgets: XUL', 'XP Toolkit/Widgets: Menus']);
addComponentMapping('internals', 'NSPR');
addComponentMapping('internals', 'NSS');
addComponentMapping('mobile', 'Fennec');
addComponentMapping('mobile', 'Fennec Native');
addComponentMapping('mobile', 'Core', 'Widget: Android');
addComponentMapping('mobile', 'Core', ['Widget: Android', 'mozglue']);
addComponentMapping('jseng', 'Core',
['Javascript Engine',
'js-ctypes',
'XPConnect']);
addComponentMapping('media', 'Core', 'Video/Audio');
'XPConnect',
'Nanojit']);
addComponentMapping('media', 'Core', ['Video/Audio', 'WebRTC', 'WebRTC: Audio/Video',
'WebRTC: Signalling']);
addComponentMapping('ff', 'Firefox');
addComponentMapping('ff', 'Toolkit');
addComponentMapping('ff', 'Mozilla Services', 'Firefox Sync: UI');
addComponentMapping('ff', 'Input', ['Frontend', 'General']);
addComponentMapping('devtools', 'Firefox',
['Developer Tools',
'Developer Tools: Console',
Expand All @@ -111,6 +130,8 @@ addComponentMapping('sync', 'Mozilla Services', ['Firefox Sync: Backend',
addComponentMapping('thunderbird', 'Thunderbird');
addComponentMapping('seamonkey', 'SeaMonkey');
addComponentMapping('calendar', 'Calendar');
addComponentMapping('b2g', 'Boot2Gecko');
addComponentMapping('b2g', 'Core', ['DOM: Device Interfaces', 'Hardware Abstraction Layer (HAL)']);

addLanguageMapping('py', 'py');
addLanguageMapping('sh', 'shell');
Expand Down Expand Up @@ -302,7 +323,8 @@ function retrieveResults(category) {
for (var i = 0; i < mapping.length; i++) {
var searchParams = {status_whiteboard: 'mentor=',
whiteboard_type: 'contains_all',
bug_status: ["NEW","ASSIGNED","REOPENED"],
bug_status: ["NEW","ASSIGNED","REOPENED", "UNCONFIRMED"],
//component_type: 'contains_any', use when bug 734134 is fixed
product: ''};
for (var param in mapping[i]) {
if (!(param in searchParams))
Expand Down

0 comments on commit 92a0999

Please sign in to comment.