Created attachment 1680974 [details]
Channel name overflows
Description of problem: The button text on the subscription details channel button can overflow the cell that contains it, causing an undesirable layout.
Version-Release number of selected component (if applicable): 4.5
Steps to Reproduce:
1. Install etcd operator
2. Visit https://<hostname>/k8s/ns/<namespace>/operators.coreos.com~v1alpha1~Subscription/etcd/
3. Note `singlenamespace-alpha` overflows the cell
See attached screenshot.
Checked on ocp 4.5 cluster with payload 4.5.0-0.nightly-2020-04-25-170442.
Install operator etcd in project, then check on "Subscription" tab, the channel button text "singlenamespace-alpha" is shown correctly in two lies in cell.
Hi Robb, I install "Argo CD" operator which only one channel is available, and check on "Subscription" tab, found the pencil icon is still besides the channel name, it should be removed according to pr https://github.com/openshift/console/pull/5158, right?
(In reply to Yanping Zhang from comment #3)
> Hi Robb, I install "Argo CD" operator which only one channel is available,
> and check on "Subscription" tab, found the pencil icon is still besides the
> channel name, it should be removed according to pr
> https://github.com/openshift/console/pull/5158, right?
Sorry for the confusion. No, the pencil icon should still be present is the channel is editable regardless of the number of channel options available. The pencil icon is only removed if the channel is not editable.
According to comment 3, when operator installation is not finished, the channel is not editable, and pencil icon is not shown.
The bug is fixed.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.