Project

General

Profile

Actions

Bug #22197

open

Long Puppet Environment names are not shown in full in Host(group) form

Added by Ondřej Pražák over 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
When puppet environment name is long, it is not displayed fully in dropdown inside hosts/hostgroups form. If there are multiple environments with the same prefix, this makes it very difficult to choose the correct one. This is especially the case with environments coming from katello where names are composed of organization and lifecycle environment.

Steps to Reproduce:
with katello:

1. Create organization "Very Long Organization" with LFE "Very Long Lifecycle Environment"
2. Create puppet repo containing at least 1 module
3. Create two CVs "Very Long Content View #1" and "Very Long Content View #2" having at least 1 puppet module and publish and promote them to "Very Long Environment"
4. Navigate to Create/Edit Hostgroup and click the "Puppet Environment" dropdown and you cannot distinguish between environments since their names are clipped to "KT_Very_Long_Organization_Very_Long_Lifecycle_Environment_Very_Long_Content_V"

KT_Very_Long_Organization_Very_Long_Lifecycle_Environment_Very_Long_Content_View__1_5
KT_Very_Long_Organization_Very_Long_Lifecycle_Environment_Very_Long_Content_View__2_6

without katello:
1. navigate to Configure > Environments
2. create 2 environments very_long_prefix_suffix, very_long_perfix_different_suffix
3. navigate to Create Host(Group) and try to select puppet environment in dropdown


Files

creaete_host.png View creaete_host.png 77.7 KB Ondřej Pražák, 01/09/2018 03:09 PM
select_env_hostgroup.png View select_env_hostgroup.png 80.7 KB Ondřej Pražák, 01/09/2018 03:09 PM
create_hostgroup.png View create_hostgroup.png 65.6 KB Ondřej Pražák, 01/09/2018 03:09 PM
long_prefix.png View long_prefix.png 88.4 KB Ondřej Pražák, 01/09/2018 03:10 PM

Updated by Ondřej Pražák over 6 years ago

Actions #2

Updated by Ondřej Pražák over 6 years ago

In hosts form, the field adjusts to the text of the selected item which makes the whole puppet environment name readable, but breaks form layout. In hostgroups form, the field does not adjust.

Actions #3

Updated by Marek Hulán about 6 years ago

  • Difficulty set to easy
Actions

Also available in: Atom PDF