send feedback for UI related to the new link functionality

pull/1/head
ansuz 3 years ago
parent 854a635c5f
commit 9c373377cf

@ -3057,19 +3057,19 @@ define([
var buttons = [{
name: Messages.friendRequest_later,
onClick: function () {
// XXX feedback
if (clicked) { return true; }
clicked = true;
Feedback.send('LINK_RECEIVED_LATER');
},
keys: [27]
}, {
className: 'primary',
name: Messages.link_open,
onClick: function () {
// XXX feedback
if (clicked) { return true; }
clicked = true;
common.openUnsafeURL(url);
Feedback.send("LINK_RECEIVED_OPEN");
},
keys: [13]
}, {
@ -3088,6 +3088,7 @@ define([
}, function () {
modal.closeModal();
dismiss();
Feedback.send("LINK_RECEIVED_STORE");
});
return true;
},

@ -2785,7 +2785,7 @@ define([
name: n,
url: u
}, refresh);
// XXX feedback
Feedback.send("LINK_CREATED");
},
keys: [13]
});

@ -124,6 +124,9 @@ define([
channel: mailbox.notifications,
curvePublic: mailbox.curvePublic
});
if (config.static) {
Feedback.send("LINK_SHARED_WITH_CONTACT");
}
return;
}
}
@ -154,6 +157,7 @@ define([
}, function () {
UI.log(Messages.saved);
});
Feedback.send("LINK_ADDED_TO_DRIVE");
return;
}
sframeChan.query('Q_STORE_IN_TEAM', {

Loading…
Cancel
Save