file path hint in recent files list

This commit is contained in:
antelle 2017-02-04 23:48:27 +01:00
parent 2ecf4b0e3c
commit b24d49dd93
4 changed files with 6 additions and 2 deletions

View File

@ -28,7 +28,7 @@ Tip.prototype.init = function() {
};
Tip.prototype.show = function() {
if (!Tip.enabled && !this.force) {
if (!Tip.enabled && !this.force || !this.title) {
return;
}
Backbone.on('page-geometry', this.hide);

View File

@ -131,6 +131,7 @@ const OpenView = Backbone.View.extend({
return {
id: f.get('id'),
name: f.get('name'),
path: f.get('storage') === 'file' ? f.get('path') : null,
icon: icon,
iconSvg: storage ? storage.iconSvg : undefined
};

View File

@ -82,7 +82,7 @@
</div>
<div class="open__last">
{{#each lastOpenFiles as |file|}}
<div class="open__last-item" data-id="{{file.id}}">
<div class="open__last-item" data-id="{{file.id}}" title="{{file.path}}">
{{#if file.icon}}<i class="fa fa-{{file.icon}} open__last-item-icon"></i>{{/if}}
{{#if file.iconSvg}}<div class="open__last-item-icon open__last-item-icon--svg">{{{file.iconSvg}}}</div>{{/if}}
<span class="open__last-item-text">{{file.name}}</span>

View File

@ -1,5 +1,8 @@
Release notes
-------------
##### v1.5.0 (TBD)
`+` file path hint in recent files list
##### v1.4.0 (2017-02-04)
KDBX4 format support and minor improvements
`+` password generator usability improvements