Files
zulip/static/js/feature_flags.js
Tim Abbott cecbab3609 Remove now-unused is_customer4 flag.
(imported from commit 4ccd2126d7faef82c588f9523f3fe771fff273af)
2015-08-22 12:48:54 -07:00

46 lines
1.2 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;
// 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);
exports.left_side_userlist = _.contains(['customer7.invalid'], page_params.domain);
exports.enable_new_user_app_alerts = ! _.contains(['employees.customer16.invalid'], page_params.domain);
// Still very beta:
exports.full_width = false; //page_params.staging;
exports.cleanup_before_reload = true;
exports.new_bot_ui = false; // page_params.staging;
exports.fade_at_stream_granularity = page_params.staging;
// Still burning in...
exports.fade_users_when_composing = true;
exports.mark_read_at_bottom = true;
exports.propagate_topic_edits = true;
exports.clicking_notification_causes_narrow = true;
exports.use_socket = true;
exports.local_echo = true;
exports.negated_search = true;
// Ready for deprecation.
exports.collapsible = false;
exports.dropbox_integration = false;
return exports;
}());