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

CNV-45822: Tree view part 1 #2248

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

avivtur
Copy link
Member

@avivtur avivtur commented Nov 5, 2024

📝 Description

Adding a tree view display to VM perspective

NOTE: The transition from a single VM to a folder view which filters the VMs by folder is not working for now.

🎥 Demo

Admin:
option1-tree-view
op

Non-admin: (all projects does not appear)

option1-tree-view-closed-non-admin
option1-tree-view-non-admin

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Nov 5, 2024

@avivtur: This pull request references CNV-45822 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target either version "4.18." or "openshift-4.18.", but it targets "CNV v4.18.0" instead.

In response to this:

📝 Description

Adding a tree view display to VM perspective

🎥 Demo

Please add a video or an image of the behavior/changes

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from metalice and upalatucci November 5, 2024 16:07
@openshift-ci openshift-ci bot added the approved This issue is something we want to fix label Nov 5, 2024
@avivtur avivtur force-pushed the vm-tree-view-1 branch 5 times, most recently from 871c545 to 0d51a7c Compare November 8, 2024 10:08
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Nov 8, 2024

@avivtur: This pull request references CNV-45822 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target either version "4.18." or "openshift-4.18.", but it targets "CNV v4.18.0" instead.

In response to this:

📝 Description

Adding a tree view display to VM perspective

NOTE: The transition from a single VM to a folder view which filters the VMs by folder is not working for now.

🎥 Demo

tree-view.mp4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@avivtur avivtur changed the title [WIP] CNV-45822: Tree view part 1 CNV-45822: Tree view part 1 Nov 8, 2024
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Nov 11, 2024

@avivtur: This pull request references CNV-45822 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target either version "4.18." or "openshift-4.18.", but it targets "CNV v4.18.0" instead.

In response to this:

📝 Description

Adding a tree view display to VM perspective

NOTE: The transition from a single VM to a folder view which filters the VMs by folder is not working for now.

🎥 Demo

Admin:

tree-view.mp4

Non-admin: (all projects does not appear)
non-admin-tree-view

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

start-console.sh Outdated Show resolved Hide resolved
@avivtur avivtur force-pushed the vm-tree-view-1 branch 2 times, most recently from 0fd1042 to 158d2e6 Compare November 13, 2024 10:23
@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Nov 13, 2024
@openshift-ci openshift-ci bot removed the lgtm Passed code review, ready for merge label Nov 13, 2024
@avivtur avivtur changed the title CNV-45822: Tree view part 1 [WIP] CNV-45822: Tree view part 1 Nov 13, 2024
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Nov 18, 2024

@avivtur: This pull request references CNV-45822 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target either version "4.18." or "openshift-4.18.", but it targets "CNV v4.18.0" instead.

In response to this:

📝 Description

Adding a tree view display to VM perspective

NOTE: The transition from a single VM to a folder view which filters the VMs by folder is not working for now.

🎥 Demo

Admin:
option1-tree-view
op

Non-admin: (all projects does not appear)

option1-tree-view-closed-non-admin
option1-tree-view-non-admin

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@avivtur avivtur force-pushed the vm-tree-view-1 branch 2 times, most recently from 05c6e97 to 2223090 Compare November 19, 2024 12:18
@avivtur avivtur changed the title [WIP] CNV-45822: Tree view part 1 CNV-45822: Tree view part 1 Nov 19, 2024
@avivtur avivtur force-pushed the vm-tree-view-1 branch 3 times, most recently from b2e03fc to f374fdd Compare November 20, 2024 14:02
@avivtur
Copy link
Member Author

avivtur commented Nov 21, 2024

/retest


const { filteredItems, onSearch, setShowAll, showAll } = useTreeViewSearch(treeData);

useSyncClicksEffects(activeNamespace, loaded, location);
Copy link
Member

Choose a reason for hiding this comment

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

do we still need it? even after hiding the ns bar? activeNamespace isn't enough?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is still needed to be in sync with vm list click not from treeview

Signed-off-by: Aviv Turgeman <[email protected]>
@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Nov 25, 2024
Copy link
Contributor

openshift-ci bot commented Nov 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avivtur, metalice, upalatucci

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [avivtur,metalice,upalatucci]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 16a451c into kubevirt-ui:main Nov 25, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This issue is something we want to fix jira/valid-reference lgtm Passed code review, ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants