Bug 2168866

Summary: [RFE] Add line breaks to bookmarks if the name is too long
Product: Red Hat Satellite Reporter: Adam Ruzicka <aruzicka>
Component: SearchAssignee: kmalyjur
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: kmalyjur, magaphon
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Flags
Bookmark picker with long bookmark name none

Description Adam Ruzicka 2023-02-10 10:30:17 UTC
Created attachment 1943299 [details]
Bookmark picker with long bookmark name

A followup on https://bugzilla.redhat.com/show_bug.cgi?id=1990790

Description of problem:
The dropdown now does stretch with long names, but I wonder if we should also break the line once it reaches certain size (as it is in katello-style bookmark dropdowns). Really long names make the dropdown overflow the page (see attached screenshot)

Version-Release number of selected component (if applicable):
6.13

How reproducible:
always


Steps to Reproduce:
1. Create a bookmark with a really long name
2. Open a bookmark selector

Actual results:
The bookmark picker gets really wide


Expected results:
The bookmark picker's width is capped at a sensible width, line breaks are inserted into the names.

Comment 1 Adam Ruzicka 2023-02-10 10:32:00 UTC
An alternative would be limiting length of bookmark names. I'd be glad if we could fix this in the ui itself, limiting something that was previously unlimited could prove troublesome. Also, it could still be an issue for people with tiny screens

Comment 2 kmalyjur 2023-07-13 10:25:41 UTC
Connecting redmine issue https://projects.theforeman.org/issues/36350 from this bug