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

#962 Bulk connectors ops #3473

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

#962 Bulk connectors ops #3473

wants to merge 11 commits into from

Conversation

kamsharipova
Copy link
Contributor

@kamsharipova kamsharipova commented Mar 9, 2023

  • Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)

Is there anything you'd like reviewers to focus on?

How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

  • No need to
  • Manually (please, describe, if necessary)
  • Unit checks
  • Integration checks
  • Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
  • My changes generate no new warnings (e.g. Sonar is happy)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Check out Contributing and Code of Conduct

A picture of a cute animal (not mandatory but encouraged)

@kamsharipova kamsharipova requested a review from Haarolean March 9, 2023 18:19
@kamsharipova kamsharipova requested a review from a team as a code owner March 9, 2023 18:19
@kamsharipova kamsharipova self-assigned this Mar 9, 2023
@Haarolean Haarolean added type/enhancement En enhancement to an already existing feature scope/frontend labels Mar 9, 2023
>
Pause
</ActionCanButton>
<ActionCanButton
Copy link
Contributor

Choose a reason for hiding this comment

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

<ActionButton please check this component , because the <ActionCanButton is just so we would be able to use some very custom selectors together.

use <ActionButton and it has a permisson props , please check that.

so we will have a uniform way for doing the permission.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ActionButton is only capable on checking permissions on one entity, but collection. I need either modify the way we operate permissions in ActionButton or use ActionCanButton or I can create new component ActionOnCollectionButton and implement those permissions use there. WDYT is the best way?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Mgrdich any thoughts here?

Copy link
Contributor

Choose a reason for hiding this comment

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

I will think about it and get back to you.

@Haarolean Haarolean linked an issue Mar 14, 2023 that may be closed by this pull request
@Haarolean Haarolean marked this pull request as draft March 15, 2023 13:51
@Haarolean Haarolean assigned sasunprov and unassigned kamsharipova Apr 3, 2023
const link = await screen.findByRole('cell', {name: 'hdfs-source-connector'});

await userEvent.click(link);
await waitFor(() => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Mgrdich Could you please take a look on this test? I'm struggling to fix it even though the link itself works when tested manually

Copy link
Contributor Author

Choose a reason for hiding this comment

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

or @sasunprov maybe you'll have some time since you're assigned to the issue.

Copy link
Contributor

Choose a reason for hiding this comment

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

@kamsharipova we'll take a look :)

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe it works when you run it on its own, because there are globals mock that are not being reset-ted normally in the upper describe block.

please check that and you can use beforeEach afterEach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/frontend type/enhancement En enhancement to an already existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bulk operations on Connectors in KafkaConnect views
4 participants