diff --git a/ui (gen4)/features/virtual-blocks.js b/ui (gen4)/features/virtual-blocks.js index bde6091a..9dae463a 100644 --- a/ui (gen4)/features/virtual-blocks.js +++ b/ui (gen4)/features/virtual-blocks.js @@ -416,19 +416,15 @@ var VirtualBlocksEditUIActions = actions.Actions({ // virtual block templates... // - // XXX should these be loaded as a ribbon/collection??? - // ...a collection seems to have all the needed functionality - // but there are still questions: - // - stored globally (config), locally (index) or something - // in the middle (collection)? - // - how do we handle this collection .images??? - // ...on the other hand a pure collection is a bad match here as it - // necessitates a context change out of the user context and back - // which is a really bad thing... - // ...this could be done via: - // - dialog w. previews (a-la metadata) - // - floating ribbon (in a dialog) - // this can be implemented as a hidden collection... + // XXX implementation vs. UI + // implementation: + // - this looks like a special collection with local .images + // - hidden? + // - can this be global or shared between indexes? + // - this can be just a list in .config or .data (global/local) + // UI: + // - this can be loaded and/or edited as a collection + // - this can be a dialog... cloneVirtualBlockFromTemplate: ['- Virtual block/Clone from template...', function(){ }],