add notes to gather feedback about the new link feature

pull/1/head
ansuz 3 years ago
parent ec928334d8
commit 52d5bb5ae8

@ -3048,6 +3048,7 @@ define([
var buttons = [{ var buttons = [{
name: Messages.friendRequest_later, name: Messages.friendRequest_later,
onClick: function () { onClick: function () {
// XXX feedback
if (clicked) { return true; } if (clicked) { return true; }
clicked = true; clicked = true;
}, },
@ -3056,6 +3057,7 @@ define([
className: 'primary', className: 'primary',
name: Messages.link_open, name: Messages.link_open,
onClick: function () { onClick: function () {
// XXX feedback
if (clicked) { return true; } if (clicked) { return true; }
clicked = true; clicked = true;
common.openUnsafeURL(url); common.openUnsafeURL(url);
@ -3067,6 +3069,7 @@ define([
onClick: function () { onClick: function () {
if (clicked) { return; } if (clicked) { return; }
clicked = true; clicked = true;
// XXX feedback
common.getSframeChannel().query("Q_DRIVE_USEROBJECT", { common.getSframeChannel().query("Q_DRIVE_USEROBJECT", {
cmd: "addLink", cmd: "addLink",
data: { data: {

@ -1939,6 +1939,7 @@ define([
'class': 'cp-app-drive-element-ctime cp-app-drive-element-list' 'class': 'cp-app-drive-element-ctime cp-app-drive-element-list'
}).text(getDate(data.ctime)); }).text(getDate(data.ctime));
$element.append($type).append($adate).append($cdate); $element.append($type).append($adate).append($cdate);
// XXX feedback
}; };
var _addOwnership = function ($span, $state, data) { var _addOwnership = function ($span, $state, data) {
if (data && Array.isArray(data.owners) && data.owners.indexOf(edPublic) !== -1) { if (data && Array.isArray(data.owners) && data.owners.indexOf(edPublic) !== -1) {
@ -2780,6 +2781,7 @@ define([
name: n, name: n,
url: u url: u
}, refresh); }, refresh);
// XXX feedback
}, },
keys: [13] keys: [13]
}); });

@ -111,6 +111,7 @@ define([
if (mailbox) { // Friend if (mailbox) { // Friend
if (friends[curve] && !mailbox.notifications) { return; } if (friends[curve] && !mailbox.notifications) { return; }
if (mailbox.notifications && mailbox.curvePublic) { if (mailbox.notifications && mailbox.curvePublic) {
// XXX feedback
common.mailbox.sendTo("SHARE_PAD", { common.mailbox.sendTo("SHARE_PAD", {
href: href, href: href,
isStatic: Boolean(config.static), isStatic: Boolean(config.static),

@ -115,6 +115,7 @@ define([
}; };
content.handler = function() { content.handler = function() {
if (msg.content.isStatic) { if (msg.content.isStatic) {
// XXX feedback
UIElements.displayOpenLinkModal(common, { UIElements.displayOpenLinkModal(common, {
curve: msg.author, curve: msg.author,
href: msg.content.href, href: msg.content.href,

Loading…
Cancel
Save