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

Allow CatalogEntityDetails to be opened anywhere #6939

Merged
merged 6 commits into from
Mar 7, 2023

Conversation

Nokel81
Copy link
Collaborator

@Nokel81 Nokel81 commented Jan 13, 2023

Signed-off-by: Sebastian Malton sebastian@malton.name

Also expose this functionality to the extension API.

resolves #4963

@Nokel81 Nokel81 added the enhancement New feature or request label Jan 13, 2023
@Nokel81 Nokel81 added this to the 6.4.0 milestone Jan 13, 2023
@Nokel81 Nokel81 requested a review from a team as a code owner January 13, 2023 20:47
@Nokel81 Nokel81 requested review from jansav and jim-docker and removed request for a team January 13, 2023 20:47
@Nokel81 Nokel81 force-pushed the catalog-entity-details-anywhere branch from bdbfaf2 to 4364c9c Compare January 17, 2023 21:17
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@Nokel81 Nokel81 modified the milestones: 6.4.0, 6.5.0 Jan 26, 2023
@Nokel81 Nokel81 force-pushed the catalog-entity-details-anywhere branch from 4364c9c to 46265dd Compare January 26, 2023 18:55
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

Copy link
Contributor

@jim-docker jim-docker left a comment

Choose a reason for hiding this comment

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

doing some testing

@@ -0,0 +1,19 @@
/**
Copy link
Contributor

Choose a reason for hiding this comment

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

injectable creep? So many injectables

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2023

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2023

Conflicts have been resolved. A maintainer will review the pull request shortly.

@@ -129,6 +133,7 @@ describe("opening catalog entity details panel", () => {
describe("when opening the menu 'some-kubernetes-cluster'", () => {
beforeEach(() => {
rendered.getByTestId("icon-for-menu-actions-for-catalog-for-some-entity-id").click();
advanceFakeTime(1000);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the 1000ms something special here? The name of describe doesn't really provide any information and I would have to dig deeper in the code. What happens after 999ms?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is to cover animations

Copy link
Contributor

@jansav jansav left a comment

Choose a reason for hiding this comment

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

Advancing of the fake time is not clear in the behavioural tests. I would like to see what happens after e.g. 999ms and 1000ms so that I can immediately see what's the time were waiting for. Also it would start bringing up more corner cases, e.g. what happens if I click something twice which does something only after 1000ms.

@Nokel81 Nokel81 merged commit 0084af5 into master Mar 7, 2023
@Nokel81 Nokel81 deleted the catalog-entity-details-anywhere branch March 7, 2023 15:10
@Nokel81 Nokel81 mentioned this pull request Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow extensions to toggle the entity details panel
3 participants