Project

General

Profile

Actions

Feature #32

open

Provide a way to organize the Inventory display in the Hosts page

Added by Oded Ben Ozer over 14 years ago. Updated about 2 years ago.

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

Description

Currently the Inventory display is not very useful for me because I usually need to go through multiple pages of facts to find the specific fact I need.
I think that most people have a small number of facts that are more "relevant" then others.
It will be nice to be able to choose the facts that I want to be displayed in the head of the list,Maybe via a checkbox'ble(new word ?) list of all facts names foreman has collected in the "settings" page.
Even better would be a way to explicitly set the order of these "relevant" facts - maybe vi a "move from A column to be B column" style UI.
All this would have to take into account the fact that different machines have different facts names,so a "relevant" fact might not exist on some hosts.


Related issues 6 (1 open5 closed)

Related to Foreman - Feature #87: Filtering on fact nameRejectedMartin Englund11/23/2009Actions
Related to Foreman - Feature #1344: Allow customization of columns in host view.ResolvedAmos Benari11/22/2011Actions
Related to Foreman - Feature #1403: [foreman] [UI] - tables columns should be resizableNew12/19/2011Actions
Related to Foreman - Feature #29059: Custom field on host viewDuplicateRahul BajajActions
Related to Foreman - Feature #34516: Include the host comments to a host list pageClosedActions
Related to Foreman - Feature #34515: Host list page should show the owner of the hostClosedActions
Actions #1

Updated by Ohad Levy over 14 years ago

This will require some thought, as not all facts are available for every host.

I'll keep in mind once we start redoing the basic UI

Actions #2

Updated by Oded Ben Ozer over 14 years ago

In case it wasn't clear, heres an example of a "move from A column to be B column" UI :

(uploded for Issue #82)

Even better would be and "push up" "push down" buttons so you don't need to add/remove entries to change the order.

Actions #3

Updated by Ohad Levy almost 13 years ago

  • Assignee set to Amos Benari
Actions #4

Updated by Romain Vrignaud over 11 years ago

  • Category set to Web Interface
  • Target version set to 1.1

For now on host page one have no choice and always see (name, OS, Env, Model, Hostgroup, LastReport) facts.
The aim of this feature is to be able to custum layout with for instance (name, OS, Hostgroup, RAM, DELL tag, Kernel version)

Maybe different layout would be save and each user could set a default layout.

Actions #5

Updated by Benjamin Papillon over 11 years ago

One of the admins I know asked me exactly the same feature. He don't want the OS column but the ipaddress one instead.
Customising this list can be helpful for some admins.

Actions #6

Updated by Ohad Levy over 11 years ago

  • Target version deleted (1.1)
Actions #7

Updated by Kristian Botnen about 11 years ago

Is there any activity on this?

Ive started implementing this on my own installation.

Ill start out with one column at first, IP-adress. That is extending the list view.

But Ill look into make the "Extra column" configurable, so that you could choose which value to put into the column. I think defaulting to IP-adress will be wise since the IP-adress will be available for all hosts.

- K -

Actions #8

Updated by Daniel Lobato Garcia about 11 years ago

I'm implementing this on a per-user basis.

Users and non-users have some sensible defaults (current properties, name, os, environment, etc..) stored in a field in the database, User - "custom_host_table", just a string that is generated through an UI similar to the one Oded Ben Ozer posted.

When an user visits http://foreman/hosts, the page will load this list of custom columns and will populate it with whatever the user has on the mentioned "custom_host_table" property, or it will load the default values if user.current is not set.

Any chance of this going upstream?

Actions #9

Updated by Daniel Lobato Garcia about 11 years ago

Latest foreman as of Jan 8th 2013 has something like this

What I'm doing essentially looks the same.

Actions #10

Updated by Ohad Levy about 11 years ago

Daniel Lobato Garcia wrote:

I'm implementing this on a per-user basis.

Users and non-users have some sensible defaults (current properties, name, os, environment, etc..) stored in a field in the database, User - "custom_host_table", just a string that is generated through an UI similar to the one Oded Ben Ozer posted.

When an user visits http://foreman/hosts, the page will load this list of custom columns and will populate it with whatever the user has on the mentioned "custom_host_table" property, or it will load the default values if user.current is not set.

Any chance of this going upstream?

I would love to extend Settings model to include a User settings,
this way we could reuse the settings table and make settings smart enough to load the system wide defaults or the specific user settings (in general)

I think this would be the most flexible solution long term as well (for any type of settings that makes sense for a user to override).

Actions #11

Updated by Benjamin Papillon over 10 years ago

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

Updated by Dominic Cleal over 10 years ago

  • Description updated (diff)

The foreman_column_view plugin also helps here, as it allows you to add an additional column to the host list or to the left of the host show page:

https://github.com/GregSutcliffe/foreman_column_view

Actions #13

Updated by Ohad Levy over 9 years ago

  • Assignee deleted (Amos Benari)
Actions #14

Updated by usps tracking about 6 years ago

- removed spam -

Actions #15

Updated by Marek Hulán almost 4 years ago

Actions #16

Updated by Ondřej Ezr almost 3 years ago

  • Bugzilla link set to 1813274
Actions #17

Updated by Marek Hulán about 2 years ago

If anyone search for such functionality, there's https://github.com/theforeman/foreman_column_view
It's not per user, it's hard to setup and it's limited just to host attributes but it may help some users.

Actions #18

Updated by Marek Hulán about 2 years ago

  • Related to Feature #34516: Include the host comments to a host list page added
Actions #19

Updated by Marek Hulán about 2 years ago

  • Related to Feature #34515: Host list page should show the owner of the host added
Actions

Also available in: Atom PDF