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

ROX-27391: Update Workload CVE page title with dynamic string #13616

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dvail
Copy link
Contributor

@dvail dvail commented Dec 16, 2024

Description

Instead of a hard coded "Workload CVEs", reads the page title and breadcrumb navigation link string from the page context.

User-facing documentation

  • CHANGELOG is updated OR update is not needed
  • documentation PR is created and is linked above OR is not needed

Testing and quality

  • the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

Navigate through Workload CVE pages and ensure the page title and breadcrumb link continue to read "Workload CVEs".
image

Copy link

openshift-ci bot commented Dec 16, 2024

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

@dvail dvail changed the base branch from master to dv/ROX-27390-add-workload-cve-view-context December 16, 2024 15:48
@dvail dvail marked this pull request as ready for review December 16, 2024 15:53
@dvail dvail requested a review from a team as a code owner December 16, 2024 15:53
@rhacs-bot
Copy link
Contributor

rhacs-bot commented Dec 16, 2024

Images are ready for the commit at bb4b2b4.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.7.x-300-gbb4b2b4f8f.

@@ -161,11 +163,11 @@ function NamespaceViewPage() {

return (
<>
<PageTitle title="Workload CVEs - Namespace view" />
<PageTitle title={`${pageTitle} - Namespace view`} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Aha, we will need to double down on separation of subroute after information architecture is clearer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Likely yes. From what I can tell, the "Platform Components" filter does work with the queries on the namespace route, so separate routes for both user and platform level workloads should be supported. I'll have to confirm with the team that this is what we want.

@dvail dvail force-pushed the dv/ROX-27390-add-workload-cve-view-context branch from df34593 to aefbcb7 Compare December 17, 2024 16:01
@dvail dvail force-pushed the dv/ROX-27391-update-page-title-with-dynamic-strings branch from e62ee1b to bb4b2b4 Compare December 17, 2024 16:01
Base automatically changed from dv/ROX-27390-add-workload-cve-view-context to master December 17, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants