mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	This is a preparatory commit to implement keyboard navigation in the message scheduling modal. The main goal is to make the `modals_handle_events` function reusable. To achieve this, we have extracted all the context-related variables and replaced all mentions of "draft" with the more neutral term "item". The `modals_handle_events` function now also has a context parameter, which contains all the necessary methods and properties to work in different modal contexts.