mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	compose: Show banner if user is not allowed to post in the stream.
We now show a banner on opening the compose box and changing the stream in dropdown, if a user is not allowed to post in a stream. The "Send" button is also disabled if user is not allowed to post in the stream. This commit also moved the CSS for disabled modal button in dark theme below after the other CSS for modals as we are using the same CSS for the "Send" button as well in disabled state.
This commit is contained in:
		@@ -131,6 +131,7 @@ test("start", ({override, override_rewire}) => {
 | 
			
		||||
    override_rewire(compose_actions, "blur_compose_inputs", () => {});
 | 
			
		||||
    override_rewire(compose_actions, "clear_textarea", () => {});
 | 
			
		||||
    override_rewire(compose_recipient, "update_on_recipient_change", () => {});
 | 
			
		||||
    override_rewire(compose_recipient, "check_stream_posting_policy_for_compose_box", () => {});
 | 
			
		||||
    stream_bar.decorate = () => {};
 | 
			
		||||
    mock_stream_header_colorblock();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user