Project

General

Profile

Bug #8800

Table cells should clip with tooltip only if text actually overflows

Added by Tomer Brisker over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 listClosed2015-10-08
Related to Foreman - Bug #12111: Table or column widthsClosed2015-10-08
Related to Foreman - Feature #2937: Resize hosts table to use more screen widthNew2013-08-14
Related to Foreman - Feature #1403: [foreman] [UI] - tables columns should be resizableNew2011-12-19
Has duplicate Foreman - Bug #4389: OS label "RHEL Server 6.x" on host list is too long for columnDuplicate2014-02-19

Associated revisions

Revision 027d2087 (diff)
Added by Tomer Brisker almost 4 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 (diff)
Added by Tomer Brisker almost 4 years ago

Refs #8800 - Fix clipping on global parameter table

I missed this one table in the previos commit.

Revision 633c441e (diff)
Added by Lukas Zapletal almost 4 years ago

Refs #8800 - Avoid clipping on About - Plugins page

History

#1 Updated by Tomer Brisker almost 4 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 4 years ago

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

#3 Updated by Anonymous almost 4 years ago

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

#4 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 71

#5 Updated by Dominic Cleal almost 4 years ago

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

#6 Updated by Tomer Brisker almost 4 years ago

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

#7 Updated by Tomer Brisker almost 4 years ago

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

#8 Updated by Tomer Brisker almost 4 years ago

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

#9 Updated by The Foreman Bot almost 4 years ago

  • Assignee changed from Tomer Brisker to Lukas Zapletal

#10 Updated by Tomer Brisker almost 4 years ago

  • Assignee changed from Lukas Zapletal to Tomer Brisker

#11 Updated by Dominic Cleal almost 4 years ago

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

#12 Updated by Dominic Cleal almost 4 years ago

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

#13 Updated by Dominic Cleal over 3 years ago

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

Also available in: Atom PDF