[Sugar-devel] [DESIGN] Examples objects support for activities.

Martin Abente martin.abente.lahaye at gmail.com
Thu Sep 13 21:02:08 EDT 2012


Thanks for the feedback!

I will take a look into that.

On Tue, Sep 4, 2012 at 11:08 AM, Gary Martin <garycmartin at googlemail.com>wrote:

> Hi Martin,
>
> On 4 Sep 2012, at 03:05, Martin Abente <martin.abente.lahaye at gmail.com>
> wrote:
>
> > @gonzalo: Regarding gtk2->gtk3, no problem, I wil do it ASAP.
> >
> > @gonzalo & bert: I would go for the simpler solution. But is really
> important that we can agree on this.
> >
> > @gonzalo: regarding the icon, I think the activity icon works fine, but
> maybe someone else can give us more feedback to see which one is better to
> choose (maybe @gary?).
>
> Yes need to look at this, the activity icon gets used in many places these
> days for slightly different meanings, we will wear them out if we are not
> careful! ;) /me wonders if we can badge the Activity icon with a small
> box/collection icon.
>
> > @gonzalo: setting the examples option as first is no big deal.
> >
> > Before doing anything I think we should agree on these changes. Maybe at
> tomorrow's design meeting? If these is one, at least informal.
>
> Apologies, I know we missed last weeks official meeting as well, but the
> first 13.0 build triage meeting is today (due to a US holiday yesterday). I
> at least will not manage a design meeting today.
>
> Regards,
> --Gary
>
> > Thank you guys for the feedback :) Lets keep pushing this!
> >
> > On Fri, Aug 31, 2012 at 4:42 PM, Gonzalo Odiard <godiard at gmail.com>
> wrote:
> > Another note:
> >
> > Thinking in the use case of a developer adding the ObjectChoser with the
> intention
> > of show to the users the examples directory content,
> > like TurtleArt today use a FileChooser,
> > probably would be good have a option to set the examples directory as
> the first displayed
> > instead of displaying the content of the Journal, and then the user need
> change to
> > the examples directory.
> > I don't know how difficult is implement it, but have sense from the
> point of view
> > of the usability.
> >
> > Gonzalo
> >
> > On Fri, Aug 31, 2012 at 4:54 PM, Gonzalo Odiard <godiard at gmail.com>
> wrote:
> > Sorry, we are so busy, these days...
> >
> > I have tested it, and works as expected.
> >
> > A few comments:
> >
> > * gtk2 branch is in maintenance mode now, probably is better port this
> to the gtk3 branch.
> > (Anyway need opinion of sugar maintainers)
> >
> > * IMHO the code added to enable configure the examples directory is so
> complicate,
> > and do not add too much value. I think is better use a fixed "examples"
> or "samples"
> > (as in TurtleArt). If the maintainer want use it, should follow the
> convention.
> > We do the same, by example with the "icons" directory.
> >
> > * Finally, I think the button in the ObjectChooser deserve a special
> icon, and not use the activity icon.
> > Probably using the "box" metaphor.
> >
> > Thanks by the work and patience :)
> > Keep pushing! (my new motto)
> >
> > Gonzalo
> >
> >
> > On Fri, Aug 31, 2012 at 3:23 PM, Martin Abente <
> martin.abente.lahaye at gmail.com> wrote:
> > Its been too quiet recently.
> >
> > Apart from Bert I have not received any feedback from the current
> "functional design" concept.
> >
> > Anyone still interested? :)
> >
> >
> > On Wed, Aug 22, 2012 at 10:13 PM, Martin Abente <
> martin.abente.lahaye at gmail.com> wrote:
> > Nice! Please also give it a try :)
> >
> > @Gary, Gonzalo, ping ;) both patches are here:
> http://www.sugarlabs.org/~tch/patches/examples/
> >
> >
> > On Wed, Aug 22, 2012 at 10:24 AM, Bert Freudenberg <bert at freudenbergs.de>
> wrote:
> > On 2012-08-22, at 04:27, Martin Abente wrote:
> >
> > > Hello everyone:
> > >
> > > From the meeting notes and Bert suggestion I have what could be called
> the version 2 of this feature, greatly simplified and complies with
> everyones rightful suggestions.
> > >
> > > To avoid spaming (for some time) the sugar-devel ML I will post the
> patches just here:
> > >
> > > sugar:
> http://www.sugarlabs.org/~tch/patches/examples/sugar/0001-Examples-objects-support-V2.patch
> > > sugar-toolkit:
> http://www.sugarlabs.org/~tch/patches/examples/sugar-toolkit/0001-Examples_path-activity-info.patch
> > >
> > > Feedback is welcome!
> > > tch
> >
> > I have not tried it, but by eyeballing the code looks fine :)
> >
> > - Bert -
> >
> >
> > > On Tue, Aug 21, 2012 at 3:42 PM, Martin Abente <
> martin.abente.lahaye at gmail.com> wrote:
> > > I don't see why not, we can achieve both things :). Maybe someone have
> another opinion regarding this?
> > >
> > >
> > > On Tue, Aug 21, 2012 at 3:07 PM, Bert Freudenberg <
> bert at freudenbergs.de> wrote:
> > > On 2012-08-21, at 20:17, Martin Abente wrote:
> > >
> > > > The design I implemented works like this:
> > > >
> > > > a. activity developers or deployments add a new "examples" folder
> inside the activity bundle with their examples objects.
> > > > b. when the activity starts, the example folder will be accessible
> through the journal as new volume option, and also from __any__
> ObjectChooser.
> > > > c. Only one volume button will be shown, even when many instances of
> the activity are running.
> > > > d. The example folder will disappear from the journal when the last
> instance is closed.
> > > > [...]
> > > > Waiting for more feedback... :)
> > >
> > > And in another thread:
> > >
> > > >> instead of a magic directory name, couldn't the activity.info file
> have a new entry giving the examples path?
> > > >
> > >
> > > > What I tried, or I am trying, to do is to make this feature
> available as easy as we can, so even deployments could add their own
> examples with very little technical knowledge requirements. That why I try
> this convention (magical) idea.
> > >
> > >
> > > Okay, so by default it should look for a directory named "examples".
> But maybe a different path could be set in activity.info?
> > >
> > > - Bert -
> > >
> > >
> > > _______________________________________________
> > > Sugar-devel mailing list
> > > Sugar-devel at lists.sugarlabs.org
> > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > >
> > >
> >
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
> >
> >
> >
> > --
> > Gonzalo Odiard
> >
> >
> >
> >
> >
> > --
> > Gonzalo Odiard
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120913/b04d69e9/attachment.html>


More information about the Sugar-devel mailing list