diff --git a/ui (gen4)/Makefile b/ui (gen4)/Makefile index 72bac49c..e23e4e46 100755 --- a/ui (gen4)/Makefile +++ b/ui (gen4)/Makefile @@ -168,6 +168,8 @@ win64: $(APP_ZIP) $(WIN_BUILD_DIR) chmod +x $(WIN_BUILD_DIR)/*.{exe,dll} cp -vR \ $(NODE_DIR) $(WIN_BUILD_DIR) + # XXX is this correct??? + cp -vR "`which exiftool`" $(WIN_BUILD_DIR) # cleanup nwjs-sdk... rm -f $(WIN_BUILD_DIR)/nwsnapshot.exe \ $(WIN_BUILD_DIR)/payload.exe \ diff --git a/ui (gen4)/css/widget/browse.css b/ui (gen4)/css/widget/browse.css index d0ecd496..1e9a0abb 100755 --- a/ui (gen4)/css/widget/browse.css +++ b/ui (gen4)/css/widget/browse.css @@ -217,7 +217,7 @@ font-style: italic; font-weight: bold; } -.browse-widget .list>div.highlighted .text:after { +.browse-widget .list>div.highlighted .text:last-child:after { content: ' *'; } .browse-widget:not(.flat) .list div:not(.not-traversable) .text:after { diff --git a/ui (gen4)/features/filesystem.js b/ui (gen4)/features/filesystem.js index ddd0d8f6..be943aa6 100755 --- a/ui (gen4)/features/filesystem.js +++ b/ui (gen4)/features/filesystem.js @@ -475,6 +475,15 @@ var FileSystemLoaderUIActions = actions.Actions({ }, }, + // Save comments... + // + // Format: + // { + // : + // } + savecomments: null, + + // XXX should the loader list be nested or open in overlay (as-is now)??? browsePath: ['File/Browse file system...', widgets.makeUIDialog(function(base, callback){ @@ -607,8 +616,7 @@ var FileSystemLoaderUIActions = actions.Actions({ // NOTE: this will set changes to all when loading a different state // that the latest and to non otherwise.... // - // XXX handle named saves... - // XXX add ability to name a save... + // XXX add comment editing... // XXX need to handle saves (saveIndex(..) and friends) when loaded // a specific history position... // ...in theory saving and old index will create an incremental @@ -675,8 +683,17 @@ var FileSystemLoaderUIActions = actions.Actions({ .forEach(function(d){ var txt = Date.fromTimeStamp(d).toShortDate() - // XXX get the save name... - make(txt) + // get the save name... + var title = [txt] + var comment = that.savecomments && that.savecomments[d] + //title.push(comment || '') + comment && title.push(comment) + + // XXX is this the best format??? + title = title.join(' - ') + + make(title) + .attr('timestamp', d) .on('open', function(){ that.loadIndex(that.location.path, d) .then(function(){