Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Add intermediate count column to show trial progress #1408

Merged
merged 5 commits into from
Aug 5, 2019

Conversation

lvybriage
Copy link
Contributor

@lvybriage lvybriage commented Aug 4, 2019

related changes:

  • image

  • image

  • image

  • image

} else {
flagKill = false;
}
const flag: boolean = trialStatus === 'RUNNING' ? false : true;
Copy link
Contributor

@liuzhe-lz liuzhe-lz Aug 5, 2019

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');

Copy link
Contributor Author

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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hyphen

Copy link
Contributor Author

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

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

Copy link
Contributor Author

@lvybriage lvybriage Aug 5, 2019

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

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?

Copy link
Contributor Author

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

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);
    }
});

@liuzhe-lz liuzhe-lz merged commit f23f8a0 into microsoft:master Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants