GTPlayground issue with Monticello

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

GTPlayground issue with Monticello

philippeback
When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:

Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.

There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?

What is asked:

edit: aText label: labelString accept: anAction
"Open an editor on the given string/text"

^(Smalltalk tools workspace openLabel: labelString)
acceptContents:  aText;
acceptAction: anAction;
yourself.

What GTPlayground implements:

openContents:
openContents:label:

We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.

Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.

What to do there?

Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.

I now have to go back to the old Workspace for the default.

It may be good to have a way to have the playground as a specific menu entry.

I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.

All the best,

Phil


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

GTPlaygroundFix.cs (3K) Download Attachment
GTP08-09-14 09-01-51.png (147K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground issue with Monticello

Andrei Chis
Hi Phil,

Thanks for your feedback :)
Workspace has a large API. At the moment in the Playground we only implemented the minimum.

On Mon, Sep 8, 2014 at 9:36 AM, [hidden email] <[hidden email]> wrote:
When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:

Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.

There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?

What is asked:

edit: aText label: labelString accept: anAction
"Open an editor on the given string/text"

^(Smalltalk tools workspace openLabel: labelString)
acceptContents:  aText;
acceptAction: anAction;
yourself.

What GTPlayground implements:

openContents:
openContents:label:

We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.

Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.

What to do there?

For the moment in the implementation of acceptContents: and acceptAction: from GLMSystemWindow I delegate to the model, which is GTPlayground.
acceptContents: can be easily implemented this way  but acceptAction: it's a little more problematic. I need to look more at how it behaves in Workspace but from what I've see we can get the same behaviour if when calling acceptAction: I set the given action to be executed on cmd+s
 

Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.

This features are just not implemented yet. 
We were thinking of a more general and automatic way of saving the content of the workspace but did't manage to implemented yet.
For the previous content you have access to the entire history of the workspace. Do you find it intuitive?
What other actions from the top down menu are missing for you?

 

I now have to go back to the old Workspace for the default.

It may be good to have a way to have the playground as a specific menu entry.

I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.

I'll have a look at ZnWorkspace. Did't use it yet :)
 
I also integrated your changeset.
If want to fix more bugs in the future feel free to commit directly in the Moose repository.
I can add you as a contributor if you're not one already.


Cheers,
Andrei


All the best,

Phil


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground issue with Monticello

philippeback


Le 8 sept. 2014 23:28, "Andrei Chis" <[hidden email]> a écrit :
>
> Hi Phil,
>
> Thanks for your feedback :)
> Workspace has a large API. At the moment in the Playground we only implemented the minimum.
>
> On Mon, Sep 8, 2014 at 9:36 AM, [hidden email] <[hidden email]> wrote:
>>
>> When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:
>>
>> Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.
>>
>> There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?
>>
>> What is asked:
>>
>> edit: aText label: labelString accept: anAction
>> "Open an editor on the given string/text"
>>
>> ^(Smalltalk tools workspace openLabel: labelString)
>> acceptContents:  aText;
>> acceptAction: anAction;
>> yourself.
>>
>> What GTPlayground implements:
>>
>> openContents:
>> openContents:label:
>>
>> We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.
>>
>> Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.
>>
>> What to do there?
>
>
> For the moment in the implementation of acceptContents: and acceptAction: from GLMSystemWindow I delegate to the model, which is GTPlayground.
> acceptContents: can be easily implemented this way  but acceptAction: it's a little more problematic. I need to look more at how it behaves in Workspace but from what I've see we can get the same behaviour if when calling acceptAction: I set the given action to be executed on cmd+s
>  
>>
>>
>> Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.
>
>
> This features are just not implemented yet. 
> We were thinking of a more general and automatic way of saving the content of the workspace but did't manage to implemented yet.
> For the previous content you have access to the entire history of the workspace. Do you find it intuitive?
> What other actions from the top down menu are missing for you?
>
>  
>>
>>
>> I now have to go back to the old Workspace for the default.
>>
>> It may be good to have a way to have the playground as a specific menu entry.
>>
>> I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
>> Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.
>
>
> I'll have a look at ZnWorkspace. Did't use it yet :)
>  
> I also integrated your changeset.
> If want to fix more bugs in the future feel free to commit directly in the Moose repository.
> I can add you as a contributor if you're not one already.
>

