Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-10-29 16:00:17 +03:00
parent eec7bf1839
commit e5488e9b27

View File

@ -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(){
}],