downgrade severity of several XXX notes

This commit is contained in:
ansuz 2020-10-07 16:49:48 +05:30
parent 395b432b60
commit d509fd8b8f
7 changed files with 9 additions and 9 deletions

View File

@ -59,7 +59,7 @@
}
& > p:not(.cp-modal-form) {
text-align: left; // XXX needs testing
text-align: left;
margin-right: 30px;
}

View File

@ -36,7 +36,7 @@ Workers.initialize = function (Env, config, _cb) {
};
const countWorkerTasks = function (/* index */) {
return 0; // XXX this disables all queueing until it can be proven correct
return 0; // FIXME this disables all queueing until it can be proven correct
//return Object.keys(workers[index].tasks || {}).length;
};

View File

@ -1783,9 +1783,9 @@ define([
});
if (sharedF && manager.isPathIn(newPath, [TRASH])) {
// XXX create a key here?
// TODO create a key here?
// You can't move to YOUR trash documents stored in a shared folder
// XXX or keep deletePaths: trigger the "Remove from cryptdrive" modal
// TODO or keep deletePaths: trigger the "Remove from cryptdrive" modal
return void UI.warn(Messages.error);
//return void deletePaths(null, movedPaths);
}

View File

@ -480,7 +480,7 @@ define([
// Make sure we have not been kicked from the roster
var state = roster.getState();
var me = Util.find(ctx, ['store', 'proxy', 'curvePublic']);
// XXX FIXME roster history temporarily corrupted, don't leave the team
// FIXME roster history temporarily corrupted, don't leave the team
if (!state.members || !Object.keys(state.members).length) {
lm.stop();
roster.stop();
@ -488,6 +488,7 @@ define([
cb({error: 'EINVAL'});
waitFor.abort();
console.error(JSON.stringify(state));
Feedback.send("ROSTER_CORRUPTED");
return;
}
if (!state.members[me]) {

View File

@ -690,7 +690,7 @@ define([
});
ctx.sframeChan.on('EV_NEW_VERSION', function () {
// XXX lock the UI and do the same in non-framework apps
// TODO lock the UI and do the same in non-framework apps
var $err = $('<div>').append(Messages.newVersionError);
$err.find('a').click(function () {
funcs.gotoURL();

View File

@ -490,8 +490,7 @@ define([
}, function(obj) {
UI.removeLoadingScreen();
if (obj && obj.error) {
// TODO
// XXX EEXISTS error message?
// TODO more specific error message?
UI.alert(Messages.settings_changePasswordError);
}
});

View File

@ -421,7 +421,7 @@ define([
common.displayAvatar($(avatar), team.metadata.avatar, team.metadata.name);
$(btn).click(function () {
if (team.error) {
UI.warn(Messages.error); // XXX better error message - roster bug, can't load the team for now
UI.warn(Messages.error); // FIXME better error message - roster bug, can't load the team for now
return;
}
openTeam(common, id, team);