mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
[Bug 397573] - Make QAX resizeable + other UI fixes
This commit is contained in:
parent
f09622e60d
commit
1335b7696c
@ -96,8 +96,8 @@
|
||||
},
|
||||
|
||||
handleDialog : function() {
|
||||
if ($("qa-testrun-label").value != "") {
|
||||
litmus.lastTestRunSummary = $("qa-testrun-label").value;
|
||||
if ($("qa-testrun-label").label != "") {
|
||||
litmus.lastTestRunSummary = $("qa-testrun-label").label;
|
||||
litmus.lastTestGroupSummary = $("qa-testgroup-label").value;
|
||||
lastTestcaseIndex = $("testlist").selectedIndex;
|
||||
}
|
||||
@ -113,7 +113,7 @@
|
||||
if (litmus.lastTestRunSummary == "") return;
|
||||
|
||||
// this code is v. similar to readStateFromPref, but without an async call.
|
||||
$("qa-testrun-label").value = litmus.lastTestRunSummary;
|
||||
$("qa-testrun-label").label = litmus.lastTestRunSummary;
|
||||
$("qa-testgroup-label").value = litmus.lastTestGroupSummary;
|
||||
litmus.lastSubgroupObject = litmus.preDialogueSubgroupObject;
|
||||
litmus.lastTestcaseObject = litmus.preDialogTestcaseObject;
|
||||
@ -173,7 +173,7 @@
|
||||
qaPref.setPref(qaPref.prefBase + ".currentTestcase.testcaseIndex", index, "int");
|
||||
},
|
||||
readStateFromPref : function() {
|
||||
$("qa-testrun-label").value = qaPref.getPref(qaPref.prefBase + ".currentTestcase.testrunSummary", "char");
|
||||
$("qa-testrun-label").label = qaPref.getPref(qaPref.prefBase + ".currentTestcase.testrunSummary", "char");
|
||||
$("qa-testgroup-label").value = qaPref.getPref(qaPref.prefBase + ".currentTestcase.testgroupSummary", "char");
|
||||
litmus.currentSubgroupID = qaPref.getPref(qaPref.prefBase + ".currentTestcase.subgroupId", "int");
|
||||
litmus.disableAll();
|
||||
@ -222,7 +222,7 @@
|
||||
litmus.disableAll();
|
||||
litmus.getTestcase($("testlist").selectedItem.value, function(testcase) {
|
||||
litmus.populateTestcase(testcase);
|
||||
$('qa-testcase-progress').value =
|
||||
$('qa-testcase-progress').label =
|
||||
qaMain.bundle.getFormattedString('qa.extension.litmus.progress',
|
||||
[$("testlist").selectedIndex+1, $("testlist").getRowCount()]);
|
||||
litmus.undisableAll();
|
||||
@ -238,29 +238,33 @@
|
||||
};
|
||||
|
||||
for (var i = 0; i < testcases.length; i++) {
|
||||
var row = document.createElement("listitem");
|
||||
var row = document.createElement("richlistitem");
|
||||
row.value = testcases[i].testcase_id;
|
||||
|
||||
var checkbox = document.createElement("listcell");
|
||||
checkbox.setAttribute("label", "");
|
||||
checkbox.setAttribute("type", "checkbox");
|
||||
checkbox.setAttribute("disabled", "true");
|
||||
|
||||
var name = document.createElement("listcell");
|
||||
name.setAttribute("label", (i+1) + " -- " + testcases[i].summary);
|
||||
name.setAttribute("crop", "end");
|
||||
name.setAttribute("maxwidth", "175");
|
||||
name.setAttribute("flex", "1");
|
||||
|
||||
row.appendChild(checkbox);
|
||||
row.appendChild(name);
|
||||
menu.appendChild(row);
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
populateTestcase : function(testcase) {
|
||||
litmus.lastTestcaseObject = testcase;
|
||||
if (testcase == undefined) {
|
||||
return;
|
||||
}
|
||||
document.getElementById('qa-testcase-id').value =
|
||||
qaMain.bundle.getString("qa.extension.testcase.head")+testcase.testcase_id;
|
||||
document.getElementById('qa-testcase-summary').value = testcase.summary;
|
||||
document.getElementById('qa-testcase-id').value = "(" +
|
||||
qaMain.bundle.getString("qa.extension.testcase.head")+testcase.testcase_id + ")";
|
||||
document.getElementById('qa-testcase-summary').value = testcase.summary;
|
||||
|
||||
qaTools.writeSafeHTML('qa-testcase-steps', testcase.steps_formatted);
|
||||
qaTools.writeSafeHTML('qa-testcase-expected', testcase.expected_results_formatted);
|
||||
|
@ -40,7 +40,7 @@ var qaMain = {
|
||||
|
||||
openQATool : function() {
|
||||
window.open("chrome://qa/content/qa.xul", "_blank",
|
||||
"chrome,all,dialog=no,resizable=no");
|
||||
"chrome,all,dialog=no,resizable=yes");
|
||||
},
|
||||
onToolOpen : function() {
|
||||
if (qaPref.getPref(qaPref.prefBase+'.isFirstTime', 'bool') == true) {
|
||||
|
@ -53,8 +53,8 @@
|
||||
<window
|
||||
id="qa-mainwindow"
|
||||
title="&qa.mainwindow.title;"
|
||||
width="400"
|
||||
height="720"
|
||||
width="425px"
|
||||
height="750px"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload="qaMain.onToolOpen();">
|
||||
@ -84,26 +84,24 @@
|
||||
}, false);
|
||||
</script>
|
||||
|
||||
<tabbox id="qa_tabbox">
|
||||
<tabbox id="qa_tabbox" flex="1" pack="start" >
|
||||
<tabs id="qa_tabrow">
|
||||
<tab id="qa-tabbar-qmo" class="tabbrowser-tab" />
|
||||
<tab label="&qa.litmus.title;" class="tabbrowser-tab" />
|
||||
<tab label="&qa.bugzilla.title;" id="qa-tabbar-bugzilla" class="tabbrowser-tab" />
|
||||
<tab label="&qa.chat.title;" class="tabbrowser-tab" />
|
||||
<spacer id="qa-tabbar-spacer" />
|
||||
<spacer id="qa-tabbar-spacer"/>
|
||||
<tab label="&qa.preferences.title;" id="qa-tabbar-prefs" class="tabbrowser-tab" />
|
||||
<tab label="&qa.help.title;" class="tabbrowser-tab" />
|
||||
</tabs>
|
||||
<tabpanels id="qa_tabpanels">
|
||||
<tabpanel id="qa-tab-qmo"></tabpanel>
|
||||
<tabpanel id="qa-tab-litmus"></tabpanel>
|
||||
<tabpanel id="qa-tab-bugzilla"></tabpanel>
|
||||
<tabpanel id="qa-tab-chat"></tabpanel>
|
||||
|
||||
<tabpanel id="qa-tab-SPACER"></tabpanel>
|
||||
|
||||
<tabpanel id="qa-tab-settings"></tabpanel>
|
||||
<tabpanel id="qa-tab-help"></tabpanel>
|
||||
<tabpanels id="qa_tabpanels" flex="1">
|
||||
<tabpanel id="qa-tab-qmo" flex="1"></tabpanel>
|
||||
<tabpanel id="qa-tab-litmus" flex="1"></tabpanel>
|
||||
<tabpanel id="qa-tab-bugzilla" flex="1"></tabpanel>
|
||||
<tabpanel id="qa-tab-chat" flex="1"></tabpanel>
|
||||
<tabpanel id="qa-tab-SPACER" flex="1"></tabpanel>
|
||||
<tabpanel id="qa-tab-settings" flex="1"></tabpanel>
|
||||
<tabpanel id="qa-tab-help" flex="1"></tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</window>
|
||||
|
@ -60,7 +60,7 @@ var qaPrefsWindow = {
|
||||
prefCounter++;
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
savePrefsWindow : function() {
|
||||
// save notification settings
|
||||
var notify = $('qa-prefs-notify').childNodes;
|
||||
@ -216,11 +216,10 @@ var qaSetup = {
|
||||
litmus.validateLogin(uname, passwd, callback);
|
||||
return false; // not ready to advance yet
|
||||
},
|
||||
|
||||
|
||||
loadSysconfig : function() {
|
||||
$('qa-setup-sysconfig-loading').value =
|
||||
$("bundle_qa").getString("qa.extension.sysconfig.loadingMsg");
|
||||
|
||||
var guessInfo = function() {
|
||||
var sysconfig;
|
||||
try {
|
||||
|
@ -86,7 +86,7 @@ var bugzilla = {
|
||||
var name = document.createElement("listcell");
|
||||
name.setAttribute("label", bugarray[i][1]);
|
||||
name.setAttribute("crop", "end");
|
||||
name.setAttribute("maxwidth", "175");
|
||||
name.setAttribute("flex", "1");
|
||||
row.appendChild(number);
|
||||
row.appendChild(name);
|
||||
menu.appendChild(row);
|
||||
@ -121,7 +121,6 @@ var bugzilla = {
|
||||
var name = document.createElement("listcell");
|
||||
name.setAttribute("label", bugObj["title"]);
|
||||
name.setAttribute("crop", "end");
|
||||
name.setAttribute("maxwidth", "175");
|
||||
row.appendChild(number);
|
||||
row.appendChild(name);
|
||||
menu.appendChild(row);
|
||||
|
@ -43,74 +43,74 @@
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<tabpanel id="qa-tab-bugzilla">
|
||||
<vbox>
|
||||
<vbox flex="1">
|
||||
<label href="http://bugzilla.mozilla.org"
|
||||
value="Help us by filing and confirming bugs in Bugzilla"
|
||||
class="text-link" />
|
||||
|
||||
<groupbox>
|
||||
<caption label="Bug Search" />
|
||||
<radiogroup id = "qa-bugzilla-input-radiogroup"
|
||||
<radiogroup id = "qa-bugzilla-input-radiogroup"
|
||||
onselect="bugzilla.disableOther()">
|
||||
<hbox>
|
||||
<radio selected="true" id="qa-bugzilla-radio-id"
|
||||
label="Bug id:" width="100px" />
|
||||
<textbox width="200px" id="qa-bugzilla-input-id" />
|
||||
<radio class="bug-search" selected="true" id="qa-bugzilla-radio-id"
|
||||
label="Bug Id:" />
|
||||
<textbox id="qa-bugzilla-input-id" width="75px" />
|
||||
<spacer width="5px" />
|
||||
<radio class="bug-search" id="qa-bugzilla-radio-words"
|
||||
label="Keywords:" />
|
||||
<textbox disabled="true" id="qa-bugzilla-input-keywords" flex="1" />
|
||||
</hbox>
|
||||
<hbox><radio id="qa-bugzilla-radio-words" label="Keywords:" width="100px" />
|
||||
<textbox width="200px" disabled="true" id="qa-bugzilla-input-keywords" /> </hbox>
|
||||
</radiogroup>
|
||||
<hbox>
|
||||
<checkbox id="qa-bugzilla-input-os" label="Include OS" />
|
||||
<checkbox id="qa-bugzilla-input-version" label="Include Version" />
|
||||
</hbox>
|
||||
<spacer height="20px" />
|
||||
<hbox>
|
||||
<button label="Find!" oncommand="bugzilla.doSearch(); "/>
|
||||
<button label="Show all bugs filed today"
|
||||
oncommand="bugzilla.showRecent()"/></hbox>
|
||||
</radiogroup>
|
||||
<spacer height="5px" />
|
||||
<hbox>
|
||||
<label value="Filter by my:" />
|
||||
<checkbox id="qa-bugzilla-input-os" label="Operating System" />
|
||||
<spacer width="5px" />
|
||||
<checkbox id="qa-bugzilla-input-version" label="Product Version" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
label="Find!" oncommand="bugzilla.doSearch(); "/>
|
||||
<button style="padding-left: 2em; padding-right: 2em;"
|
||||
label="Show all bugs filed today" oncommand="bugzilla.showRecent()"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<listbox id="bugSearchList" onselect="bugzilla.handleSelect();"
|
||||
flex="1" seltype="single" maxheight="200px" height="200px">
|
||||
<listhead>
|
||||
<listheader label="Id"/>
|
||||
<listheader label="Summary"/>
|
||||
seltype="single" height="120px">
|
||||
<listhead>
|
||||
<listheader width="75px" label="Id"/>
|
||||
<listheader label="Summary"/>
|
||||
</listhead>
|
||||
|
||||
<listcols>
|
||||
<listcol/>
|
||||
<listcol flex="1"/>
|
||||
<listcol/>
|
||||
<listcol flex="1"/>
|
||||
</listcols>
|
||||
</listbox>
|
||||
<!-- <groupbox>
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-bz-bugzilla">
|
||||
</div>
|
||||
</groupbox> -->
|
||||
<groupbox>
|
||||
|
||||
<groupbox flex="1">
|
||||
<caption label= "Bug Summary" />
|
||||
<hbox>
|
||||
<label width="100px"> Bug id: </label>
|
||||
<label>Bug Id:</label>
|
||||
<textbox style="color:black" id="qa-bugzilla-output-id"
|
||||
width="197px" cols="31" disabled="true"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label width="100px"> Status: </label>
|
||||
width="75px" disabled="true"/>
|
||||
<spacer width="5px" />
|
||||
<label>Status:</label>
|
||||
<textbox style="color:black" id="qa-bugzilla-output-status"
|
||||
width="197px" cols="31" disabled="true"/>
|
||||
disabled="true" flex="1" />
|
||||
</hbox>
|
||||
|
||||
<textbox style="color:black" id="qa-bugzilla-output-summary"
|
||||
multiline="true" disabled="true" flex="1" />
|
||||
|
||||
<hbox>
|
||||
<label width="100px"> Summary: </label>
|
||||
<textbox style="color:black" id="qa-bugzilla-output-summary"
|
||||
width="197px" multiline="true" disabled="true" height="100px" rows="7"/> </hbox>
|
||||
<hbox>
|
||||
<spacer width="110px" />
|
||||
<button label="Show in Bugzilla" width="200px"
|
||||
oncommand="bugzilla.openInBugzilla();"/>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
label="Show in Bugzilla" oncommand="bugzilla.openInBugzilla();"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
<spacer height= "20px" />
|
||||
|
||||
|
||||
</vbox>
|
||||
</tabpanel>
|
||||
|
||||
</overlay>
|
||||
|
@ -54,29 +54,35 @@
|
||||
</script>
|
||||
|
||||
<tabpanel id="qa-tab-chat">
|
||||
<vbox>
|
||||
|
||||
<groupbox style="width:350px;">
|
||||
<vbox flex="1">
|
||||
<groupbox>
|
||||
<caption label="&qa.chat.introtitle;" />
|
||||
<description>&qa.chat.intro;</description>
|
||||
<spacer style="height: 1em;" />
|
||||
<description>&qa.chat.intro2;</description>
|
||||
</groupbox>
|
||||
|
||||
<groupbox style="width:350px;">
|
||||
<groupbox flex="1">
|
||||
<caption label="&qa.chat.howdoItitle;" />
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-forumposts">
|
||||
<ul>
|
||||
<li><a id="qa-chat-imo" href="&qa.chat.howdoI.imourl;" target="_blank">
|
||||
&qa.chat.howdoI.imo;</a>
|
||||
</li>
|
||||
<li><a id="qa-chat-irchelp" href="&qa.chat.howdoI.irchelpurl;" target="_blank">
|
||||
&qa.chat.howdoI.irchelp;</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<button style="margin-top: 12px; padding-left: 2em; padding-right: 2em;"
|
||||
oncommand="openQAChat();" label="&qa.chat.howdoI.joinnow;" />
|
||||
<hbox>
|
||||
<vbox>
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-chat-howto">
|
||||
<ul>
|
||||
<li><a id="qa-chat-imo" href="&qa.chat.howdoI.imourl;" target="_blank">
|
||||
&qa.chat.howdoI.imo;</a>
|
||||
</li>
|
||||
<li><a id="qa-chat-irchelp" href="&qa.chat.howdoI.irchelpurl;" target="_blank">
|
||||
&qa.chat.howdoI.irchelp;</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button style="margin-top: 10px; margin-left: 20px; padding-left: 2em; padding-right: 2em;"
|
||||
oncommand="openQAChat();" label="&qa.chat.howdoI.joinnow;" />
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<script type="application/x-javascript">
|
||||
|
@ -45,12 +45,13 @@
|
||||
|
||||
<script type="application/x-javascript" src="chrome://qa/content/tabs/qa.js" />
|
||||
<tabpanel id="qa-tab-help">
|
||||
<vbox>
|
||||
<vbox flex="1">
|
||||
<groupbox>
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-bz-bugzilla">
|
||||
Help coming soon.
|
||||
<caption label="Mozilla QA Help" />
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-help-info" flex="1">
|
||||
</div>
|
||||
</groupbox>
|
||||
|
||||
</vbox>
|
||||
</tabpanel>
|
||||
|
||||
|
@ -45,83 +45,83 @@
|
||||
<overlay id="qa-litmus-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<tabpanel id="qa-tab-litmus" onload="litmus.readStateFromPref();">
|
||||
|
||||
<vbox align="start" pack="start">
|
||||
<hbox align="start" pack="start">
|
||||
<vbox minwidth="150">
|
||||
<button maxwidth="110" label="&qa.litmus.selecttests;"
|
||||
oncommand="litmus.handleDialog()"
|
||||
style="margin-left: 4px;" />
|
||||
<label maxwidth="160" value="" id="qa-testrun-label"/>
|
||||
<label maxwidth="160" value="" id="qa-testgroup-label"/>
|
||||
<label maxwidth="160" value="" id="qa-subgroup-label"/>
|
||||
<label value="" />
|
||||
<label value="" id="qa-testcase-progress" />
|
||||
</vbox>
|
||||
<listbox rows="7" minwidth="200" onselect="litmus.handleSelect()"
|
||||
id="testlist">
|
||||
<listcols>
|
||||
<listcol />
|
||||
<listcol />
|
||||
</listcols>
|
||||
<listitem label="&qa.litmus.testlist.initiallabel;" />
|
||||
|
||||
</listbox>
|
||||
</hbox>
|
||||
<vbox>
|
||||
<hbox style="font-weight: bold;">
|
||||
<label id="qa-testcase-id" value="&qa.litmus.testlist.initialdescription;" />
|
||||
<label value="—" />
|
||||
<description id="qa-testcase-summary" maxwidth="230px" crop="end">
|
||||
</description>
|
||||
<vbox flex="1" >
|
||||
<groupbox>
|
||||
<caption label="" id="qa-testrun-label"/>
|
||||
<hbox>
|
||||
<vbox>
|
||||
<label value="" id="qa-testgroup-label" style="font-weight: bold;" crop="end"/>
|
||||
<label value="" id="qa-subgroup-label" style="font-weight: bold;" crop="end"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button label="&qa.litmus.selecttests;" oncommand="litmus.handleDialog()"
|
||||
style="padding-left: 2em; padding-right: 2em;" />
|
||||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
||||
</vbox>
|
||||
|
||||
|
||||
<vbox width="370px" minwidth="370px">
|
||||
<groupbox maxheight="130px" minwidth="370px" width="370px">
|
||||
<caption label="&qa.testcase.steps;" crop="end" maxwidth="200"/>
|
||||
<div xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="width: 350px; height: 140px; overflow: auto;"
|
||||
id="qa-testcase-steps" class="list"/>
|
||||
</groupbox>
|
||||
<splitter id="qa-mainwindow-splitter" state="open" collapse="none">
|
||||
<grippy/>
|
||||
</splitter>
|
||||
<groupbox maxheight="120px" minwidth="370px" width="370px">
|
||||
<caption label="&qa.testcase.expected;" />
|
||||
<div xmlns="http://www.w3.org/1999/xhtml"
|
||||
style="width: 350px; height: 120px; overflow: auto;"
|
||||
id="qa-testcase-expected" class="list"/>
|
||||
</groupbox>
|
||||
</vbox>
|
||||
<hbox>
|
||||
</groupbox>
|
||||
|
||||
<richlistbox id="testlist" onselect="litmus.handleSelect();" seltype="single" height="110px">
|
||||
<listcols>
|
||||
<listcol/>
|
||||
<listcol flex="1"/>
|
||||
</listcols>
|
||||
<richlistitem label="&qa.litmus.testlist.initiallabel;"/>
|
||||
</richlistbox>
|
||||
|
||||
<groupbox>
|
||||
<caption label="Result:" />
|
||||
<radiogroup id="qa-testcase-result">
|
||||
<radio id="qa-testcase-pass" label="&qa.testcase.result.pass;"/>
|
||||
<radio id="qa-testcase-fail" label="&qa.testcase.result.fail;"/>
|
||||
<radio id="qa-testcase-unclearBroken"
|
||||
label="&qa.testcase.result.unclearbroken;"/>
|
||||
</radiogroup>
|
||||
<caption label="" id="qa-testcase-progress"/>
|
||||
<hbox flex="1">
|
||||
<label id="qa-testcase-summary" value="" style="font-weight: bold;" crop="end" flex="1"/>
|
||||
<label id="qa-testcase-id" value="&qa.litmus.testlist.initialdescription;" crop="end" flex="1"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox flex="4" minheight="100px">
|
||||
<caption label="&qa.testcase.steps;" />
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="overflow: auto;"
|
||||
id="qa-testcase-steps" class="list" flex="1" minheight="100px"/>
|
||||
</groupbox>
|
||||
|
||||
<groupbox flex="3" minheight="75px">
|
||||
<caption label="&qa.testcase.expected;" />
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="overflow: auto;"
|
||||
id="qa-testcase-expected" class="list" flex="1" minheight="75px"/>
|
||||
</groupbox>
|
||||
|
||||
<groupbox>
|
||||
<caption control="qa-testcase-comment" label="&qa.testcase.comment;"/>
|
||||
<textbox id="qa-testcase-comment" rows="4" cols="30" multiline="true"
|
||||
class="plain"/>
|
||||
</groupbox>
|
||||
</hbox>
|
||||
<hbox flex="1" maxheight="30px">
|
||||
<button id="qa-mainwindow-previousButton" label="Previous"
|
||||
oncommand="litmus.prevButton()"/>
|
||||
<button id="qa-mainwindow-nextButton" label="Next (Submit)"
|
||||
oncommand="litmus.nextButton()"/>
|
||||
</hbox>
|
||||
<label id="qa-litmus-stats" value="" />
|
||||
<script type="application/x-javascript">
|
||||
this.addEventListener('load', litmus.loadStats, false);
|
||||
</script>
|
||||
<caption label="Test Result:" />
|
||||
<hbox flex="1">
|
||||
<vbox>
|
||||
<radiogroup id="qa-testcase-result">
|
||||
<radio id="qa-testcase-pass" label="&qa.testcase.result.pass;"/>
|
||||
<radio id="qa-testcase-fail" label="&qa.testcase.result.fail;"/>
|
||||
<radio id="qa-testcase-unclearBroken" label="&qa.testcase.result.unclearbroken;"/>
|
||||
</radiogroup>
|
||||
</vbox>
|
||||
<vbox flex="1">
|
||||
<hbox>
|
||||
<label value="Comment (optional): "/>
|
||||
<textbox id="qa-testcase-comment" flex="1"/>
|
||||
</hbox>
|
||||
<spacer flex="1"/>
|
||||
<hbox>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
id="qa-mainwindow-previousButton" label="Previous" oncommand="litmus.prevButton()"/>
|
||||
<button style="padding-left: 2em; padding-right: 2em;"
|
||||
id="qa-mainwindow-nextButton" label="Next (Submit)" oncommand="litmus.nextButton()"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox>
|
||||
<caption label="My Test Stats" />
|
||||
<label id="qa-litmus-stats" value=""/>
|
||||
<script type="application/x-javascript">
|
||||
this.addEventListener('load', litmus.loadStats, false);
|
||||
</script>
|
||||
</groupbox>
|
||||
</vbox>
|
||||
</tabpanel>
|
||||
|
||||
</overlay>
|
||||
</overlay>
|
@ -55,8 +55,7 @@ var qmo = {
|
||||
var item = items.queryElementAt(i, Ci.nsIFeedEntry);
|
||||
if (item != null) {
|
||||
qmo.populateLinkBox(postBox,
|
||||
[{text : item.title.plainText(), url : item.link.resolve("")}],
|
||||
64);
|
||||
[{text : item.title.plainText(), url : item.link.resolve("")}]);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -76,8 +75,7 @@ var qmo = {
|
||||
var item = items.queryElementAt(i, Ci.nsIFeedEntry);
|
||||
if (item != null) {
|
||||
qmo.populateLinkBox(eventBox,
|
||||
[{text : item.title.plainText(), url : item.link.resolve("")}],
|
||||
37);
|
||||
[{text : item.title.plainText(), url : item.link.resolve("")}]);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -49,7 +49,7 @@
|
||||
</script>
|
||||
|
||||
<tabpanel id="qa-tab-qmo">
|
||||
<vbox pack="start">
|
||||
<vbox flex="1">
|
||||
<hbox>
|
||||
<html:a href="http://quality.mozilla.org" target="blank">
|
||||
<image src='chrome://qa/skin/qmo-badge.png'
|
||||
@ -57,36 +57,35 @@
|
||||
margin-top: 3px; margin-left: 3px;' />
|
||||
</html:a>
|
||||
</hbox>
|
||||
|
||||
|
||||
<hbox class="box-mheight">
|
||||
<groupbox class="box-mheight">
|
||||
|
||||
<hbox>
|
||||
<groupbox>
|
||||
<caption label="&qa.qmo.help;" />
|
||||
<div class="box-mheight" xmlns="http://www.w3.org/1999/xhtml"
|
||||
id="qa-qmo-help">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml"
|
||||
id="qa-qmo-help" crop="end">
|
||||
</div>
|
||||
</groupbox>
|
||||
<groupbox class="box-mheight">
|
||||
<groupbox flex="1">
|
||||
<caption label="&qa.qmo.events;" />
|
||||
<div class="box-mheight" xmlns="http://www.w3.org/1999/xhtml"
|
||||
id="qa-qmo-events">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml"
|
||||
id="qa-qmo-events" flex="1" crop="end">
|
||||
<ul>
|
||||
</ul>
|
||||
</div>
|
||||
</groupbox>
|
||||
</hbox>
|
||||
|
||||
<groupbox>
|
||||
<caption label="&qa.qmo.forumposts;" />
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-forumposts">
|
||||
<ul>
|
||||
</ul>
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-forumposts" crop="end" flex="1">
|
||||
<ul>
|
||||
</ul>
|
||||
</div>
|
||||
</groupbox>
|
||||
|
||||
<groupbox id="qa-qmo-latestbox">
|
||||
<groupbox id="qa-qmo-latestbox" flex="1">
|
||||
<caption label="&qa.qmo.thelatest;" />
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-latest">
|
||||
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" id="qa-qmo-latest" crop="end" flex="1" overflow="auto">
|
||||
</div>
|
||||
</groupbox>
|
||||
|
||||
|
@ -51,24 +51,27 @@
|
||||
<tabpanel id="qa-tab-settings">
|
||||
<vbox flex="1">
|
||||
<groupbox>
|
||||
<caption label="&qa.preferences.litmus.title;" />
|
||||
<label control="qa-preferences-litmus-username"
|
||||
value="&qa.preferences.litmus.username;"/>
|
||||
<textbox id="qa-preferences-litmus-username" />
|
||||
<label control="qa-preferences-litmus-password"
|
||||
value="&qa.preferences.litmus.password;"/>
|
||||
<textbox id="qa-preferences-litmus-password" type="password" />
|
||||
<caption label="&qa.preferences.litmus.title;" />
|
||||
<hbox>
|
||||
<button id="qa-preferences-litmus-createAccount"
|
||||
<label control="qa-preferences-litmus-username"
|
||||
value="&qa.preferences.litmus.username;" width="60px" />
|
||||
<textbox id="qa-preferences-litmus-username" width="200px" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label control="qa-preferences-litmus-password"
|
||||
value="&qa.preferences.litmus.password;" width="60px" />
|
||||
<textbox id="qa-preferences-litmus-password" type="password" width="200px" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
id="qa-preferences-litmus-createAccount"
|
||||
label="&qa.preferences.litmus.createAccount;"
|
||||
oncommand="qaPrefsWindow.createAccount();" />
|
||||
oncommand="qaPrefsWindow.createAccount();"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<groupbox id="qa-prefs-notify">
|
||||
<groupbox id="qa-prefs-notify" flex="1">
|
||||
<caption label="&qa.preferences.notification.title;" />
|
||||
<checkbox id="qa-prefs-notify-disableall"
|
||||
label="&qa.preferences.notification.disableall;" />
|
||||
<description>&qa.preferences.notification.header;</description>
|
||||
<checkbox id="qa-prefs-notify-testday"
|
||||
label="&qa.preferences.notification.testday;" />
|
||||
@ -82,9 +85,7 @@
|
||||
label="&qa.preferences.notification.newbuild;" />
|
||||
<checkbox id="qa-prefs-notify-other"
|
||||
label="&qa.preferences.notification.other;" />
|
||||
</groupbox>
|
||||
</groupbox>
|
||||
</vbox>
|
||||
|
||||
</tabpanel>
|
||||
|
||||
</overlay>
|
||||
</overlay>
|
@ -11,7 +11,7 @@
|
||||
- for the specific language governing rights and limitations under the
|
||||
- License.
|
||||
-
|
||||
- The Original Code is Mozilla QA Extension Code.
|
||||
- The Original Code is Mozilla QA Companion Code.
|
||||
-
|
||||
- The Initial Developer of the Original Code is the Mozilla Corporation.
|
||||
- Portions created by the Initial Developer are Copyright (C) 2007
|
||||
@ -20,6 +20,7 @@
|
||||
- Contributor(s):
|
||||
- Zach Lipton <zach@zachlipton.com>
|
||||
- Ben Hsieh <bhsieh@mozilla.com>
|
||||
- Jay Patel <jay@mozilla.org>
|
||||
-
|
||||
- Alternatively, the contents of this file may be used under the terms of
|
||||
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
@ -36,17 +37,17 @@
|
||||
- ***** END LICENSE BLOCK ***** -->
|
||||
|
||||
<!ENTITY qa.litmus.title "Litmus">
|
||||
<!ENTITY qa.litmus.selecttests "Select Tests">
|
||||
<!ENTITY qa.litmus.selecttests "Select/Change Tests">
|
||||
<!ENTITY qa.litmus.testlist.initiallabel "No tests loaded, select some tests!">
|
||||
<!ENTITY qa.litmus.testlist.initialdescription "No testcase">
|
||||
<!ENTITY qa.statusbar.label "QA">
|
||||
<!ENTITY qa.mainwindow.prefs "Preferences">
|
||||
<!ENTITY qa.mainwindow.title "Mozilla QA">
|
||||
<!ENTITY qa.mainwindow.title "Mozilla QA Companion">
|
||||
<!ENTITY qa.testcase.steps "Steps to Perform">
|
||||
<!ENTITY qa.testcase.expected "Expected Results">
|
||||
<!ENTITY qa.testcase.result.pass "Test Passed">
|
||||
<!ENTITY qa.testcase.result.fail "Test Failed">
|
||||
<!ENTITY qa.testcase.result.unclearbroken "Test is unclear or broken">
|
||||
<!ENTITY qa.testcase.result.pass "Passed">
|
||||
<!ENTITY qa.testcase.result.fail "Failed">
|
||||
<!ENTITY qa.testcase.result.unclearbroken "Unclear or Broken">
|
||||
<!ENTITY qa.testcase.comment "Comment (optional):">
|
||||
|
||||
<!ENTITY qa.selecttests.load "Loading...">
|
||||
@ -57,17 +58,17 @@
|
||||
<!ENTITY qa.preferences.litmus.username "Email:">
|
||||
<!ENTITY qa.preferences.litmus.password "Password:">
|
||||
<!ENTITY qa.preferences.litmus.OK "Save">
|
||||
<!ENTITY qa.preferences.litmus.createAccount "Create New Account">
|
||||
<!ENTITY qa.preferences.litmus.createAccount "Create/Update Account">
|
||||
|
||||
<!ENTITY qa.preferences.notification.title "Notification Settings">
|
||||
<!ENTITY qa.preferences.notification.disableall "Disable all notifications">
|
||||
<!ENTITY qa.preferences.notification.header "Notify me when:">
|
||||
<!ENTITY qa.preferences.notification.testday "Mozilla QA is holding a test day event (biweekly)">
|
||||
<!ENTITY qa.preferences.notification.bugday "Mozilla QA is holding a bug triaging event (weekly)">
|
||||
<!ENTITY qa.preferences.notification.prerelease "My help is needed with pre-release testing">
|
||||
<!ENTITY qa.preferences.notification.qmo "There is new news from quality.mozilla.org">
|
||||
<!ENTITY qa.preferences.notification.newbuild "New builds of Firefox are recomended for testing">
|
||||
<!ENTITY qa.preferences.notification.other "There is a special QA announcement">
|
||||
<!ENTITY qa.preferences.notification.testday "Mozilla QA is holding a Test Day event">
|
||||
<!ENTITY qa.preferences.notification.bugday "Mozilla QA is holding a Bug Day event">
|
||||
<!ENTITY qa.preferences.notification.prerelease "I can help test pre-releases (alpha, beta, etc.)">
|
||||
<!ENTITY qa.preferences.notification.qmo "There is new news from QMO (quality.mozilla.org)">
|
||||
<!ENTITY qa.preferences.notification.newbuild "New releases/builds of Firefox are recommended">
|
||||
<!ENTITY qa.preferences.notification.other "There is a special Mozilla QA announcement">
|
||||
|
||||
<!ENTITY qa.qmo.title "QMO">
|
||||
<!ENTITY qa.qmo.visit "Visit QMO">
|
||||
@ -77,10 +78,10 @@
|
||||
<!ENTITY qa.qmo.thelatest "The latest from QMO">
|
||||
|
||||
|
||||
<!ENTITY qa.setup.title "Mozilla QA Extension: Setup">
|
||||
<!ENTITY qa.setup.welcomeheader "Welcome to the Mozilla QA Extension!">
|
||||
<!ENTITY qa.setup.title "Mozilla QA Companion: Setup">
|
||||
<!ENTITY qa.setup.welcomeheader "Welcome to the Mozilla QA Companion!">
|
||||
<!ENTITY qa.setup.welcometext "
|
||||
<html:h4>Welcome to the Mozilla Quality Assurance community!</html:h4>
|
||||
<html:h4>Welcome to the Mozilla QA community!</html:h4>
|
||||
Mozilla Quality Assurance (QA) is a network of countless volunteers
|
||||
from the Internet community, along with a group of Mozilla employees, who share
|
||||
the common mission of <html:i>taming the lizard</html:i> through testing and
|
||||
@ -98,15 +99,18 @@ and we use them to ensure that all features work properly across a wide range
|
||||
of platforms, operating systems, and configurations.
|
||||
|
||||
<html:h4>Why Should I Get Involved?</html:h4>
|
||||
xxx
|
||||
If you are a fan of Firefox and want to help us make it even better, the
|
||||
easiest way to get involved is to help us test! The Mozilla QA team and
|
||||
community play an important role in making sure millions of people have the
|
||||
best Web experience possible... so what are you waiting for? Join the Mozilla
|
||||
QA community now!
|
||||
|
||||
<html:h5>For more information on Mozilla Quality Assurance, please
|
||||
see
|
||||
<html:h5>For more information, please visit the home of Mozilla QA at
|
||||
<html:a href='http://quality.mozilla.org' target='_blank'>
|
||||
Quality.Mozilla.Org (QMO)</html:a>.</html:h5>
|
||||
quality.mozilla.org (QMO)</html:a>.</html:h5>
|
||||
">
|
||||
|
||||
<!ENTITY qa.setup.aboutheader "About the Mozilla QA Extension">
|
||||
<!ENTITY qa.setup.aboutheader "About the Mozilla QA Companion">
|
||||
<!ENTITY qa.setup.abouttext "
|
||||
<html:h4>How do I get started?</html:h4>
|
||||
Getting started with Mozilla QA is easy! This setup wizard will ask you a
|
||||
@ -116,11 +120,11 @@ results to Litmus. You'll also have a chance to learn about QA Community
|
||||
events and other ways to get involved.
|
||||
|
||||
<html:h4>A note on privacy</html:h4>
|
||||
When you use the QA Extension, you are submitting test results to an
|
||||
When you use the Mozilla QA Companion, you are submitting test results to an
|
||||
open system. Other members of the community will access the information you
|
||||
submit in order to improve the quality of Mozilla products. You
|
||||
<html:b>should not</html:b> submit any private or confidential information
|
||||
using the Mozilla QA Extension. If you provide your real name or an IRC nickname
|
||||
using the Mozilla QA Companion. If you provide your real name or an IRC nickname
|
||||
to display instead, we will hide your email address from
|
||||
public view to help prevent email harvesting bots from spamming you.
|
||||
For more information, please see our
|
||||
@ -131,7 +135,7 @@ privacy policy</html:a>.
|
||||
">
|
||||
|
||||
<!ENTITY qa.setup.accountheader "Creating an account">
|
||||
<!ENTITY qa.setup.accounttext "To use the QA Extension, you will need an account
|
||||
<!ENTITY qa.setup.accounttext "To use the Mozilla QA Companion, you will need an account
|
||||
on Litmus, our test management system.">
|
||||
<!ENTITY qa.setup.haveaccount "Do you already have a Litmus account?">
|
||||
<!ENTITY qa.setup.accountno "I do not have a Litmus account">
|
||||
@ -145,17 +149,16 @@ account is created, press the 'Continue' button to complete setup.">
|
||||
<html:h4>Account Created</html:h4>
|
||||
<html:b>Congratulations!</html:b> Your Litmus
|
||||
account has been created. You'll be able to use your new account both here in
|
||||
the QA Extension, and on the Litmus website.
|
||||
the Mozilla QA Companion, and on the <html:a href='http://litmus.mozilla.org'>Litmus</html:a> website.
|
||||
|
||||
<html:h4>That's it!</html:h4>
|
||||
<html:b>You're ready to start testing.</html:b> If you have any questions along
|
||||
the way, you may post to the
|
||||
<html:a href='http://weblogs.mozillazine.org/qa/' target='_blank'>Mozilla QA Blog
|
||||
</html:a>, or, if you prefer, you can join us on
|
||||
<html:a href='http://quality.mozilla.org/forums' target='_blank'>QMO Forums
|
||||
</html:a> or join us on
|
||||
<html:a href='http://irc.mozilla.org' target='_blank'>IRC</html:a> (Internet Relay
|
||||
Chat) and become more involved in our testing community.
|
||||
We are in #qa on irc.mozilla.org. If you have an irc client installed already,
|
||||
you should be able to join by clicking this link: <html:a href='irc://irc.mozilla.org/qa'>
|
||||
We are in #qa on irc.mozilla.org. You can click the Join IRC Now button in the Chat tab or if you have an IRC client installed already, you can join by clicking this link: <html:a href='irc://irc.mozilla.org/qa'>
|
||||
join #qa</html:a>.
|
||||
">
|
||||
|
||||
|
@ -41,5 +41,5 @@ qa.extension.prefs.loadingMsg = Validating account information. Please Wait...
|
||||
qa.extension.prefs.savedMsg = Your settings have been saved
|
||||
qa.extension.sysconfig.loadingMsg = Loading menu options...
|
||||
qa.extension.loading = Loading...
|
||||
qa.extension.litmus.progress = Test %1$S of %2$S
|
||||
qa.extension.litmus.stats = My tests run - week: %1$S, month: %2$S, all time: %3$S
|
||||
qa.extension.litmus.progress = Now Testing %1$S of %2$S
|
||||
qa.extension.litmus.stats = Tests Completed - Week: %1$S, Month: %2$S, All Time: %3$S
|
@ -101,7 +101,7 @@ html|li {
|
||||
|
||||
#qa_tabbox #qa-tabbar-qmo {
|
||||
list-style-image: url(qmo-16px.png);
|
||||
text-align: center;
|
||||
text-align: right;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
@ -181,18 +181,13 @@ tab:focus > .tab-middle {
|
||||
|
||||
#qa-qmo-help,
|
||||
#qa-qmo-events,
|
||||
#qa-qmo-forumposts,
|
||||
.box-mheight {
|
||||
max-height: 130px;
|
||||
height: 130px;
|
||||
}
|
||||
#qa-qmo-forumposts {
|
||||
width: 290px;
|
||||
}
|
||||
#qa-qmo-latestbox {
|
||||
height: 200px;
|
||||
width: 290px;
|
||||
overflow: auto;
|
||||
margin-right: 12px;
|
||||
|
||||
#qa-qmo-latestbox,
|
||||
#qa-qmo-latest {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user