Open axeal opened 4 years ago
Internal reference: SURE-2364
This is possible with the Advanced Filter feature (both column visibility and custom filtering). It's only enabled in some Elemental resources though, and requires some tweaks before it's applied generically to all lists (@aalves08 can provide links to PRs/issues)
The feature is available for usage in rancher/dashboard
from this PR (merged):
https://github.com/rancher/dashboard/pull/7134
It can filter by the table cols displayed (if they allow to do so) and also the resource labels, with the application of multiple filters which work with partial search + the user has the ability to display labels as table cols as well.
To activate, just apply the flag hasAdvancedFiltering
to the ResourceList
component
Ex:
<ResourceList :has-advanced-filtering="true" />
This feature is now available, I'm closing this.
Reopening for QA to test out. Related PR (which wasn't linked): https://github.com/rancher/dashboard/pull/7134
I think there's been some confusion. The feature is now available but has only been applied to Elemental resources. Think the ask here is to have the feature available for CRDs.
In this context we should probably work out how to persist these settings per user?
@mantis-toboggan-md Need to discuss this one - its about CRD table views, not the advanced filtering.
Here's a mockup: https://xd.adobe.com/view/7d08b50a-526b-466b-9ca4-f222a9f9e0ad-285b/
It adds a page in the Global Settings in which the user can introspect a cluster to define which table columns to show on tables of that resource type across all clusters.
Internal Ref: SURE-2364
What kind of request is this (question/bug/enhancement/feature request):
Feature request
Steps to reproduce (least amount of steps as possible):
The user would like the ability to customize the list view of a custom resource type in the new dashboard UI, such that they can display fields from a custom resource. Alongside this they would like the ability to filter the custom resource view based on fields in the custom resource, and not just the name of the custom resource instance.
Environment information
gz#11879