Feature #32
open
Provide a way to organize the Inventory display in the Hosts page
Added by Oded Ben Ozer over 15 years ago.
Updated almost 3 years ago.
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.
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
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.
- Assignee set to Amos Benari
- 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.
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.
- Target version deleted (
1.1)
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 -
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?
Latest foreman as of Jan 8th 2013 has something like this
What I'm doing essentially looks the same.
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).
- Related to Feature #1403: [foreman] [UI] - tables columns should be resizable added
- Description updated (diff)
- Assignee deleted (
Amos Benari)
- Bugzilla link set to 1813274
- Related to Feature #34516: Include the host comments to a host list page added
- Related to Feature #34515: Host list page should show the owner of the host added
Also available in: Atom
PDF