Description of problem:
When hovering some properties, we didn't always show a hint message
Version-Release number of selected component (if applicable):
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,
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
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
- name: nginx
- 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.