493d65af1f
The `DiffModal` is triggered after selecting an option in the composer helper menu. After selecting an option, we should close the composer helper menu and only show the diff modal. On mobile, there was an edge-case where `this.args.close()` for was causing the closing of both the `DiffModal` and the `AiComposerHelperMenu`. This PR resolves that by ensuring the menu is closed _first_ asynchronously, followed by opening the relevant modal. |
||
---|---|---|
.. | ||
ai_composer_helper_spec.rb | ||
ai_image_caption_spec.rb | ||
ai_post_helper_spec.rb | ||
ai_proofreading_spec.rb | ||
ai_split_topic_suggestion_spec.rb |