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

NETOBSERV-121 tab pages #44

Merged
merged 1 commit into from
Jan 24, 2022
Merged

NETOBSERV-121 tab pages #44

merged 1 commit into from
Jan 24, 2022

Conversation

jpinsonneau
Copy link
Contributor

@jpinsonneau jpinsonneau commented Jan 12, 2022

Add details pages for Pod / Service / Namespace / Deployment

Automatically set filters from selected object infos

image

@jpinsonneau jpinsonneau added the no-qe This PR doesn't necessitate QE approval label Jan 12, 2022
@jotak
Copy link
Member

jotak commented Jan 12, 2022

Really nice!
I'd put it on hold in order to gather some feedback on the feature, but it's already super interesting as it is.
/hold

@stleerh
Copy link
Contributor

stleerh commented Jan 13, 2022

/lgtm

@jotak
Copy link
Member

jotak commented Jan 18, 2022

/lgtm
we must create a follow-up task to finish the work once https://issues.redhat.com/browse/NETOBSERV-73 is done

@jotak
Copy link
Member

jotak commented Jan 18, 2022

Follow-up created: https://issues.redhat.com/browse/NETOBSERV-156

@openshift-ci
Copy link

openshift-ci bot commented Jan 18, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from jotak after the PR has been reviewed.

The full list of commands accepted by this bot can be found 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

@jpinsonneau
Copy link
Contributor Author

Updated from feedbacks :

  • filters cannot be updated in tabs, chips show current forced filters
  • added 'Edit filter' button to redirect to /netflow-traffic page keeping url arguments (filters / refresh)
  • in case of 'No result found', clear all filter button will also redirect to /netflow-traffic removing all arguments

@jpinsonneau
Copy link
Contributor Author

/retest

web/src/utils/router.ts Outdated Show resolved Hide resolved
web/src/utils/router.ts Outdated Show resolved Hide resolved
@jotak
Copy link
Member

jotak commented Jan 21, 2022

looks like filtering by namespace is broken :/ (maybe it's me...)

@jpinsonneau
Copy link
Contributor Author

jpinsonneau commented Jan 21, 2022

looks like filtering by namespace is broken :/ (maybe it's me...)

Hmm good catch ! I also reproduce from main branch.

This seems to be related to type QueryArguments = { [k in AnyQueryArgs]?: unknown }; that produce wrong params key SrcNamespace[] instead of SrcNamespace so everything goes to:

default:
     filterRegexInLine(key, value, &regexStr)

Check #53

@jotak
Copy link
Member

jotak commented Jan 24, 2022

/lgtm
(rebased locally & tested)

thanks!

@jotak
Copy link
Member

jotak commented Jan 24, 2022

/unhold

@openshift-ci openshift-ci bot added the lgtm label Jan 24, 2022
@jpinsonneau jpinsonneau merged commit c7dd808 into netobserv:main Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm no-qe This PR doesn't necessitate QE approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants