-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] Display dynamic columns in static HTML #4172
Conversation
14ab2f2
to
971ff33
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be merged if my nitpicks are not worthy of fixing.
@@ -16,7 +16,12 @@ var BugList = { | |||
}, | |||
|
|||
_cmp3 : function (a, b) { | |||
return a < b ? -1 : a > b ? 1 : 0; | |||
if (a === null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much readable, thanks
@@ -138,6 +151,18 @@ var BugList = { | |||
review_col.appendChild(document.createTextNode(data['review-status'])); | |||
row.appendChild(review_col); | |||
|
|||
var testcase_col = document.createElement('td'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to use variables declared with let
as they are less bugprone for the avg. developer. (or use const
if they are not modified.)
fabfb25
to
8f7e682
Compare
"CodeChecker parse -e html" command produces a static HTML that displays the reports. However, the dynamic analysis related columns were missing from this table: testcase and timestamp are now displayed too, if any.
8f7e682
to
96549b3
Compare
"CodeChecker parse -e html" command produces a static HTML that displays
the reports. However, the dynamic analysis related columns were missing
from this table: testcase and timestamp are now displayed too, if any.
Note: this PR consists of 2 commits. The first one is deployed in another PR (#4168). After that's merged, this one can be rebased.