mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Add topic-zooming hooks.
This commit doesn't actually add the final UI to zoom/unzoom topics, because I want to keep those in separate commits, in case we change how to enable the feature. But this commit adds a toggle_zoom() function that zooms/unzooms topics. Zooming is minimally invasive, because we don't really introduce many extra elements to the UI; instead, we just make the list of streams be a list of length one (i.e. the active stream). This gives us a lot of stuff for free, basically, like unread counts, etc. (imported from commit 814c1361b6210d1591b4174bed1d6e0c98a3f255)
This commit is contained in:
		@@ -43,6 +43,7 @@ exports.left_side_userlist = _.contains(['customer7.invalid'], page_params.domai
 | 
			
		||||
exports.fade_users_when_composing = page_params.staging || is_customer4;
 | 
			
		||||
exports.use_socket = false;
 | 
			
		||||
exports.clicking_notification_causes_narrow = page_params.staging || _.contains(['customer25.invalid'], page_params.domain);
 | 
			
		||||
exports.topic_zooming = page_params.staging;
 | 
			
		||||
 | 
			
		||||
// Still burning in...
 | 
			
		||||
exports.mark_read_at_bottom = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user