-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add intermediate count column to show trial progress #1408
Conversation
} else { | ||
flagKill = false; | ||
} | ||
const flag: boolean = trialStatus === 'RUNNING' ? false : true; |
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.
const flag: boolean = (trialStatus !== 'RUNNING');
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.
Ok.
// placeholder="range" | ||
ref={input => this.minValInput = input} | ||
/> | ||
<span className="heng">-</span> |
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.
hyphen
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.
Ok.
} | ||
}); | ||
showTitle = COLUMN.concat(want); | ||
if (item.length <= 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.
could add comments here to explain why check whether item.length is smaller than 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.
maybe have some questions... I'll test an experiment with dic final keys.
} else { | ||
flagKill = false; | ||
} | ||
const flag: boolean = trialStatus === 'RUNNING' ? false : true; |
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.
code refactor, or logic change?
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.
It's code refactor.
if (item[key] !== 'default') { | ||
want.push(item[key]); | ||
} | ||
}); |
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.
item.forEach(value => {
if (value !== 'default') {
want.push(value);
}
});
related changes: