[Freeipa-devel] [PATCH] 697-702 webui: usability improvements in attribute widget

Endi Sukma Dewata edewata at redhat.com
Thu Jul 17 22:06:17 UTC 2014


On 7/10/2014 8:02 AM, Petr Vobornik wrote:

ACK. Comments below:

>> == [PATCH] 699 webui: optimize (re)creation of option widget ==
>>
>> There is a case where attributes widget can contain > 1000 items.
>> It's about 3000 nodes. It's slow in jQuery. Simple move to dojo
>> speeds it up (is closer to native calls) while maintaining developer
>> friendliness.
>>
>> Now the biggest lag is in browser's render. It's probably not worth
>> developer time to optimize that.

Is it common to have many items in this widget (doesn't have to be 
bigger than 1000, but just large enough)? Maybe the UI should provide 
some kind of paging interface, not just for performance reason, but also 
for usability.

>> == [PATCH] 700 webui: custom attr in attributes widget ==
>>
>> Web UI doesn't always know what are the possible attributes
>> for target object. This will allow to add custom attributes
>> if necessary.

Right now you can add an undefined attribute, but it will fail when you 
try to save it. Should the UI perform a schema validation before 
accepting the new attribute? Or should the UI provide a list of valid 
attributes?

-- 
Endi S. Dewata




More information about the Freeipa-devel mailing list