Skip to content
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

Remove click listener from experiment name and sha #4543

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Aug 20, 2023

Closes #4534

Demo

Screen.Recording.2023-08-21.at.8.25.02.am.mov

@mattseddon mattseddon added the bug Something isn't working label Aug 20, 2023
@mattseddon mattseddon self-assigned this Aug 20, 2023
testClick(screen.getByText('[exp-e7a67]'), 'exp-e7a67')
})

it('should send a message to the extension to toggle an experiment when Enter or Space is pressed on the row', () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

[F] I spent 20-30 minutes trying to fix this test but could not come up with anything that worked. The behaviour does work.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe I'm misunderstanding this feature, but when I tabbed onto a table row and pressed enter/space nothing was toggled 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Focus needs to be on the plot icon. I'll record a demo later

Copy link
Member Author

Choose a reason for hiding this comment

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

Screen.Recording.2023-08-22.at.8.00.05.am.mov

@mattseddon mattseddon marked this pull request as ready for review August 21, 2023 00:21
@mattseddon mattseddon enabled auto-merge (squash) August 21, 2023 19:24
@codeclimate
Copy link

codeclimate bot commented Aug 21, 2023

Code Climate has analyzed commit c8fd82a 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 95.2% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 1c7481b into main Aug 21, 2023
@mattseddon mattseddon deleted the fix-4534 branch August 21, 2023 20:21
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.

Double click to highlight SHA of table row toggles plot
2 participants