On 18/07/2014 11:24, Petr Vobornik wrote:
thank you for the input. If you or somebody else have any Web UI
ideas/RFEs, feel free to write them down. I would like to
know what people don't like or would like to have.
On 18.7.2014 10:21, Innes, Duncan wrote:
Just poking around the new 4.0 demo page and very much liking what I
see. This will make a
big difference in use on large estates.
A couple PatternFly related questions though:
1. The tables don't sort by column if I click on a column header.
Is this not available in PatternFly yet,
or have FreeIPA decided against implementing it?
First just a note about PatternFly. It's not really a widget library,
it is(or should be) more of a set of patterns and
styles. But the referential implementation is built on Bootstrap 3, so
it is very easy to adopt. PatternFly doesn't have an
official pattern for table sorting yet, but it has styles for
DataTables (jQuery table plugin) which can do it.
I don't remember any decision against it -> could be implemented if
there is enough will and user demand.
Sorting can be done on client side and on server side. Client side is
limited to issue #2 - only 20 items, so it is not really
And server side (IPA API) doesn't support specifying a sort attribute
You would like the server-side sorting, right?
Hadn't considered there to be an option. When I looked at the
PatternFly demos I hadn't thought about it, but the speed that
FreeIPA pulls data out for rendering, I suppose it would have to be.
Even our modest estate (at a few hundred users and hosts)
would slow down far too much if the full dataset was sent.
The other possibilities thrown up by PatternFly are also interesting;
add/remove columns, resize columns etc. I know some of
these are still on the drawing board, but there are demo pages available
2. Browsing the screen on a large monitor still leaves the user page
(at least) limited to around 22 rows.
This leaves the bottom third of my browser empty. The table uses
the full width of the browser, can it
not use the full height too?
I have and idea/plan to make it configurable - to specify the number
of items and also to allow disabling of paging.
The more rows the slower the UI is. Also paging has its own issues
which are not straightforward to solve:
True. What's the biggest time factor in loading large tables?
When admining estates with tens of thousands of entries, however, much
emphasis needs to be placed on the table filters. No
admin in their right mind is going to be performing actions on all
entries simultaneously. Similar to Foreman's filters, could
FreeIPA allow (example) in the hosts screen a filter of "hostgroup =
groupX" to show only hosts belonging to that group? Or filtering users
with "manager = 'Duncan Innes'"?