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

Description text change for manage policy modal #970

Merged

Conversation

GowthamShanmugam
Copy link
Contributor

@GowthamShanmugam GowthamShanmugam commented Aug 16, 2023

@GowthamShanmugam GowthamShanmugam changed the title Description text change for manage policy modal - WIP Description text change for manage policy modal Aug 16, 2023
@GowthamShanmugam GowthamShanmugam force-pushed the bz_2231838 branch 3 times, most recently from 3ed19a9 to a1d1606 Compare August 22, 2023 11:40
@GowthamShanmugam
Copy link
Contributor Author

image

image

image

@@ -184,39 +195,59 @@ export const PolicyListView: React.FC<PolicyListViewProps> = ({
setModalActionContext={setModalActionContext}
setMessage={setMessage}
isActionHidden
isSearchHidden={!dataPolicyInfo.length}
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need to pass this prop... can we do something like this ??
dataPolicyInfo.length === 0 ? EmptyState : PolicyListViewToolBar

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PolicyListViewToolBar has other items, like the subtitle and assign policy buttons. Search box is one part of PolicyListViewToolBar

Comment on lines +136 to +138
emptyRowMessage={() => (
<Bullseye> {t('No assigned data policy found')} </Bullseye>
)}
Copy link
Collaborator

Choose a reason for hiding this comment

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

just a doubt:
we are checking dataPolicyInfo.length === 0 in policy-list-view.tsx file and accordingly displaying table... do we need to pass it here again ??
Is it just for extra safety ??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dataPolicyInfo is unfiltered, This one is for filtering.

dataPolicyInfo.length === 0 is for, till now no policy is assigned to the application.
This one is for, policy is assigned but for search text, no matching found.

@alfonsomthd
Copy link
Collaborator

/lgtm

@GowthamShanmugam
Copy link
Contributor Author

/cherry-pick release-4.14

@openshift-cherrypick-robot

@GowthamShanmugam: once the present PR merges, I will cherry-pick it on top of release-4.14 in a new PR and assign it to you.

In response to this:

/cherry-pick release-4.14

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 kubernetes/test-infra repository.

@GowthamShanmugam
Copy link
Contributor Author

/cherry-pick release-4.14-compatibility

@openshift-cherrypick-robot

@GowthamShanmugam: once the present PR merges, I will cherry-pick it on top of release-4.14-compatibility in a new PR and assign it to you.

In response to this:

/cherry-pick release-4.14-compatibility

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 kubernetes/test-infra repository.

@GowthamShanmugam
Copy link
Contributor Author

/assign @SanjalKatiyar for approval

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 23, 2023

@GowthamShanmugam: GitHub didn't allow me to assign the following users: for, approval.

Note that only red-hat-storage members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @SanjalKatiyar for approval

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 kubernetes/test-infra repository.

Signed-off-by: Gowtham Shanmugasundaram <[email protected]>
@alfonsomthd
Copy link
Collaborator

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Aug 24, 2023
@SanjalKatiyar
Copy link
Collaborator

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alfonsomthd, GowthamShanmugam, SanjalKatiyar

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:

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

@openshift-merge-robot openshift-merge-robot merged commit 6085a42 into red-hat-storage:master Aug 24, 2023
3 checks passed
@openshift-cherrypick-robot

@GowthamShanmugam: new pull request created: #989

In response to this:

/cherry-pick release-4.14

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 kubernetes/test-infra repository.

@openshift-cherrypick-robot

@GowthamShanmugam: new pull request created: #990

In response to this:

/cherry-pick release-4.14-compatibility

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 kubernetes/test-infra repository.

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.

5 participants