Bug 1806114
Summary: | Issue with typing custom query in promQl editor in metrics tab | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jaivardhan Kumar <jakumar> | ||||
Component: | Dev Console | Assignee: | Jaivardhan Kumar <jakumar> | ||||
Status: | CLOSED ERRATA | QA Contact: | spathak <spathak> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.4 | CC: | aos-bugs, nmukherj, spathak | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.5.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: Issue with typing custom query in promQl editor in metrics tab as Redux store was getting updated on each keypress and component as well was relying on it being a connected component
Consequence: An issue with typing custom query in promQl editor in metrics tab i.e if you start editing in between existing query cursor moves to the line end.
Fix: Made use of hook useSelector to bring redux into the same render function and avoid using a HOC
Result: Typing in custom query in promQl editor in metrics tab works as expected
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1806799 (view as bug list) | Environment: | |||||
Last Closed: | 2020-08-04 18:01:40 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1806799 | ||||||
Attachments: |
|
Description
Jaivardhan Kumar
2020-02-22 08:26:03 UTC
Created attachment 1665743 [details]
No Issue with typing custom query in promQl editor in metrics tab
Verified on build : 4.5.0-0.ci-2020-02-25-152421 Chrome browser: 76.0.3809.132 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 (OpenShift Container Platform 4.5 image release advisory), 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/RHBA-2020:2409 |