Project

General

Profile

Actions

Feature #9336

open

Improve display of fact values when values are long strings

Added by Richard Osborne almost 10 years ago. Updated over 8 years ago.

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

Description

We are using custom facts to report on our server estate, for example license keys, UUID values, hardware vendors, etc. There's even a default fact of 'sshdsakey' which is good for demonstrating this feature request.

Example facts might be:

custom_license=HJDW-JWDD-YAPX-SDWA-WHWW-QSQQ-LEZC-MOOW-ASDA-LPWD
custom_uuid=4239A351-1DSB-DD61-E123-1C1AAADFBFF12C-ASD-SDS-WW-DD
sshdsakey=AAAAB3NzaC1kc3MsdAAACBAKJ4T9RXu0A1roWJgHkvjQ2ogGN+kScfF3ir+zqZJBDUN6L8jvJGOvI0AvjgHDEc8cp0+pZYJlXYeG/iLbR2wSp7VTR5WsGs8BaNl+Cr3BqBK7y6GujOH9

Foreman shows about the first 37 or so characters when displaying facts under Monitor -> Facts. However, it's not easy to select the full values of the facts.

When the fact is a long value, could we wrap the text within the cell so that it's displayed within the report and easy to select with a mouse click?

So rather than:

Host     Name       Value     
host1 sshdsakey AAAB3NzaC1kc3MAAACBAI0lSZxUr19SJYxWc...          

host2 sshdsakey AAAAB3NzaC1kc3MAAACBAI1HmMbcT9x0CpXK5... 

host3 sshdsakey AAAAB3NzaC1kc3MAAACBAI3q/PnqB8KGE1l/B... 

The page might look like:

Host     Name       Value     
host1 sshdsakey AAAAB3NzaC1kc3MAAACBAI0lSZxUr19SJYxWcKASDASDSDSDS
                KSDNSDJNCNSNCDJCNDJNSDWWDWDWDD

host2 sshdsakey AAAAB3NzaC1kc3MAAACBAI1HmMbcT9x0CpXKASDWECSCSCSCS
                ASDSVDVKOVDOKDVR*u8duvdu88ASCD 

host3 sshdsakey AAAAB3NzaC1kc3MAAACBAI3q/PnqB8KGE1l/BASDASDCSASCS
                ASDSADSDSACSCSCSSACSSCSSCSCSCC

Files

foreman_9336_current_fact_display.PNG View foreman_9336_current_fact_display.PNG 252 KB Display of facts with long names - Foreman 1.8 Richard Osborne, 05/13/2015 06:08 AM
foreman_9336_desired_fact_display.PNG View foreman_9336_desired_fact_display.PNG 40.1 KB Display of facts with long names - Desired Richard Osborne, 05/13/2015 06:08 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #9194: Enable copying fact valuesClosedShlomi Zadok02/03/2015Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Category set to Facts
Actions #2

Updated by Dominic Cleal over 9 years ago

Actions #3

Updated by Shlomi Zadok over 9 years ago

Fixed by #9194?
May we close this?

Actions #4

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Duplicate

Updated by Richard Osborne over 9 years ago

Hi,

I'm not sure that this is a duplicate of 9194 - this bug was really about presenting facts with long names in a single web page without the need to drill down on each host.

I've attached two screenshots showing the current and desired state. (Current being Katello 2.2 RC2 / Foreman 1.8.0-1.el7)

Richard.

Actions #6

Updated by Dominic Cleal over 9 years ago

  • Status changed from Duplicate to New

Fair enough, reopened. #9194 only adds a per-item drilldown I think.

Actions #7

Updated by Richard Osborne over 8 years ago

Just wondering if this feature might be considered for inclusion in a near term release? It would be really helpful for us to view these long facts in Foreman.

Actions

Also available in: Atom PDF