Bug 2168866 - [RFE] Add line breaks to bookmarks if the name is too long
Summary: [RFE] Add line breaks to bookmarks if the name is too long
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Search
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: kmalyjur
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-10 10:30 UTC by Adam Ruzicka
Modified: 2023-07-19 09:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Bookmark picker with long bookmark name (48.80 KB, image/png)
2023-02-10 10:30 UTC, Adam Ruzicka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36350 0 Normal Ready For Testing Add line breaks to bookmarks if the name is too long 2023-07-13 10:25:42 UTC
Red Hat Bugzilla 1990790 0 unspecified CLOSED [RFE] add possibility to resize bookmarks dropdown menu 2023-05-15 08:34:44 UTC
Red Hat Issue Tracker SAT-18349 0 None None None 2023-06-13 12:23:08 UTC

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


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