diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-04-26 12:20:05 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-04-26 12:20:05 +0200 |
commit | 6eef226036171d9cad65a1058a56d9e5250d820b (patch) | |
tree | 133d31ad95bc2fea963af8aab4d5bbdf31319406 | |
parent | 1dce63de5a30aa7bd6ce2cbf3169476698f6ef16 (diff) | |
download | bugzilla-triage-6eef226036171d9cad65a1058a56d9e5250d820b.tar.gz |
fix issue 30 ... new format of Xorg.0.log
-rw-r--r-- | bugzillaBugTriage.js | 36 | ||||
-rw-r--r-- | bugzillaComments.js | 4 |
2 files changed, 24 insertions, 16 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index 8c39590..56523c1 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -11,15 +11,23 @@ jetpack.future.import("clipboard"); // http://en.wikipedia.org/wiki/HSL_color_space // when only the value of S is changed // stupido!!! the string is value in hex for each color -const RHColor = new Color(158, 41, 43); // RGB 158, 41, 43; HSL 359, 1, 39 -const FedoraColor = new Color(0, 40, 103); // RGB 0, 40, 103; HSL 359, 1, 39 -const RawhideColor = new Color(0, 119, 0); // or "green", or RGB 0, 119, 0, or HSL +const +RHColor = new Color(158, 41, 43); // RGB 158, 41, 43; HSL 359, 1, 39 +const +FedoraColor = new Color(0, 40, 103); // RGB 0, 40, 103; HSL 359, 1, 39 +const +RawhideColor = new Color(0, 119, 0); // or "green", or RGB 0, 119, 0, or HSL // 120, 0, 23 -const RHITColor = new Color(102, 0, 102); // RGB 102, 0, 102; HSL 300, 0, 20 -const SalmonPink = new Color(255, 224, 176); // RGB 255, 224, 176; HSL 36, 2, 85 -const ReporterColor = new Color(255, 255, 166); // RGB 255, 255, 166; HSL 60, 2, 83 -const EmptyLogsColor = new Color(0, 255, 0); -const FullLogsColor = FedoraColor; +const +RHITColor = new Color(102, 0, 102); // RGB 102, 0, 102; HSL 300, 0, 20 +const +SalmonPink = new Color(255, 224, 176); // RGB 255, 224, 176; HSL 36, 2, 85 +const +ReporterColor = new Color(255, 255, 166); // RGB 255, 255, 166; HSL 60, 2, 83 +const +EmptyLogsColor = new Color(0, 255, 0); +const +FullLogsColor = FedoraColor; var Luminosity = 0.85; var Desaturated = 0.4; @@ -1391,9 +1399,9 @@ BzPage.prototype.queryUpstream = function() { text = jetpack.clipboard.get(); } if (text) { - var text = encodeURIComponent(text.trim()); - var url = filterByRegexp(queryUpstreamBugsURLArray,this.component); - jetpack.tabs.open(url+text); + var text = encodeURIComponent(text.trim()); + var url = filterByRegexp(queryUpstreamBugsURLArray, this.component); + jetpack.tabs.open(url + text); } } @@ -1959,9 +1967,9 @@ BzPage.prototype.buildButtons = function(above, below) { } if (queryUpstreamBugsURLArray) { console.log("Adding upstream query search box"); - if (filterByRegexp(queryUpstreamBugsURLArray,this.component)) { - this.addNewButton(brElementPlacer, "upstreamqueryintab", "Query upstream", - "", "QUERYUP", "", false); + if (filterByRegexp(queryUpstreamBugsURLArray, this.component)) { + this.addNewButton(brElementPlacer, "upstreamqueryintab", + "Query upstream", "", "QUERYUP", "", false); } } // Button for upstreaming diff --git a/bugzillaComments.js b/bugzillaComments.js index 6ae3e81..24b6864 100644 --- a/bugzillaComments.js +++ b/bugzillaComments.js @@ -142,7 +142,7 @@ BaseBugzilla.prototype = { " <label for='comment_action'>Add Comment: </label>" + " <select id='comment_action'>" + " <option value=''>-- Select Comment from List --</option>" + - "</div>", this.doc); + "</div>", this.doc) $("#comments", this.doc).append(ca); let select = $("#comment_action", this.doc); @@ -325,7 +325,7 @@ RedhatBugzilla.prototype = { //////////////////////////////////////////////////////////////// const bzMap = { "https://bugzilla.mozilla.org/show_bug.cgi": MozillaBugzilla, - "https://bugzilla.redhat.com/show_bug.cgi": RedhatBugzilla + "https://bugzilla.redhat.com/show_bug.cgi": RedhatBugzilla, }; function figureOutBugzilla(doc) { |