Tab: Guidance - Add draft manager to Guidance tab
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3564730. -->
Reported by: [isholgueras](https://www.drupal.org/user/733162)
Related to !129
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently a draft is created, along with an initial call to the insights API, in the Content Outline tab. This functionality should also occur on the Guidance tab.</p>
<p>The call to the insights API can be pulled out of the Draft Manager into the Guidance page or separate utility (this was only placed in the draft manager as it’s not possible to generate content without calling this API at least once).</p>
<p>The API should be polled until all insights have completed:</p>
<pre>{<br>"insightsProgress": <br> {<br> "total": 14, <br> "completed": 14, <br> "error": 0 <br> },<br>}</pre>
issue