Bug 1786043
| Summary: | Alert Manager Monaco editor show duplicate info | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yadan Pei <yapei> | ||||||||
| Component: | Management Console | Assignee: | David Taylor <dtaylor> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Yadan Pei <yapei> | ||||||||
| Severity: | low | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 4.4 | CC: | aos-bugs, dtaylor, jcaiani, jokerman, spadgett, yapei | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | 4.6.0 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2020-09-28 16:11:45 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Yadan Pei
2019-12-23 08:13:04 UTC
Created attachment 1650792 [details]
Pods -> Pod Details -> YAML showing duplicate info.
Pods -> Pod Details -> YAML showing duplicate info.
Hi, note this is not unique to Alertmanager YAML editor, I see the same behavior under Pods -> Pod Details -> YAML. Please see attached image. I believe the Monaco editor might be showing error/info tips for every error it finds in the YAML block(?). We will look into this in the next sprint. Created attachment 1717288 [details]
hover selection over a block range
Created attachment 1717289 [details]
hover selection for a single line
The latest stying of the YAML Editor clearly shows hover selection range via the semi-transparent light blue highlight/background. When moving the cursor the hover selection switches between single and multiple line 'hover selection'. When the hover selection range covers a block of yaml it shows all warnings within that range -even if they are duplicates. This may be giving the appearance of duplicate warnings in the tooltips. Please see attachment 1717288 [details] Note moving the cursor over just one character to left, changes the hover position/selection to just encompass a single line. This limits the warnings to just a single warning. Please see attachment 1717289 [details] |