I am not. Add me please.
I would be pleased to be of help with GToolkit.

BTW is there a version which works well with the dark theme? As you can see from the screenshot things are hard to read. Uko maybe has something?

Phil
>
> Cheers,
> Andrei
>
>>
>> All the best,
>>
>> Phil
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground issue with Monticello

Andrei Chis


On Mon, Sep 8, 2014 at 11:46 PM, [hidden email] <[hidden email]> wrote:


Le 8 sept. 2014 23:28, "Andrei Chis" <[hidden email]> a écrit :


>
> Hi Phil,
>
> Thanks for your feedback :)
> Workspace has a large API. At the moment in the Playground we only implemented the minimum.
>
> On Mon, Sep 8, 2014 at 9:36 AM, [hidden email] <[hidden email]> wrote:
>>
>> When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:
>>
>> Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.
>>
>> There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?
>>
>> What is asked:
>>
>> edit: aText label: labelString accept: anAction
>> "Open an editor on the given string/text"
>>
>> ^(Smalltalk tools workspace openLabel: labelString)
>> acceptContents:  aText;
>> acceptAction: anAction;
>> yourself.
>>
>> What GTPlayground implements:
>>
>> openContents:
>> openContents:label:
>>
>> We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.
>>
>> Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.
>>
>> What to do there?
>
>
> For the moment in the implementation of acceptContents: and acceptAction: from GLMSystemWindow I delegate to the model, which is GTPlayground.
> acceptContents: can be easily implemented this way  but acceptAction: it's a little more problematic. I need to look more at how it behaves in Workspace but from what I've see we can get the same behaviour if when calling acceptAction: I set the given action to be executed on cmd+s
>  
>>
>>
>> Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.
>
>
> This features are just not implemented yet. 
> We were thinking of a more general and automatic way of saving the content of the workspace but did't manage to implemented yet.
> For the previous content you have access to the entire history of the workspace. Do you find it intuitive?
> What other actions from the top down menu are missing for you?
>
>  
>>
>>
>> I now have to go back to the old Workspace for the default.
>>
>> It may be good to have a way to have the playground as a specific menu entry.
>>
>> I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
>> Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.
>
>
> I'll have a look at ZnWorkspace. Did't use it yet :)
>  
> I also integrated your changeset.
> If want to fix more bugs in the future feel free to commit directly in the Moose repository.
> I can add you as a contributor if you're not one already.
>

I am not. Add me please.

Done :)

I would be pleased to be of help with GToolkit.

 Any help is welcomed  :)
 

BTW is there a version which works well with the dark theme? As you can see from the screenshot things are hard to read. Uko maybe has something?

Not that I know of. The main problem is that Moose is still in Pharo 3 where the black theme is still a "hack", so not every setting can be properly customised. But the move to Phato 4 should happen soon, and then things should improve.


Andrei

 


Phil
>
> Cheers,
> Andrei
>
>>
>> All the best,
>>
>> Phil
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground issue with Monticello

philippeback


