Bug 1293486
Summary: | Puppet class names are trunctated to 32 chars irrespective of cell width | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Andrew Schofield <andrew.schofield> | ||||||||
Component: | WebUI | Assignee: | Katello Bug Bin <katello-bugs> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | sthirugn <sthirugn> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 6.1.5 | CC: | bbuckingham, bkearney, inecas, katello-bugs, katello-qa-list, sthirugn | ||||||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||||||
Target Release: | Unused | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | 1255182 | Environment: | |||||||||
Last Closed: | 2016-07-27 09:00:50 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
Andrew Schofield
2015-12-21 21:49:38 UTC
Since i missed this earlier... 1255182 is about the capsule name, this is about the puppet class. Created redmine issue http://projects.theforeman.org/issues/13384 from this bug Upstream bug component is Provisioning Upstream bug component is WebUI Based on the comment in the upstream redmine, this has already been addressed. Moving the bug to POST, since it should be included with the next rebase. Verified in satellite-6.2.0-6.2.beta.el7sat.noarch I am able to hover over the class to see the full puppet class name - I tested a class with 81 characters and the screenshot is attached. Created attachment 1144879 [details]
puppet class with 81 characters name
Created attachment 1144880 [details]
puppet class page
Looking at the capsule bug, https://bugzilla.redhat.com/show_bug.cgi?id=1255182, I think the expectation is to wrap the name and not truncate it. Hi Ivan, Do you have any thoughts on this one? My assumption is that using ellipsis is the expected behavior for fields that may be long strings; however, it appears that the solution for this bug may be inconsistent with bug 1255182 (i.e. ellipsis vs wrapping). In addition, looking at screenshot that Suresh attached for 'New Host Group' showing the 'Available Classes', it appears that we are not leveraging the space available before applying the ellipsis. This bug is about the puppet classes index page, which I understand from https://bugzilla.redhat.com/show_bug.cgi?id=1293486#c11 is handled properly now, and the case is with the puppet classes selector in host details. Since it's not part of the original bugzilla, that was already in verified state, I would suggest creating a separate bz redscribing this problem @Ivan, Let me rephrase my concerns: 1. Ignore comment 10 2. In comment 11, as per the screenshot, it is clear that we are not wrapping the long names - instead we are showing the full name in mouse hover. 3. Now this is contradicting https://bugzilla.redhat.com/show_bug.cgi?id=1255182#c8 which says that the longer names are wrapped and not ellipsized. The difference between the capsule names and class names is the class names contain only chars and ::, so there is not natural place for wrapping, unlike with capsule names, so we would need to allow to wrap in between of class names. Is this desired behavior? My understanding of the initial bug was we were always truncating to 32 chars (regardless of free space on the page). Honestly the ellipsis looks better to me than the artificial wrapping (see attachment when I tried that out) Created attachment 1145862 [details]
How would the class names look when wrapping instead of ellipsis
As per Comment 16, if there is not a way to wrap puppet class names, I am okay with leaving it as ellipsis. Verified in satellite-6.2.0-6.2.beta.el7sat.noarch Script cleanup. This was fixed by http://projects.theforeman.org/issues/13384 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. https://access.redhat.com/errata/RHBA-2016:1500 |