Skip to content

NETOBSERV-2872 change feature columns defaults for views - #2836

Open
memodi wants to merge 1 commit into
netobserv:mainfrom
memodi:views
Open

NETOBSERV-2872 change feature columns defaults for views#2836
memodi wants to merge 1 commit into
netobserv:mainfrom
memodi:views

Conversation

@memodi

@memodi memodi commented Jul 1, 2026

Copy link
Copy Markdown
Member

Description

change feature columns defaults for views now since those columns will be preset in feature specific view and All Traffic column will only show default base columns.

Dependencies

netobserv/netobserv-web-console#1595

Checklist

  • Does the changes in PR need specific configuration or environment set up for testing?
    • if so please describe it in PR description.
  • I have added thorough unit tests for the change.
  • QE requirements (check 1 from the list):
    • Standard QE validation, with pre-merge tests unless stated otherwise.
    • Regression tests only (e.g. refactoring with no user-facing change).
    • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

Co-Authored-By: Claude Sonnet.

Summary by CodeRabbit

  • User Experience
    • Updated default network and connection table settings to show fewer columns initially.
    • Applied consistent defaults across source and destination network details.

@openshift-ci

openshift-ci Bot commented Jul 1, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci

openshift-ci Bot commented Jul 1, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jpinsonneau for approval. For more information see the Code Review Process.

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

Details 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

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The static frontend configuration no longer enables nine network and flow metadata columns by default. Source and destination column settings were updated consistently.

Changes

Frontend column defaults

Layer / File(s) Summary
Disable selected column defaults
internal/controller/consoleplugin/config/static-frontend-config.yaml
Network Name, TLS Version, DNS Latency, DNS Response Code, Flow RTT, Network Events, Xlat Zone ID, translated Kubernetes Objects, and IPsec Status are no longer enabled by default.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the change to default feature columns for views.
Description check ✅ Passed The description explains the behavior change, lists the dependency, and includes the required checklist with QE selection.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@memodi

memodi commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

/ok-to-test

@openshift-ci openshift-ci Bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

New images:

quay.io/netobserv/network-observability-operator:d816ecd1
quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-d816ecd1
quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-d816ecd1

They will expire in two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:d816ecd1 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-d816ecd1

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-d816ecd1
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@memodi memodi removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jul 22, 2026
@memodi

memodi commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

/ok-to-test

@openshift-ci openshift-ci Bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jul 22, 2026
@github-actions

Copy link
Copy Markdown

New images:

quay.io/netobserv/network-observability-operator:d816ecd1
quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-d816ecd1
quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-d816ecd1

They will expire in two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:d816ecd1 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-d816ecd1

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-d816ecd1
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

1 similar comment
@github-actions

Copy link
Copy Markdown

New images:

quay.io/netobserv/network-observability-operator:d816ecd1
quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-d816ecd1
quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-d816ecd1

They will expire in two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:d816ecd1 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-d816ecd1

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-d816ecd1
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@memodi memodi changed the title change feature columns defaults for views NETOBSERV-2872 change feature columns defaults for views Jul 28, 2026
@github-actions github-actions Bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Aug 4, 2026
@memodi
memodi marked this pull request as ready for review August 4, 2026 23:04
@memodi
memodi requested review from jotak and jpinsonneau August 4, 2026 23:04

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@internal/controller/consoleplugin/config/static-frontend-config.yaml`:
- Line 178: Update the user-facing documentation for the default UI columns
affected by the configuration entries in the static frontend config, including
the feature-specific view behavior. Ensure the documented defaults match the
changed values and cover all related entries, including the configuration around
the default setting shown here.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d53f59b8-4439-41e9-b789-bea280a5161e

📥 Commits

Reviewing files that changed from the base of the PR and between 5fd5473 and 52a7fc8.

📒 Files selected for processing (1)
  • internal/controller/consoleplugin/config/static-frontend-config.yaml

field: SrcK8S_NetworkName
filter: src_network
default: true
default: false

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Document the changed default-column behavior.

These changes alter the columns shown by default in the UI. Add or update user-facing documentation for the new defaults and the feature-specific view behavior.

As per coding guidelines, update documentation when changing user-facing behavior.

Also applies to: 319-319, 440-440, 614-614, 623-623, 640-656, 681-681, 706-706, 721-721

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@internal/controller/consoleplugin/config/static-frontend-config.yaml` at line
178, Update the user-facing documentation for the default UI columns affected by
the configuration entries in the static frontend config, including the
feature-specific view behavior. Ensure the documented defaults match the changed
values and cover all related entries, including the configuration around the
default setting shown here.

Source: Coding guidelines

@jpinsonneau jpinsonneau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good; don't forget to update the plugin sample with the script https://github.com/netobserv/netobserv-web-console/blob/main/scripts/update-config.sh

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (5fd5473) to head (52a7fc8).
⚠️ Report is 17 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #2836   +/-   ##
============================
============================
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@memodi

memodi commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

Looks good; don't forget to update the plugin sample with the script https://github.com/netobserv/netobserv-web-console/blob/main/scripts/update-config.sh

thanks, yes, the change is already in PR netobserv/netobserv-web-console#1595

@memodi

memodi commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

/ok-to-test

@openshift-ci openshift-ci Bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Aug 6, 2026
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

New images:

quay.io/netobserv/network-observability-operator:52a7fc8d
quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-52a7fc8d
quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-52a7fc8d

They will expire in two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:52a7fc8d make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-52a7fc8d

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-52a7fc8d
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@memodi memodi added ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. and removed ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. labels Aug 21, 2026
@github-actions

Copy link
Copy Markdown

New images:

quay.io/netobserv/network-observability-operator:52a7fc8d
quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-52a7fc8d
quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-52a7fc8d

They will expire in two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:52a7fc8d make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-52a7fc8d

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-52a7fc8d
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@Amoghrd Amoghrd removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Aug 21, 2026
@Amoghrd

Amoghrd commented Aug 21, 2026

Copy link
Copy Markdown
Member

/ok-to-test

@openshift-ci openshift-ci Bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Aug 21, 2026
@github-actions

Copy link
Copy Markdown

New images:

quay.io/netobserv/network-observability-operator:52a7fc8d
quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-52a7fc8d
quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-52a7fc8d

They will expire in two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:52a7fc8d make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-52a7fc8d

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-52a7fc8d
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

default: false
width: 10
feature: tlsTracking
- id: TLSCipherSuite

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Any reason why TLSCipherSuite, TLSGroup and TLSTypes columns dont have default:false?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

if its not set, then it would resolve as false when unmarshalling yaml.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Then can just remove all defaults instead of setting to false here

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think its okay to leave existing fields as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm ok-to-test To set manually when a PR is safe to test. Triggers image build on PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants