Skip to content

Conversation

@suratdas
Copy link
Collaborator

@suratdas suratdas commented Oct 7, 2021

@suratdas suratdas requested a review from pashidlos October 8, 2021 00:00
<IconButton
disabled={!selectedRectId || ignoreAreas.length === 0}
onClick={() => applyIgnoreArea()}
onClick={() => setApplyIgnoreDialogOpen(!applyIgnoreDialogOpen)}
Copy link
Member

Choose a reason for hiding this comment

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

could reuse toggleApplyIgnoreDialogOpen?

/>
<BaseModal
open={applyIgnoreDialogOpen}
title={''}
Copy link
Member

Choose a reason for hiding this comment

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

you could reuse text from tooltip
line 362Apply selected ignore area to all images in this build.

onCancel={toggleApplyIgnoreDialogOpen}
content={
<Typography>
{`Are you sure you want to apply ignore area to all items in this build?`}
Copy link
Member

Choose a reason for hiding this comment

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

drop a note that all images gonna be re-compared with new ignore area taken into account

@suratdas suratdas requested a review from pashidlos October 8, 2021 17:58
@suratdas
Copy link
Collaborator Author

suratdas commented Oct 8, 2021

Fixed review comments.

Copy link
Member

@pashidlos pashidlos left a comment

Choose a reason for hiding this comment

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

LGTM!

@pashidlos pashidlos merged commit 960414a into master Oct 10, 2021
@pashidlos pashidlos deleted the issue-317-fix branch October 10, 2021 06:05
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.

TestRunDetails. Add confirmation for copy ignore area to all images

3 participants