Bug 2100762 - editor toggle radio input doesn't have distinguishable attributes
Summary: editor toggle radio input doesn't have distinguishable attributes
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.13.0
Assignee: Yadan Pei
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-24 08:56 UTC by Yadan Pei
Modified: 2023-03-09 01:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 01:22:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
resource creation radio input working (310.84 KB, image/png)
2022-12-19 03:44 UTC, Yadan Pei
no flags Details
Operand creation form and yaml view still doesn't have distinguishable attributes (374.83 KB, image/png)
2022-12-19 03:47 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 12256 0 None open Bug 2100762: Adding data-checked-state to radio inputs 2022-11-08 20:47:49 UTC

Description Yadan Pei 2022-06-24 08:56:43 UTC
Description of problem:
in earlier OCP 4.10 we added data-checked-state attribute for RadioInput in https://bugzilla.redhat.com/show_bug.cgi?id=2015472, not synced editor toggle input doesn't have this attribute

Version-Release number of selected component (if applicable):
4.11.0-0.nightly-2022-06-23-092832

How reproducible:
Always

Steps to Reproduce:
1. on operand creation page, 'Form view' and 'YAML view' radio input doesn't have distinguishable state to identify which radio input is checked
2. workloads creation form, for example on Deployments and Routes creation form, 'Form view' and 'YAML view' also don't have distinguishable state

Actual results:
'Form view' and 'YAML view' radio input doesn't have attribute reflects its selected status
<input name="editorType" id="form-radiobutton-editorType-form-field" data-test="form-view-input" class="pf-c-radio__input" type="radio" aria-invalid="false" data-ouia-component-type="PF4/Radio" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-Radio-9" value="form" checked="">

Expected results:
'Form view' and 'YAML view' radio toggle input should have distinguishable status

Additional info:

Comment 3 Yadan Pei 2022-12-19 03:44:46 UTC
Created attachment 1933542 [details]
resource creation radio input working

resource creation radio input button has data-checked-state attribute

Comment 4 Yadan Pei 2022-12-19 03:47:13 UTC
Created attachment 1933543 [details]
Operand creation form and yaml view still doesn't have distinguishable attributes

Operand creation Form and YAML view radio input still doesn't have distinguishable attributes, can we also add data-checked-state attribute for them?

Comment 5 Shiftzilla 2023-03-09 01:22:19 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-9338


Note You need to log in before you can comment on or make changes to this bug.