2013-08-01 17:59:23 +02:00
|
|
|
var feature_flags = (function () {
|
|
|
|
|
|
|
|
var exports = {};
|
|
|
|
|
2013-10-21 22:29:33 +02:00
|
|
|
// Manually-flipped debugging flags
|
|
|
|
exports.log_send_times = false;
|
2013-10-23 17:39:05 +02:00
|
|
|
exports.collect_send_times = false;
|
2015-09-20 06:20:50 +02:00
|
|
|
exports.local_echo = true;
|
2013-10-21 22:29:33 +02:00
|
|
|
|
2015-09-20 06:20:50 +02:00
|
|
|
// Experimental modification to support much wider message views.
|
|
|
|
exports.full_width = false;
|
2013-12-19 17:03:08 +01:00
|
|
|
|
2015-09-20 06:20:50 +02:00
|
|
|
// Beta rewrite of the Bot UI; probably worth finishing and deploying
|
|
|
|
exports.new_bot_ui = false;
|
2013-12-04 20:15:23 +01:00
|
|
|
|
2015-09-20 06:20:50 +02:00
|
|
|
// 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;
|
2014-02-12 21:07:22 +01:00
|
|
|
|
2015-09-20 06:20:50 +02:00
|
|
|
// The features below have all settled into their final states and can
|
|
|
|
// be removed when we get a chance
|
|
|
|
exports.cleanup_before_reload = true;
|
2013-12-26 22:49:55 +01:00
|
|
|
exports.fade_users_when_composing = true;
|
2013-10-11 18:33:29 +02:00
|
|
|
exports.mark_read_at_bottom = true;
|
|
|
|
exports.propagate_topic_edits = true;
|
2013-12-18 22:22:36 +01:00
|
|
|
exports.clicking_notification_causes_narrow = true;
|
2013-10-11 18:33:29 +02:00
|
|
|
exports.collapsible = false;
|
2015-08-20 02:57:30 +02:00
|
|
|
exports.dropbox_integration = false;
|
2013-09-23 23:57:50 +02:00
|
|
|
|
2013-08-01 17:59:23 +02:00
|
|
|
return exports;
|
|
|
|
|
|
|
|
}());
|
2016-12-04 08:59:56 +01:00
|
|
|
|
|
|
|
if (typeof module !== 'undefined') {
|
|
|
|
module.exports = feature_flags;
|
|
|
|
}
|