Skip to content
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

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

bruntib
Copy link
Contributor

@bruntib bruntib commented Feb 25, 2024

"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.

@bruntib bruntib added this to the release 6.24.0 milestone Feb 25, 2024
@bruntib bruntib requested a review from Szelethus February 25, 2024 15:05
@bruntib bruntib requested a review from vodorok as a code owner February 25, 2024 15:05
@bruntib bruntib force-pushed the static_html_dynamic branch from 14ab2f2 to 971ff33 Compare March 27, 2024 14:17
Copy link
Contributor

@vodorok vodorok left a 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)
Copy link
Contributor

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');
Copy link
Contributor

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.)

@bruntib bruntib force-pushed the static_html_dynamic branch 7 times, most recently from fabfb25 to 8f7e682 Compare April 16, 2024 09:16
"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.
@bruntib bruntib force-pushed the static_html_dynamic branch from 8f7e682 to 96549b3 Compare April 16, 2024 09:21
@bruntib bruntib merged commit 8f08fa8 into Ericsson:master Apr 16, 2024
7 of 8 checks passed
@bruntib bruntib deleted the static_html_dynamic branch April 16, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants