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

chore(content-explorer): Migrate deleteConfirmationDialog #3696

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greg-in-a-box
Copy link
Contributor

@greg-in-a-box greg-in-a-box commented Oct 4, 2024

before

image

after

image

@greg-in-a-box greg-in-a-box marked this pull request as ready for review October 4, 2024 18:16
@greg-in-a-box greg-in-a-box requested review from a team as code owners October 4, 2024 18:16
Copy link
Contributor

@tjuanitas tjuanitas left a comment

Choose a reason for hiding this comment

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

small things

<Modal onOpenChange={onCancel} open={isOpen}>
<Modal.Content
aria-label={formatMessage(messages.deleteDialogLabel)}
className="bce-DeleteConfirmationDialog"
Copy link
Contributor

Choose a reason for hiding this comment

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

is this class needed?

Comment on lines 20 to 25
isOpen,
onDelete,
onCancel,
item,
isLoading,
parentElement,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: alphasort

Comment on lines 51 to 53
</Modal.Footer>
</Modal.Content>
Copy link
Contributor

Choose a reason for hiding this comment

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

the rename dialog also includes a close button, do we need it here?

Copy link
Contributor

Choose a reason for hiding this comment

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

when the modal is opened, what is the element that is focused?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

close is focused, confirmed by hitting enter and a console.log after its open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants