zulip/static/js/feature_flags.js

41 lines
1.2 KiB
JavaScript

var feature_flags = (function () {
var exports = {};
// Voyager-related flags
exports.do_not_share_the_love = page_params.voyager;
// Manually-flipped debugging flags
exports.log_send_times = false;
exports.collect_send_times = false;
exports.use_socket = true;
exports.local_echo = true;
// Permanent realm-specific stuff:
exports.disable_message_editing = _.contains(['mit.edu'], page_params.domain);
// Experimental modification to support much wider message views.
exports.full_width = false;
// Beta rewrite of the Bot UI; probably worth finishing and deploying
exports.new_bot_ui = false;
// Experimental feature to not fade messages that differ only in
// topic; was not a successful experiment so can be deleted.
exports.fade_at_stream_granularity = false;
// The features below have all settled into their final states and can
// be removed when we get a chance
exports.cleanup_before_reload = true;
exports.fade_users_when_composing = true;
exports.mark_read_at_bottom = true;
exports.propagate_topic_edits = true;
exports.clicking_notification_causes_narrow = true;
exports.negated_search = true;
exports.collapsible = false;
exports.dropbox_integration = false;
return exports;
}());