On Fri, Aug 03, 2012 at 05:42:13PM +0200, JaromÃr Coufal wrote:
Hey guys,
I just wrote some information on wiki-page about UI tasks regarding
form unification:
https://www.aeolusproject.org/redmine/projects/aeolus/wiki/Consistent_forms_in_Conductor_UI
My main question is about using tools like Simple Form and Bootstrap
(they are *not* alternatives). I reviewed some advantages,
disadvantages, provided links, so you can look for further
information if you want to and if anybody has something to add /
discuss, you are more than welcome :)
I think this task is overall a really fantastic thing to do. As you
noted previously, we're not even _close_ to consistent right now.
I've worked with formtastic in the past; it looks like simple_form
builds on that. The only downside I ran into is the difference in names
for many field types, which isn't really that big of a deal. If it makes
our lives easier, I'm all for it.
Actually I don't know formstatic project, but as for Simple Form,
there is quite a rich library of field types to use and looking over
them I guess that names match pretty well to their types
(
I think you are already doing this, but for the sake of stating the
obvious, we should probably work with Katello to define a common
pattern for forms between apps. As you state on the wiki page, we can
probably use simple_form without requiring them to do the same (though
things like the login page might become special cases), but I think a
styling guide for forms that's consistent between projects would be
great.
Even obvious things are worth to be said, you never know :) And
actually this is really great point. I already had a call with Eric
Helms and Jason Rist about forms in Converge-UI (and this means also
in Katello) and it appears that they don't use any specific tool. I
also told them about my intention to work on forms and contributing
to the library, so I will stay in close cooperation with these guys
in order to ensure that the result is usable across projects.