From 330bd865e13fb77b057fd3764c12fa6f35623367 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 23 Dec 2017 02:55:54 +0300 Subject: [PATCH] more refactoring... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/collections.js | 41 ++++++++++++++++++++++++++----- ui (gen4)/features/keyboard.js | 2 +- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/ui (gen4)/features/collections.js b/ui (gen4)/features/collections.js index 1af81edf..176f115e 100755 --- a/ui (gen4)/features/collections.js +++ b/ui (gen4)/features/collections.js @@ -792,7 +792,7 @@ var CollectionActions = actions.Actions({ // ... // }) // NOTE: see .ensureCollection(..) for more details... - collect: ['- Collections/', + collect: ['Collections|Image/Add $image to collection...', core.doc`Add items to collection Add current image to collection... @@ -861,7 +861,7 @@ var CollectionActions = actions.Actions({ return this.joinCollect(null, collection, data) }).bind(this)) }], - joinCollect: ['- Collections/Merge to collection', + joinCollect: ['Collections/$Merge view to collection...', core.doc`Merge/Join current state to collection Join current state into collection @@ -2231,18 +2231,36 @@ module.AutoCollections = core.ImageGridFeatures.Feature({ //--------------------------------------------------------------------- +// Make an action that when called without enough arguments show a +// collection selector dialog and just call the given function when +// enough arguments are given. +// // NOTE: if n > 1 and