[Pharo-dev] [Moose-dev] glamorous toolkit: v0.4.0
tudor at tudorgirba.com
Fri Dec 28 03:45:52 EST 2018
Thanks for the feedback!
I am happy you like the new possibilities and that you see the incentives to move to the new world :).
The inspector part is working quite well. The main reason we call it an alpha is because of the missing pieces to get to a full environment.
You noticed the issue of Spotter. The existing Spotter is the one that is included in the old GT and it lives in the Morphic world. When the focus is in the new inspector, that means that keybindings are handled by Bloc and this is a separate world from Morphic. At present time, we can embed Bloc in Morphic but not the other way around as we want no binding from Bloc to Morphic. For this reason, unhandled keys are not propagated from Bloc to Morphic and that is why pressing Shift+Enter does not open Spotter.
So, we will have a Spotter, but that will be another implementation. Other unfinished tools are the Debugger and Coder, but these are likely less relevant for your use case.
A few other missing pieces:
- some widgets such as a tree are not yet implemented. So, we do not yet have a tree view in inspector.
- the text editor requires a few enhancements for navigation support.
The Miller-columns interface can be scrolled with the touchpad left-right. Can you confirm?
About clicking vs double-clicking: Indeed, we now distinguish between selecting and spawning. As soon as there is a page to the right, selecting will populate that page. However, if there is no page to the right, simply selecting in a list will not spawn, like in the old inspector. Like this, you can work on a page without the page scrolling from underneath you. Please note that between pages we have triangles which are actually buttons. Selecting in a list shows a triangle. Clicking on the triangle spawns. So, you can either double-click to spawn, or you can select and then click on the triangle. Once spawned, simple selection is enough. Does this clarify the situation?
About Roassal: In the new GT we have GtMondrian which is similar to the one from Roassal. We do not yet have support for creating charts (like bar or line charts).
About the porting strategy: When you have the new GT loaded, the old Inspector will get a _GT pane that will essentially embed the new views in the old inspector. These also allow for interaction. Like this, you can port at your pace and switch only when you are ready.
> On Dec 27, 2018, at 11:36 AM, Luke Gorrie <luke at snabb.co> wrote:
> ... Some comments and questions if I may:
> The "+" button to quickly maximize a panel is fantastic. I am often looking at complex visualizations that should really be full-screen and it was always too much trouble to "drag" them to full screen and back.
> Is the Spotter still a part of GToolkit? If not then what replaces it? (I can see that it is present in the image but Shift-Return doesn't seem to invoke it when the GTInspector window has focus.)
> Is it still possible to pan left-right between "miller columns"? I see the squares at the top representing panes but clicking and dragging them doesn't seem to do anything.
> How come a double-click is now needed to inspect an object? Is single-click going to have a new function?
> Once more - great work you guys are doing !
> On Thu, 27 Dec 2018 at 11:06, Luke Gorrie <luke at snabb.co> wrote:
> Hi Doru,
> Thank you very much for the detailed explanation.
> I have spent some time with the alpha now. I think it is absolutely fantastic!
> I love the new narrative style of the UI. This ties everything together beautifully and makes it easy to explore. That's really what I am lacking in my application. Currently it simply opens to a blank quasi-playground and it is not obvious what to type or how to get started. I started writing a separate HTML manual but I don't think that's the right medium -- much better with something interactive in the image like the Documenter.
> Just clicking around everything seemed to work basically smoothly for me. Maybe it's already time for me to port over to the new GT? Or what do you think the most likely obstacles would be in transitioning to this alpha version?
> Currently my custom inspector extensions are mostly based on Roassal and List/Tree/Table views. I also have one or two Glamour browsers. Is that all still there in one form or another?
> Moose-dev mailing list
> Moose-dev at list.inf.unibe.ch
"Every thing has its own flow."
More information about the Pharo-dev