Sorry I should send it to Dev actually.

śr., 9 wrz 2020 o 08:34 Piotr Zarzycki <[email protected]>
napisał(a):

> Hi Carlos,
>
> If you think about changing name of the current component to FormDPCT and
> write new one with old name - I prefer if you do just the opposite. Name
> your new component in some way - once you will be ready - we will test it
> and decide how it's working.
>
> IMO it should be done on the branch - if that's the case you can even do
> not have name/rename, but just go ahead and change current Form.
>
> I do definitely wanted to see FormItem working as it is now + have stacked
> Form item where label is on top - you can search - there were such
> component in flex.
>
> I think also that our Form shouldn't contains to many pieces - Right now I
> have label on the left, container on the right - it's taking too much space
> - even if it will be super responsive.
> I do work daily with Vuetify and this is good and non heavy example how
> Forms should work and eventually look like [1]
>
> [1] https://vuetifyjs.com/en/components/forms/#forms
>
> Thanks,
> Piotr
>
> wt., 8 wrz 2020 o 22:47 Carlos Rovira <[email protected]>
> napisał(a):
>
>> Hi all,
>>
>> Jewel Form and FormItem specially, was implemented in a way that I never
>> was happy. Also others like Piotr had problems doing certain things.
>> So I was thinking of doing a big refactor, I think it will be important
>> before we reach 1.0. But before doing this I was thinking first of leaving
>> the actual Form and FormItem code available for some time as "deprecated"
>> to be able to take the name for the new components. Another option could be
>> to make the refactor over the actual control, but that will mean breaking
>> actual code, so I think that will be a bad idea. Doing this way, you just
>> need to rename both components in all your apps to the new name so that
>> seems pretty easy so far.
>>
>> So the name could be "FormDPCT" and "FormItemDPCT" (DPCT for
>> "Deprecated"). That means that initially, Form and FormDPCT will have the
>> same code, and FormItem and FormItemDPCT will have the same code too. If
>> you have other proposals for the new name let me know.
>>
>> The refactor will do a better Form and FormItem responsive, so I think it
>> is better to layout vertically (label then content controls) by default and
>> take all available width in mobile screens. I think we'll need two layouts
>> for the FormItem, one for layout label and content controls, and other for
>> the content controls itself. Default will be all vertical.
>>
>> Then we'll be able to add other jewel layout beads to make all horizontal
>> or just some parts.
>> I think that way we'll have all flexibility.
>>
>> @Piotr (and others). I think it is the time to put in this thread
>> anything you think I should consider in this refactor, so if you remember
>> the main issues please take the time to log in this thread so I can have in
>> mind.
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
> --
>
> Piotr Zarzycki
>


-- 

Piotr Zarzycki

Reply via email to