-
Notifications
You must be signed in to change notification settings - Fork 66
Description
From Discord thread. Copying message content below.
LePage>>#asPhlowTool should delegate to LePageType hierarchy for the default (or custom) composite tools. Currently LePage>>#asLepiterPagePhlowToolFocusStatus: has the default composite tool defined as:
^ GtPhlowCompositeTool new
addTool: (LePagePhlowTool new
shouldFocusFirstSnippet: aBoolean;
page: self);
addTool: (GtPhlowTool default object: self)";
addTool: (GtConnectorTool new object: self)"This should be defined in LePageType and any subclass should be able to override
I already have 2 packages that use Lepiter pages to store arbitrary json in custom snippets. It would be nice to turn the Lepiter pages these packages use into having custom page types so that when I open those pages they are displayed differently. I have a third use case I want to work on which is a kanban board in Gt. I would want to store a 'board' as a Lepiter page, with lists and cards as snippet hierarchies. The default display of that should be a kanban board view, NOT a normal Lepiter page. Currently it doesn't seem possible to do what I want without the above refactorings in Gt