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

Implement accept and batch accept actions using reviewTest mutation #16

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Jul 16, 2023

This hooks up the Accept button to the reviewTest mutation, and implements a dropdown menu for batch accept actions.

📦 Published PR as canary version: 0.0.4-canary.16.d0c744e.0

✨ Test out this PR locally via:

npm install @chromaui/addon-visual-tests@0.0.4-canary.16.d0c744e.0
# or 
yarn add @chromaui/addon-visual-tests@0.0.4-canary.16.d0c744e.0

@linear
Copy link

linear bot commented Jul 16, 2023

AP-3351 Trigger appropriate mutation when clicking Accept or Batch button

In the panel of the Visual Tests addon.

Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

LGTM. I guess we wait to deploy https://github.com/chromaui/chromatic/pull/7487 before merging this?

src/components/icons/ProgressIcon.tsx Outdated Show resolved Hide resolved
src/screens/VisualTests/VisualTests.tsx Show resolved Hide resolved
@ghengeveld ghengeveld merged commit d0c744e into main Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants