Project

General

Profile

Actions

Feature #9336

open

Improve display of fact values when values are long strings

Added by Richard Osborne about 9 years ago. Updated about 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

Also available in: Atom PDF