Skip to content

Bug: Menu items added by ProductChildResourcePage break explorer links #17400

@richard-cox

Description

@richard-cox

Setup

  • Rancher version: v2.15.0 (dev of)

Describe the bug

  • create an extension with a product with a ProductChildResourcePage pointing to a resource, say pods
  • the explorer product's pods link points to the extension product's pod list
  • clicking on it takes the user from the explorer view to the extension view
  • resource links should retain the current product

To Reproduce

  const product: ProductMetadata = { name: 'product-1', label: 'Product One' };
  const childResourcePage: ProductChildResourcePage = { type: 'pod' };

  plugin.addProduct(product, [childResourcePage]);
  • Navigate to any cluster --> Workloads --> Pods

Result

  • User taken to the extension product's pods page

Expected Result

  • User stay in the explorer product and sees the pods list

Screenshots

Image Image

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions