Bug #8800

Table cells should clip with tooltip only if text actually overflows

Added by Tomer Brisker over 2 years ago. Updated almost 2 years ago.

Status:Closed
Priority:Normal
Assigned To:Tomer Brisker
Category:Web Interface
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/2880, https://github.com/theforeman/foreman/pull/2837, https://github.com/theforeman/foreman/pull/2789
Story points-
Velocity based estimate-
Release1.11.0Release relationshipAuto

Description

Clipping to ellipsis leaves a lot of white space in the column.
Also possibly resize columns to better fit contents.


Related issues

Related to Foreman - Bug #12104: Dropdown menu outside of table cell on All Hosts list Closed 10/08/2015
Related to Foreman - Bug #12111: Table or column widths Closed 10/08/2015
Related to Foreman - Feature #2937: Resize hosts table to use more screen width New 08/14/2013
Related to Foreman - Feature #1403: [foreman] [UI] - tables columns should be resizable New 12/19/2011
Duplicated by Foreman - Bug #4389: OS label "RHEL Server 6.x" on host list is too long for c... Duplicate 02/19/2014

Associated revisions

Revision 027d2087
Added by Tomer Brisker almost 2 years ago

Fixes #8800 - Clip table cells only when needed

For clipping to work, table must have class `table-fixed` and the cell
have class `ellipsis`. Also column widths should be set in table head.
Clipping will occur automagically with tooltip.

Revision 6718fab8
Added by Tomer Brisker almost 2 years ago

Refs #8800 - Fix clipping on global parameter table

I missed this one table in the previos commit.

Revision 633c441e
Added by Lukas Zapletal almost 2 years ago

Refs #8800 - Avoid clipping on About - Plugins page

History

#1 Updated by Tomer Brisker almost 2 years ago

  • Subject changed from Host list table clips attributes too soon to Table cells should clip with tooltip only if text actually overflows

Currently, table cells have one of two possible behaviors:
1. Clipping at a hard coded, arbitrary length - which may cause a lot of white space that could be used for displaying the entire text or part of it.
2. Overflowing causing the table layout to break.
The text should clip with tooltip only when really needed, and this should be handled by the browser and not by the server.

#2 Updated by The Foreman Bot almost 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2789 added

#3 Updated by Anonymous almost 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal almost 2 years ago

  • Release set to 1.11.0

#5 Updated by Dominic Cleal almost 2 years ago

  • Related to Bug #12104: Dropdown menu outside of table cell on All Hosts list added

#6 Updated by Tomer Brisker almost 2 years ago

  • Related to Bug #12111: Table or column widths added

#7 Updated by Tomer Brisker almost 2 years ago

  • Related to Feature #2937: Resize hosts table to use more screen width added

#8 Updated by Tomer Brisker almost 2 years ago

  • Related to Feature #1403: [foreman] [UI] - tables columns should be resizable added

#9 Updated by The Foreman Bot almost 2 years ago

  • Assigned To changed from Tomer Brisker to Lukas Zapletal

#10 Updated by Tomer Brisker almost 2 years ago

  • Assigned To changed from Lukas Zapletal to Tomer Brisker

#11 Updated by Dominic Cleal almost 2 years ago

  • Pull request https://github.com/theforeman/foreman/pull/2837 added

#12 Updated by Dominic Cleal almost 2 years ago

  • Pull request https://github.com/theforeman/foreman/pull/2880 added

#13 Updated by Dominic Cleal almost 2 years ago

  • Duplicated by Bug #4389: OS label "RHEL Server 6.x" on host list is too long for column added

Also available in: Atom PDF