I agree that moving enableSend to Compose makes sense. enableSend currently relies on other ThreadUI internals though, so moving it to Compose in a way that makes sense would involve a larger-scale refactoring of the responsibilities of compose vs. thread ui. Using Compose in the thread_ui_test.js seems reasonable in light of that. Let me know if you have any thoughts, maybe there is a better approach.