-
Notifications
You must be signed in to change notification settings - Fork 667
feat(dev-catalog): Add Capability level filters #3952
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
feat(dev-catalog): Add Capability level filters #3952
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason why this has been changed? Also, I don't see this prop being used anywhere in tile-view-page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've moved this out....
|
/kind feature |
|
@abhinandan13jan You would need to remove the log statements from your PR. |
89403c6 to
cd4e009
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no type ? in the jsx file it was declared as an array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had left a TODO: remark that I am left to update the typings. I've updated the typings in all places possible. Please re-review :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I didn't notice your TODO remark below the GIF yesterday :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a type here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup. Added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the log statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
cd4e009 to
6f1a746
Compare
6f1a746 to
9595bd0
Compare
|
please fix the lint error |
9595bd0 to
dedcbc7
Compare
|
/test backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix the comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please write it like :
| openOverlay(detailsItem: Item): void { | |
| openOverlay = (detailsItem: Item): void => { |
and get rid of this.openOverlay = this.openOverlay.bind(this);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just FYI you don't need a type for assignments. Only when the right side is ambiguous like {...}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is unnecessary as you do not need a return statement for a single line function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah.... I console logged the csv and forgot to remove the {}.. will remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment about assignment types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these values end up in the url? They should probably be lower case be no spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, they do... they cannot be case changes or altered directly as they need to be an exact string match with the annotation.
value: 'BasicInstall' || 'basicinstall' will not match with metadata.annotations.cabalities: Basic Install
Following the above recommendation, I am changing the vales to lowercase and also transforming the the capability data obtained from the CSV while adding it to the mock object
in dev-catalog.ts, line 59
1b33915 to
2c3e5fa
Compare
2c3e5fa to
fef9505
Compare
|
/lgtm |
fef9505 to
eb1f94d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think this needs a revert @abhinandan13jan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, reverted
Use dependecies from vendor dir Add goflag in build-backend backend: disable HTTP/2 Our proxy can't handle WebSockets when using HTTP/2. Increased height of activity card in overview dashboard Signed-off-by: Afreen Rahman <afrahman@redhat.com> add unit tests for ApplicationGroupResource refactor code refactor TopologyApplicationResource use isEmptyRender instead of exists simplify component Added helm chart repo proxy to the console backend All requests to `/api/helm/charts/*` are forwarded to the declared Helm chart repository. By default this is `https://redhat-developer.github.com/redhat-helm-charts`, but configurable via - `helm-chart-repo-url` CLI argument - BRIDGE_HELM_CHART_REPO_URL env variable - `config.yaml`: ``` . . . helm: chartRepository: url: https://foo.bar caFile: /path/to/cert.file ``` If needed, certificates for accessing the repo can be specified via `helm-chart-repo-ca-file` CLI arg, caFile config param, or using `BRIDGE_HELM_CHART_REPO_CA_FILE` env variable. If not specified, the system root CA will be used. Make extra step in VM Wizard to procceed trough Virtual Hardware tab Fix modal close on confirmation of a node regroup Add 4.4 channels bump formik - fixes enableReinitialize shared: make alert props optional in FormFooter shared: add basic methods and a method for adding multiple object keys to PatchBuilder Monitoring Dashboards: Change "Refresh Interval" options Change some of the "Refresh Interval" dropdown options and also add an option for switching auto-refresh off. adds monitoring metrics component and legend Custom pages added for noobaa chore: bump builder image dependencies * go 1.13 * node 13.6.0 * yarn 1.21.1 * kubectl 1.17.1 update table filter Add shadow on hover for topology decorators Initial boot order tests feat(topology-resourcemenu): add resource menu actions Allow children components on DetailsPage header Remove cluster operator upgrade activity BaremetalHost: Use new errorType field in Host CR When the operational status is in error, the BaremetalHost operator now reports the type of error from a fixed list. This is more reliable than determining the type of error from the provisioning status (e.g. a registration error may occur while the host is provisioning). The possible error types are registration, inspection, provisioning, and power management errors. There is no longer a validation error, and has not been for some time. Currently, there are actually separate provisioning states for each error type, so the Host would never have been in a Registering or Provisioning state after an error anyway, and this code would always have reported the host status as just 'error'. These separate states are being removed in favour of the separate errorType field. Since the existing code was not reachable, there is no need to keep it for backward compatibility with older versions of the operator. Signed-off-by: Zane Bitter <zbitter@redhat.com> make k8sPatch resilient to arrays with null values shared: move compareOwnerReferences from kubevirt enhance FirehoseResult type Add List component for detail properties This adds common component for lists in detail page properties. - Common styling - Semantic use of lists instead of spans and brs Add monitoring dashboard graph Refactoring: useReceiverFormStore and move single used functions out of utils add cpu pinning modal and functionality dashboards: initial support for table cards [metal3] Use HrefNavItem for BMH nav link This ensures that namespace is switched to 'openshift-machine-api' which is expected by BMO. This behaviour aligns with Machines namespace handling. Related Kubernetes issue: kubernetes/kubernetes#65551 kubevirt: enhance memory validation and template selection - unify and enhance template selections for validation and create requests - use GiB instead of GB for memory to allign with validations - show validation intervals Add the component and utility for helm release group initial implementation initial implementation remove styles for selected and fine tune initial implementation align the item to UX designs add tests for utility and update test use fill attribute istead of styles update snapshot add corner radius to helm icon refactor disable dnd for helm release node decrease opacity on filtered items fix llint error lint and destructuring Add edit application from deploy image Add unit tests for edit-application-utils Set image-stream values on populating the form with app data Fix bug wherein for image from internal registry new imagestream was created Change page title on Admin > Cluster Settings > Alertmanager Bug https://bugzilla.redhat.com/show_bug.cgi?id=1789946 Minor Enhancements for Stoarge Dashboards As per UXD suggestions, made these minor enhancements: * Fixed width of bar in breakdown card * Chnaging tab names * Spanning of lines to full width in utilization card * Linking of Nodes Changed ceph plugin gating from cephcluster model to storagecluster model Signed-off-by: Afreen Rahman <afrahman@redhat.com> ---------- Merged Pull request afreen23#1 ------------- Adding filter for nodes in ocs inventory Signed-off-by: Ankush Behl <cloudbehl@gmail.com> ------------------ Co-authored-by: Ankush Behl <cloudbehl@gmail.com> Reconcile feature flag extensions Clean up baremetal host states - Define bare metal host status and errors descriptions in constants - Pass status description as part of getBareMetalHostStatus helper - Simplify BareMetalHostStatus logic - Render status descriptions in status popovers - Render error status descriptions in status popover together with detailed error message - Remove unused bare metal host states Convert inline button to us isInline and proper spacing chore: bump node-sass to 4.13.1 Required for Node.js 13. add Deprovision action to Bare Metal Hosts Add clickable action to monitoring dashboard graph adds promQL editor and toggle option for it dashboard status: differentiate between unknown and not available states Add useExtensions hook & withExtensions HOC, use it for NavItem ext. Unify runtime handling of gated and always-on extensions Update login tests to work with either PF3 or PF4 login pages Added owners file to ceph and noobaa int Add support for Helm Install with release form and backend API Rename Overview pages to Details pages Rename Dashboards page to Overview Rename Overview Dashboard page to Cluster Add pause/unpause VM feature Monitoring Dashboards: Add currently displayed dashboard to URL Also changes the layout of the dropdown options to bring it closer to the mocks. Now clears any dashboard data as soon as the current dashboard is changed, so that all cards from the previous dashboard are immediately cleared. Added expand and upgrade activities in persistent storage dashboard Signed-off-by: Afreen Rahman <afrahman@redhat.com> All long string container names to wrap and add spacing to checkbox rows Monitoring Dashboards: Add graph legends Also includes some graph card style fixes to remove unnecessary margins and padding. kubevirt: fix modal footer padding kubevirt: Add RDP L2 integration test Configuration of nodes for the L2 network is out of scope (means bridge and DHCP server). A fake Windows VM (Fedora inside) is created, qemu-guest-agent installed, static IP address set to be later checked to verify the expected flow from the guest agent reporting to RDP console UI. Revert "chore: bump builder image dependencies" This reverts commit ef62018. chore: update to go 1.13 add ImageManifestVuln list/detail views Added installation flow for external cluster tracker track1 tracker1 tracker2 track2 tracker2 track trc trc
eb1f94d to
75899ca
Compare
|
/lgtm |
andrewballantyne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinandan13jan, andrewballantyne, christianvogt, debsmita1, jeff-phillips-18 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/hold |
|
/hold cancel |
This PR addresses https://issues.redhat.com/browse/ODC-2698
capabilityLevelto an item of kindinstalledOperatorcapabilityfilters and reflect as desired in Dev-Catalog.Auto Pilot,Deep InsightsandFull LifecycleTO-DO: Add typings for catalog-items.tsx