-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Chevron icon before table row and TableList refactoring #2900
Chevron icon before table row and TableList refactoring #2900
Conversation
minWidth: columnWidth * 4, | ||
maxWidth: columnWidth * 10, | ||
isResizable: true, | ||
onColumnClick: this._onColumnClick.bind(this), |
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.
when page auto refresh, these trials sorted status will be reset. so you could use this function in render(): example
if (a[key] === undefined) { | ||
return 1; | ||
} | ||
if (b[key] === undefined) { | ||
return -1; |
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.
because default metric column may be NaN | Infinity or others, so you should change it back. example
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.
Updated and refactored this part. Please check.
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.
Please check the number column sort: duration and default metric.
|
class ExpandableDetails extends React.Component<ExpandableDetailsProps, ExpandableDetailsState> { | ||
constructor(props: ExpandableDetailsProps) { | ||
super(props); | ||
this.state = { isExpand: false }; |
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.
seems like that you don't use this.state.isExpand
minWidth: columnWidth * 4, | ||
maxWidth: columnWidth * 10, |
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.
you can try this size:
minWidth: columnWidth * 13,
maxWidth: columnWidth * 18,
Will do in this PR.
Should fix (high prior):
Should test:
Known issues (low pri):
s[0]
undefined in Compare when closing sometimes.