-
Notifications
You must be signed in to change notification settings - Fork 28
Move divider to top of group in experiments table context menu #2083
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
Conversation
e3d4a25 to
6d8ae27
Compare
| } | ||
| WithContextMenu.play = async ({ canvasElement }) => { | ||
| const experiment = await within(canvasElement).findByText('[exp-e7a67]') | ||
| userEvent.click(experiment, { |
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.
The context menu appears to the left of the element clicked on. I spent about 30 minutes looking into a fix. I don't think there is much value in spending any more time looking.
| MessageFromWebviewType.VARY_EXPERIMENT_PARAMS_AND_RUN, | ||
| !isNotCheckpoint, | ||
| !hideVaryAndRun | ||
| !isNotCheckpoint |
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.
This needs a divider when there are no checkpoints.
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.
This is hard to read.
…tive/vscode-dvc into fix-context-menu-divider-placement
|
Code Climate has analyzed commit 112b940 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. |
When demoing the experiments table yesterday I noticed that one of the context menu dividers was in the wrong place. This PR fixes the issue and adds a context menu story.
Screenshot