Le 9 sept. 2014 00:21, "Andrei Chis" <[hidden email]> a écrit :
>
>
>
> On Mon, Sep 8, 2014 at 11:46 PM, [hidden email] <[hidden email]> wrote:
>>
>>
>> Le 8 sept. 2014 23:28, "Andrei Chis" <[hidden email]> a écrit :
>>
>>
>> >
>> > Hi Phil,
>> >
>> > Thanks for your feedback :)
>> > Workspace has a large API. At the moment in the Playground we only implemented the minimum.
>> >
>> > On Mon, Sep 8, 2014 at 9:36 AM, [hidden email] <[hidden email]> wrote:
>> >>
>> >> When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:
>> >>
>> >> Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.
>> >>
>> >> There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?
>> >>
>> >> What is asked:
>> >>
>> >> edit: aText label: labelString accept: anAction
>> >> "Open an editor on the given string/text"
>> >>
>> >> ^(Smalltalk tools workspace openLabel: labelString)
>> >> acceptContents:  aText;
>> >> acceptAction: anAction;
>> >> yourself.
>> >>
>> >> What GTPlayground implements:
>> >>
>> >> openContents:
>> >> openContents:label:
>> >>
>> >> We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.
>> >>
>> >> Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.
>> >>
>> >> What to do there?
>> >
>> >
>> > For the moment in the implementation of acceptContents: and acceptAction: from GLMSystemWindow I delegate to the model, which is GTPlayground.
>> > acceptContents: can be easily implemented this way  but acceptAction: it's a little more problematic. I need to look more at how it behaves in Workspace but from what I've see we can get the same behaviour if when calling acceptAction: I set the given action to be executed on cmd+s
>> >  
>> >>
>> >>
>> >> Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.
>> >
>> >
>> > This features are just not implemented yet. 
>> > We were thinking of a more general and automatic way of saving the content of the workspace but did't manage to implemented yet.
>> > For the previous content you have access to the entire history of the workspace. Do you find it intuitive?
>> > What other actions from the top down menu are missing for you?
>> >
>> >  
>> >>
>> >>
>> >> I now have to go back to the old Workspace for the default.
>> >>
>> >> It may be good to have a way to have the playground as a specific menu entry.
>> >>
>> >> I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
>> >> Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.
>> >
>> >
>> > I'll have a look at ZnWorkspace. Did't use it yet :)
>> >  
>> > I also integrated your changeset.
>> > If want to fix more bugs in the future feel free to commit directly in the Moose repository.
>> > I can add you as a contributor if you're not one already.
>> >
>>
>> I am not. Add me please.
>
> Done :)

Sweet.

>
>> I would be pleased to be of help with GToolkit.
>
>  Any help is welcomed  :)
>  
>>
>> BTW is there a version which works well with the dark theme? As you can see from the screenshot things are hard to read. Uko maybe has something?
>
> Not that I know of. The main problem is that Moose is still in Pharo 3 where the black theme is still a "hack", so not every setting can be properly customised. But the move to Phato 4 should happen soon, and then things should improve.

Mmh. I am using 3.0 for customer projects. So I'll have a look into that as I want to use the GT things to see how well the playground can help with exploration of options.

The icons should be aware of the theme.

Also I am using the DawnTheme here.

Phil

Phil
>
>
> Andrei
>
>  
>>
>>
>> Phil
>> >
>> > Cheers,
>> > Andrei
>> >
>> >>
>> >> All the best,
>> >>
>> >> Phil
>> >>
>> >>
>> >> _______________________________________________
>> >> Moose-dev mailing list
>> >> [hidden email]
>> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > Moose-dev mailing list
>> > [hidden email]
>> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground issue with Monticello

Andrei Chis


On Tue, Sep 9, 2014 at 8:09 AM, [hidden email] <[hidden email]> wrote:


Le 9 sept. 2014 00:21, "Andrei Chis" <[hidden email]> a écrit :


>
>
>
> On Mon, Sep 8, 2014 at 11:46 PM, [hidden email] <[hidden email]> wrote:
>>
>>
>> Le 8 sept. 2014 23:28, "Andrei Chis" <[hidden email]> a écrit :
>>
>>
>> >
>> > Hi Phil,
>> >
>> > Thanks for your feedback :)
>> > Workspace has a large API. At the moment in the Playground we only implemented the minimum.
>> >
>> > On Mon, Sep 8, 2014 at 9:36 AM, [hidden email] <[hidden email]> wrote:
>> >>
>> >> When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:
>> >>
>> >> Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.
>> >>
>> >> There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?
>> >>
>> >> What is asked:
>> >>
>> >> edit: aText label: labelString accept: anAction
>> >> "Open an editor on the given string/text"
>> >>
>> >> ^(Smalltalk tools workspace openLabel: labelString)
>> >> acceptContents:  aText;
>> >> acceptAction: anAction;
>> >> yourself.
>> >>
>> >> What GTPlayground implements:
>> >>
>> >> openContents:
>> >> openContents:label:
>> >>
>> >> We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.
>> >>
>> >> Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.
>> >>
>> >> What to do there?
>> >
>> >
>> > For the moment in the implementation of acceptContents: and acceptAction: from GLMSystemWindow I delegate to the model, which is GTPlayground.
>> > acceptContents: can be easily implemented this way  but acceptAction: it's a little more problematic. I need to look more at how it behaves in Workspace but from what I've see we can get the same behaviour if when calling acceptAction: I set the given action to be executed on cmd+s
>> >  
>> >>
>> >>
>> >> Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.
>> >
>> >
>> > This features are just not implemented yet. 
>> > We were thinking of a more general and automatic way of saving the content of the workspace but did't manage to implemented yet.
>> > For the previous content you have access to the entire history of the workspace. Do you find it intuitive?
>> > What other actions from the top down menu are missing for you?
>> >
>> >  
>> >>
>> >>
>> >> I now have to go back to the old Workspace for the default.
>> >>
>> >> It may be good to have a way to have the playground as a specific menu entry.
>> >>
>> >> I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
>> >> Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.
>> >
>> >
>> > I'll have a look at ZnWorkspace. Did't use it yet :)
>> >  
>> > I also integrated your changeset.
>> > If want to fix more bugs in the future feel free to commit directly in the Moose repository.
>> > I can add you as a contributor if you're not one already.
>> >
>>
>> I am not. Add me please.
>
> Done :)

Sweet.

>
>> I would be pleased to be of help with GToolkit.
>
>  Any help is welcomed  :)
>  
>>
>> BTW is there a version which works well with the dark theme? As you can see from the screenshot things are hard to read. Uko maybe has something?
>
> Not that I know of. The main problem is that Moose is still in Pharo 3 where the black theme is still a "hack", so not every setting can be properly customised. But the move to Phato 4 should happen soon, and then things should improve.

Mmh. I am using 3.0 for customer projects. So I'll have a look into that as I want to use the GT things to see how well the playground can help with exploration of options.

Aha. So you have a different use case than us. Let me know if you run into any problem with Glamour/GT

The icons should be aware of the theme.


Maybe we need a new set of icons based on a different color set?
You can find the current ones here: https://github.com/girba/mooseart
 

Andrei

Also I am using the DawnTheme here.

Phil

Phil
>
>
> Andrei
>
>  
>>
>>
>> Phil
>> >
>> > Cheers,
>> > Andrei
>> >
>> >>
>> >> All the best,
>> >>
>> >> Phil
>> >>
>> >>
>> >> _______________________________________________
>> >> Moose-dev mailing list
>> >> [hidden email]
>> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > Moose-dev mailing list
>> > [hidden email]
>> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground issue with Monticello

[CH] Aliaksei Syrel

Hi,

What if we transform icon pack into iconic font, of cource if such technic is supported by pharo? In this case the color of icons could be customised by themes.

Cheers,
Alex



On Tue, Sep 9, 2014 at 8:09 AM, [hidden email] <[hidden email]> wrote:


Le 9 sept. 2014 00:21, "Andrei Chis" <[hidden email]> a écrit :


>
>
>
> On Mon, Sep 8, 2014 at 11:46 PM, [hidden email] <[hidden email]> wrote:
>>
>>
>> Le 8 sept. 2014 23:28, "Andrei Chis" <[hidden email]> a écrit :
>>
>>
>> >
>> > Hi Phil,
>> >
>> > Thanks for your feedback :)
>> > Workspace has a large API. At the moment in the Playground we only implemented the minimum.
>> >
>> > On Mon, Sep 8, 2014 at 9:36 AM, [hidden email] <[hidden email]> wrote:
>> >>
>> >> When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:
>> >>
>> >> Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.
>> >>
>> >> There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?
>> >>
>> >> What is asked:
>> >>
>> >> edit: aText label: labelString accept: anAction
>> >> "Open an editor on the given string/text"
>> >>
>> >> ^(Smalltalk tools workspace openLabel: labelString)
>> >> acceptContents:  aText;
>> >> acceptAction: anAction;
>> >> yourself.
>> >>
>> >> What GTPlayground implements:
>> >>
>> >> openContents:
>> >> openContents:label:
>> >>
>> >> We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.
>> >>
>> >> Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.
>> >>
>> >> What to do there?
>> >
>> >
>> > For the moment in the implementation of acceptContents: and acceptAction: from GLMSystemWindow I delegate to the model, which is GTPlayground.
>> > acceptContents: can be easily implemented this way  but acceptAction: it's a little more problematic. I need to look more at how it behaves in Workspace but from what I've see we can get the same behaviour if when calling acceptAction: I set the given action to be executed on cmd+s
>> >  
>> >>
>> >>
>> >> Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.
>> >
>> >
>> > This features are just not implemented yet. 
>> > We were thinking of a more general and automatic way of saving the content of the workspace but did't manage to implemented yet.
>> > For the previous content you have access to the entire history of the workspace. Do you find it intuitive?
>> > What other actions from the top down menu are missing for you?
>> >
>> >  
>> >>
>> >>
>> >> I now have to go back to the old Workspace for the default.
>> >>
>> >> It may be good to have a way to have the playground as a specific menu entry.
>> >>
>> >> I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
>> >> Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.
>> >
>> >
>> > I'll have a look at ZnWorkspace. Did't use it yet :)
>> >  
>> > I also integrated your changeset.
>> > If want to fix more bugs in the future feel free to commit directly in the Moose repository.
>> > I can add you as a contributor if you're not one already.
>> >
>>
>> I am not. Add me please.
>
> Done :)

Sweet.

>
>> I would be pleased to be of help with GToolkit.
>
>  Any help is welcomed  :)
>  
>>
>> BTW is there a version which works well with the dark theme? As you can see from the screenshot things are hard to read. Uko maybe has something?
>
> Not that I know of. The main problem is that Moose is still in Pharo 3 where the black theme is still a "hack", so not every setting can be properly customised. But the move to Phato 4 should happen soon, and then things should improve.

Mmh. I am using 3.0 for customer projects. So I'll have a look into that as I want to use the GT things to see how well the playground can help with exploration of options.

Aha. So you have a different use case than us. Let me know if you run into any problem with Glamour/GT

The icons should be aware of the theme.


Maybe we need a new set of icons based on a different color set?
You can find the current ones here: https://github.com/girba/mooseart
 

Andrei

Also I am using the DawnTheme here.

Phil

Phil
>
>
> Andrei
>
>  
>>
>>
>> Phil
>> >
>> > Cheers,
>> > Andrei
>> >
>> >>
>> >> All the best,
>> >>
>> >> Phil
>> >>
>> >>
>> >> _______________________________________________
>> >> Moose-dev mailing list
>> >> [hidden email]
>> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > Moose-dev mailing list
>> > [hidden email]
>> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GTPlayground issue with Monticello

Tudor Girba-2
We certainly should consider this direction. Another direction is simply using SVG. One thing is certain: we have to move away from bitmaps :)

Doru

On Tue, Sep 9, 2014 at 4:19 PM, [CH] Aliaksei Syrel <[hidden email]> wrote:

Hi,

What if we transform icon pack into iconic font, of cource if such technic is supported by pharo? In this case the color of icons could be customised by themes.

Cheers,
Alex



On Tue, Sep 9, 2014 at 8:09 AM, [hidden email] <[hidden email]> wrote:


Le 9 sept. 2014 00:21, "Andrei Chis" <[hidden email]> a écrit :


>
>
>
> On Mon, Sep 8, 2014 at 11:46 PM, [hidden email] <[hidden email]> wrote:
>>
>>
>> Le 8 sept. 2014 23:28, "Andrei Chis" <[hidden email]> a écrit :
>>
>>
>> >
>> > Hi Phil,
>> >
>> > Thanks for your feedback :)
>> > Workspace has a large API. At the moment in the Playground we only implemented the minimum.
>> >
>> > On Mon, Sep 8, 2014 at 9:36 AM, [hidden email] <[hidden email]> wrote:
>> >>
>> >> When one is in Monticello (Pharo 3.0) and asks for "View Past Comments" on a package, there is a #mnu on GTPlayground class>>openLabel:
>> >>
>> >> Not only there but the FileList (aka FileBrowser) has that "Workspace with contents" command which is broken in the same way.
>> >>
>> >> There is for sure an interesting equivalent in GTPlayground. Why not name it as the Workspace thing?
>> >>
>> >> What is asked:
>> >>
>> >> edit: aText label: labelString accept: anAction
>> >> "Open an editor on the given string/text"
>> >>
>> >> ^(Smalltalk tools workspace openLabel: labelString)
>> >> acceptContents:  aText;
>> >> acceptAction: anAction;
>> >> yourself.
>> >>
>> >> What GTPlayground implements:
>> >>
>> >> openContents:
>> >> openContents:label:
>> >>
>> >> We can deal with openLabel: and acceptContents but an acceptAction equivalent is not to be found.
>> >>
>> >> Also, after looking around (see changeset in attachment), it is hard to do the acceptContents: as we get a self new openOn: page which isn't returning anything I can work with to chain acceptContents: to.
>> >>
>> >> What to do there?
>> >
>> >
>> > For the moment in the implementation of acceptContents: and acceptAction: from GLMSystemWindow I delegate to the model, which is GTPlayground.
>> > acceptContents: can be easily implemented this way  but acceptAction: it's a little more problematic. I need to look more at how it behaves in Workspace but from what I've see we can get the same behaviour if when calling acceptAction: I set the given action to be executed on cmd+s
>> >  
>> >>
>> >>
>> >> Also, there is a super annoying thing in the GTPlayground, namely the disappearance of the top right menu, with all the interesting options that are in there and that I do use all the time (like open/save, previous contents, ...). What's the point of a Playground if I can't save my plays? I think I am missing something here.
>> >
>> >
>> > This features are just not implemented yet. 
>> > We were thinking of a more general and automatic way of saving the content of the workspace but did't manage to implemented yet.
>> > For the previous content you have access to the entire history of the workspace. Do you find it intuitive?
>> > What other actions from the top down menu are missing for you?
>> >
>> >  
>> >>
>> >>
>> >> I now have to go back to the old Workspace for the default.
>> >>
>> >> It may be good to have a way to have the playground as a specific menu entry.
>> >>
>> >> I've started using the ZnWorkspace and as it extends the Workspace, its features aren't picked up in GTPlayground of course.
>> >> Now, it may be great to include those Pastebin style things into GTPlayground so that we can all play together from little urls from Twitter posts.
>> >
>> >
>> > I'll have a look at ZnWorkspace. Did't use it yet :)
>> >  
>> > I also integrated your changeset.
>> > If want to fix more bugs in the future feel free to commit directly in the Moose repository.
>> > I can add you as a contributor if you're not one already.
>> >
>>
>> I am not. Add me please.
>
> Done :)

Sweet.

>
>> I would be pleased to be of help with GToolkit.
>
>  Any help is welcomed  :)
>  
>>
>> BTW is there a version which works well with the dark theme? As you can see from the screenshot things are hard to read. Uko maybe has something?
>
> Not that I know of. The main problem is that Moose is still in Pharo 3 where the black theme is still a "hack", so not every setting can be properly customised. But the move to Phato 4 should happen soon, and then things should improve.

Mmh. I am using 3.0 for customer projects. So I'll have a look into that as I want to use the GT things to see how well the playground can help with exploration of options.

Aha. So you have a different use case than us. Let me know if you run into any problem with Glamour/GT

The icons should be aware of the theme.


Maybe we need a new set of icons based on a different color set?
You can find the current ones here: https://github.com/girba/mooseart
 

Andrei

Also I am using the DawnTheme here.

Phil

Phil
>
>
> Andrei
>
>  
>>
>>
>> Phil
>> >
>> > Cheers,
>> > Andrei
>> >
>> >>
>> >> All the best,
>> >>
>> >> Phil
>> >>
>> >>
>> >> _______________________________________________
>> >> Moose-dev mailing list
>> >> [hidden email]
>> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > Moose-dev mailing list
>> > [hidden email]
>> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev