-
Notifications
You must be signed in to change notification settings - Fork 29
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
Show experiment names in comparison table headers (#1614) #1730
Conversation
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.
Let's merge this and follow up on the improvements mentioned.
- crop title
- remove commented code
- add extra field for checkpoints
.experimentName { | ||
color: $meta-cell-color; | ||
// font-size: 0.8em; | ||
// line-height: 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.
[I] Let's delete these if we aren't using them.
extension/src/plots/model/index.ts
Outdated
@@ -177,8 +177,9 @@ export class PlotsModel extends ModelWithPersistence { | |||
this.comparisonOrder, | |||
this.experiments | |||
.getSelectedRevisions() | |||
.map(({ label: revision, displayColor }) => ({ | |||
.map(({ label: revision, displayColor, displayNameOrParent }) => ({ |
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.
[C] I asked the question in the ticket as to whether this will be enough (it doesn't provide the name of the experiment if a checkpoint is not the checkpoint_tip i.e the last iteration). We'll need to follow up and add another field to provide the extra information where it is needed.
I think that we will need to display it whenever the checkpoint is shown outside of the logical group. For example in the comparison table. We will also need it when we come to add the new header section in the plots webview:
@shcheklein @mattseddon What should be shown in the ribbons? The root name ( |
5aed172
to
9c83f25
Compare
e5a05e5
to
1f77030
Compare
Code Climate has analyzed commit 1f77030 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 96.7% (0.0% change). View more on Code Climate. |
For this particular example, my suggestion would be to leave the link to the previous experiment in the table/tree view and use the current experiment name for the plots view (i.e show |
|
||
// if (!experiment) { | ||
// return | ||
// } |
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.
[Q] What happened here?
This PR will show the
displayNameOrParent
property of the selected experiment revisions in the comparison table webview when they are available.Issue