-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-31074 Refactor ECL Archive Widget to React #18199
HPCC-31074 Refactor ECL Archive Widget to React #18199
Conversation
https://track.hpccsystems.com/browse/HPCC-31074 |
fc1b80d
to
cb90461
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.
@GordonSmith mentioned a couple of small issues. I also added a comment to the Jira with a screenshot about differences I noticed when comparing this branch to a previous version (which would have been 9.4.18 in my case).
cb90461
to
ebd16d9
Compare
5165b18
to
fcdacf2
Compare
@jeclrsg - this is ready for review now... |
fcdacf2
to
d1cd17e
Compare
@jeclrsg bump |
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.
@GordonSmith two or three small things. Looks good though.
if (!this.sourcePath_TimeTotalExecute[definition.filePath]) { | ||
this.sourcePath_TimeTotalExecute[definition.filePath] = { total: 0, line: {} }; | ||
} | ||
// if (idx === 0) { |
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.
a couple of lines of commented out code here?
const { fileTimePct, content, ...treeItemProps } = flatTreeItem.getTreeItemProps(); | ||
return <TreeItem {...treeItemProps} onClick={onClick}> | ||
<TreeItemLayout | ||
// expandIcon={ |
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.
a bit of commented out code
}; | ||
|
||
const nestedFilterDefault: WUDetails.RequestNS.NestedFilter = { | ||
Depth: 999999, |
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.
Default should be 0?
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.
Not here - really it should match: https://github.com/hpcc-systems/HPCC-Platform/blob/master/esp/src/src/ECLArchiveWidget.ts#L172-L201
I will tweak...
Fixes resize issue with ECL Archive Widget. Also is first step for direct link to lines of ECL Code https://track.hpccsystems.com/browse/HPCC-30997 Signed-off-by: Gordon Smith <[email protected]>
d1cd17e
to
840ae72
Compare
@jeclrsg - please re-review |
Fixes resize issue with ECL Archive Widget. Also is first step for direct link to lines of ECL Code (from metrics and error/warning messages).
Type of change:
Checklist:
Smoketest:
Testing: