Description of problem: When hovering some properties, we didn't always show a hint message Version-Release number of selected component (if applicable): 4.6.0-0.ci.test-2020-10-16-011808-ci-ln-ywvhbm2 How reproducible: Always Steps to Reproduce: 1. Launch a testing cluster with cluster-bot, login to console after cluster is ready launch https://github.com/openshift/console/pull/6483 aws 2.View resources YAML such as deployment/console YAML content in openshift-console project 3. Hover some properties: spec.selector, spec.replicas, spec.template, Actual results: 3. When hover spec.selector we can see hint message explaining selector. However I didn't see hint message when hovering spec.replicas, spec.template, also some other properties also doesn't have hover help message Expected results: Additional info:
unassigning the issue from me as I have no plan to work on it and it is really not in the core of my competencies so would take longer than OpenShift Developer Console developer or Yaml Language Server developer.
note: the issue is not specific to the mentioned RP, it was already there with previous versions https://github.com/openshift/console/pull/6483#issuecomment-713314312
Did not have time to work on this issue.
@Sam, it seems this is an API issue. Can we close it, or do we need to reassign to other component?
Cyril, we probably need help from the dev tools team that maintains the YAML language server. Let's reach out to them.
I've tracked down the source of the bug and opened a PR on the yaml language server side: https://github.com/redhat-developer/yaml-language-server/pull/347. Once we create a new release that includes those changes I'll update the yaml-language-server version on the console side
1. Add resource YAML and view fields such as spec.replicas, spec.template, fields in spec.template apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 Now all fields have shown hover message, verified on 4.7.0-0.nightly-2020-11-22-123106
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633