Skip to content

Conversation

@mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Jul 22, 2022

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

image

@mattseddon mattseddon added the bug Something isn't working label Jul 22, 2022
@mattseddon mattseddon self-assigned this Jul 22, 2022
@mattseddon mattseddon force-pushed the fix-context-menu-divider-placement branch from e3d4a25 to 6d8ae27 Compare July 22, 2022 02:12
}
WithContextMenu.play = async ({ canvasElement }) => {
const experiment = await within(canvasElement).findByText('[exp-e7a67]')
userEvent.click(experiment, {
Copy link
Contributor Author

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.

@mattseddon mattseddon marked this pull request as ready for review July 22, 2022 03:07
@mattseddon mattseddon enabled auto-merge (squash) July 22, 2022 21:20
@mattseddon mattseddon disabled auto-merge July 22, 2022 21:20
MessageFromWebviewType.VARY_EXPERIMENT_PARAMS_AND_RUN,
!isNotCheckpoint,
!hideVaryAndRun
!isNotCheckpoint
Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@qlty-cloud-legacy
Copy link

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.

@mattseddon mattseddon merged commit e47742a into main Jul 23, 2022
@mattseddon mattseddon deleted the fix-context-menu-divider-placement branch July 23, 2022 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants