I couldn't easily tell if those differences are new features or fixed bugs. Bug 
fixes that all users of DateChooserModel will need should go in the Basic one.  
 Similarly, the change I made to Jewel's DateChooserModel to fix the build was 
a quick one.  I only added the missing property but didn't hook it up to 
anything as I don't know if there is Jewel has the same problem or not or can 
be refactored to leverage more code and the fix from the Basic one.

-Alex

On 1/31/20, 11:04 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote:

    About Jewel DateChooserModel, if you compare with Basic one will see that
    has several more code, since implements a lot of things that was missed in
    the Basic one.
    
    El vie., 31 ene. 2020 a las 19:58, Carlos Rovira (<carlosrov...@apache.org>)
    escribió:
    
    > Hi Alex,
    >
    > the problem is in dataProviderChangeHandler method
    > Basic is adding styles just in case like this:
    >
    > var style:SimpleCSSStyles = new SimpleCSSStyles();
    > style.marginBottom = presentationModel.separatorThickness;
    > UIBase(ir).style = style;
    >
    > while Jewel tries to minimize (or remove at all) any set of styles and
    > uses CSS
    >
    > As well
    >
    > UIBase(ir).percentWidth = 100;
    >
    > is removed too.
    >
    > another thing is
    >
    > dataGroup.addItemRenderer(ir, false);
    >
    > is executed at in other order in other place, I think I need to do that
    > for some reason, but don't remember why
    >
    > For that reason, I was proposing to refactor to extend the basic one.
    >
    > What do you think?
    >
    > El vie., 31 ene. 2020 a las 18:09, Alex Harui (<aha...@adobe.com.invalid>)
    > escribió:
    >
    >> Hi Carlos,
    >>
    >> The diff I ran didn't show anything obvious.   And as you noted in
    >> another email, there is a copy of DateChooserModel in Jewel I didn't see
    >> that I will fix shortly.
    >>
    >> Are we still concerned about re-use of Basic beads?  I thought all visual
    >> CSS from Basic was moved to a Theme.  It may also be that we need to get
    >> better at using interfaces (and the "has" pattern) and maybe more of 
these
    >> beads and models can go in Core or maybe some other SWC.
    >>
    >> -Alex
    >>
    >> On 1/31/20, 4:01 AM, "Carlos Rovira" <carlosrov...@apache.org> wrote:
    >>
    >>     Hi Alex,
    >>     I've missed this email, sorry. I was comparing code and there's
    >> various
    >>     changes most of all at the end of the file that are important for
    >> Jewel,
    >>     I can try to make it extend the Basic Bead and see if that's possible
    >> and
    >>     saves something
    >>
    >>     El mié., 29 ene. 2020 a las 20:48, Alex Harui
    >> (<aha...@adobe.com.invalid>)
    >>     escribió:
    >>
    >>     > @Carlos,
    >>     >
    >>     > While we're on the subject, it appears that Jewel has an actual
    >> copy of,
    >>     > for example, Basic's DataItemRendererFactoryForArrayData.  What is
    >> the
    >>     > rationale for that?  Is there some subtle difference I'm not seeing
    >> or can
    >>     > we get rid of the duplicate copy?
    >>     >
    >>     > -Alex
    >>     >
    >>     > On 1/29/20, 8:46 AM, "Carlos Rovira" <carlosrov...@apache.org>
    >> wrote:
    >>     >
    >>     >     It's ok to change it if other changes done this past months
    >> make MDL
    >>     > DDL
    >>     >     continue to work
    >>     >     Maybe others are using it since is a full working set and we
    >> should
    >>     > ensure
    >>     >     it continue to work
    >>     >     thanks
    >>     >
    >>     >     El mié., 29 ene. 2020 a las 15:56, Piotr Zarzycki (<
    >>     >     piotrzarzyck...@gmail.com>) escribió:
    >>     >
    >>     >     > Hi Alex,
    >>     >     >
    >>     >     > I remember that DropDownl list was lack of dataField 
actually.
    >>     > Instead of
    >>     >     > adding it trough property - I have created Bead which
    >> provides that
    >>     >     > feature. Whether it's needed now or not is actually something
    >> I have
    >>     > no
    >>     >     > idea about. I'm ok with removing it.
    >>     >     >
    >>     >     >
    >>     >     > wt., 28 sty 2020 o 20:55 Alex Harui <aha...@adobe.com>
    >> napisał(a):
    >>     >     >
    >>     >     > > Ran into this while doing the has/is refactor.
    >>     >     > >
    >>     >     > > In what ways is this different than the labelField in
    >>     > IDataProviderModel?
    >>     >     > >
    >>     >     > > Thanks,
    >>     >     > > -Alex
    >>     >     > >
    >>     >     > > On 6/29/17, 12:22 PM, "pio...@apache.org" <
    >> pio...@apache.org>
    >>     > wrote:
    >>     >     > >
    >>     >     > >     FLEX-35328 - Update MDLExample with
    >> DataFieldProviderBead
    >>     >     > >
    >>     >     > >
    >>     >     > >     Project:
    >>     >     > >
    >>     >     >
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Frepo&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856310219&amp;sdata=q8gSix2CL6OlUeEMc0S%2FFiYMnL9aleIjEXxXCoG3r94%3D&amp;reserved=0
    >>     >     > >     Commit:
    >>     >     > >
    >>     >     >
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fcommit%2Fc706278e&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856310219&amp;sdata=7eBQKt2xSkYsAkEB6%2BxjOwTG4gagT2NhDR4FkQUvB8o%3D&amp;reserved=0
    >>     >     > >     Tree:
    >>     >     > >
    >>     >     >
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Ftree%2Fc706278e&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856310219&amp;sdata=pIFy%2B9GmevdGztdXijY%2FC%2FBplu1kMuS%2F8BgNjVUFNyI%3D&amp;reserved=0
    >>     >     > >     Diff:
    >>     >     > >
    >>     >     >
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fdiff%2Fc706278e&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856310219&amp;sdata=eI7HWmaEWDlxbLSw8BKn62gluTSJNPbcfrpLlE92I6E%3D&amp;reserved=0
    >>     >     > >
    >>     >     > >     Branch: refs/heads/develop
    >>     >     > >     Commit: c706278ed1fe5d7ab5e763c572b3d97f16077a80
    >>     >     > >     Parents: eaa33ea
    >>     >     > >     Author: piotrz <pio...@apache.org>
    >>     >     > >     Authored: Sun Jun 25 19:27:09 2017 +0200
    >>     >     > >     Committer: piotrz <pio...@apache.org>
    >>     >     > >     Committed: Sun Jun 25 19:27:09 2017 +0200
    >>     >     > >
    >>     >     > >
    >>     >     >
    >>     >
    >> ----------------------------------------------------------------------
    >>     >     > >
    >> examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml |
    >>     > 2 +-
    >>     >     > >      1 file changed, 1 insertion(+), 1 deletion(-)
    >>     >     > >
    >>     >     >
    >>     >
    >> ----------------------------------------------------------------------
    >>     >     > >
    >>     >     > >
    >>     >     > >
    >>     >     > >
    >>     >     >
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fflex-asjs%2Fblob%2Fc706278e%2Fexamples%2Fflexjs%2FMDLExample%2Fsrc%2Fmain%2Fflex%2FDropDownList.mxml&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856310219&amp;sdata=xJ19JmLG7vdRC4aur65Jt0RZwCtQ4s8sccXNTjcA5DA%3D&amp;reserved=0
    >>     >     > >
    >>     >     >
    >>     >
    >> ----------------------------------------------------------------------
    >>     >     > >     diff --git
    >>     >     > > 
a/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
    >>     >     > > 
b/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
    >>     >     > >     index 14d14fd..4231328 100644
    >>     >     > >     ---
    >>     > a/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
    >>     >     > >     +++
    >>     > b/examples/flexjs/MDLExample/src/main/flex/DropDownList.mxml
    >>     >     > >     @@ -38,7 +38,7 @@ limitations under the License.
    >>     >     > >                                sourceID="menuModel"
    >>     >     > >
    >> sourcePropertyName="menuItems"
    >>     >     > >
    >>     > destinationPropertyName="dataProvider" />
    >>     >     > >     -                  <models2:DataFieldProviderModel
    >>     >     > dataField="value"/>
    >>     >     > >     +                  <js:DataFieldProviderBead
    >>     > dataField="value"/>
    >>     >     > >                    </mdl:beads>
    >>     >     > >                </mdl:DropDownList>
    >>     >     > >              </mdl:GridCell>
    >>     >     > >
    >>     >     > >
    >>     >     > >
    >>     >     > >
    >>     >     >
    >>     >     > --
    >>     >     >
    >>     >     > Piotr Zarzycki
    >>     >     >
    >>     >     > Patreon: *
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856310219&amp;sdata=%2BLWHpYRKG4Pa1%2FWOH53y%2FVzXQbdm8kTz3%2FGpBW%2FuBow%3D&amp;reserved=0
    >>     >     > <
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856310219&amp;sdata=%2BLWHpYRKG4Pa1%2FWOH53y%2FVzXQbdm8kTz3%2FGpBW%2FuBow%3D&amp;reserved=0
    >>     > >*
    >>     >     >
    >>     >
    >>     >
    >>     >     --
    >>     >     Carlos Rovira
    >>     >
    >>     >
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856320214&amp;sdata=bEw2aD2IjDggINRA0UgLCESTKyeDd8PAUKQdgvOo%2BiE%3D&amp;reserved=0
    >>     >
    >>     >
    >>     >
    >>
    >>     --
    >>     Carlos Rovira
    >>
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856320214&amp;sdata=bEw2aD2IjDggINRA0UgLCESTKyeDd8PAUKQdgvOo%2BiE%3D&amp;reserved=0
    >>
    >>
    >>
    >
    > --
    > Carlos Rovira
    > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856320214&amp;sdata=bEw2aD2IjDggINRA0UgLCESTKyeDd8PAUKQdgvOo%2BiE%3D&amp;reserved=0
    >
    >
    
    -- 
    Carlos Rovira
    
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C81a488c7c32049ee65d908d7a6806f02%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637160942856320214&amp;sdata=bEw2aD2IjDggINRA0UgLCESTKyeDd8PAUKQdgvOo%2BiE%3D&amp;reserved=0
    

Reply via email to