Files
zulip/static/js/feature_flags.js
David Roe 3ac95ddc1a Add UserProfile flag to control whether we have a left side userlist.
Previously this was hardcoded for a single customer.

(imported from commit a6b7095050aa10cef976541505d9b09a35453f48)
2015-09-19 23:22:59 -07:00

45 lines
1.3 KiB
JavaScript

var feature_flags = (function () {
var exports = {};
// Helpers
var og_zuliper_emails = [];
// 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);
exports.is_og_zulip_user = _.contains(og_zuliper_emails, page_params.email);
// 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;
}());