()
| 470 | }; |
| 471 | |
| 472 | const syncCollapsedState = () => { |
| 473 | if (scopeFieldsEl) { |
| 474 | scopeFieldsEl.style.display = scopeExpanded ? 'flex' : 'none'; |
| 475 | } |
| 476 | if (toggleScopeEl) { |
| 477 | toggleScopeEl.textContent = scopeExpanded ? 'Hide scope' : 'Show scope'; |
| 478 | } |
| 479 | if (recipeBodyEl) { |
| 480 | recipeBodyEl.style.display = recipesExpanded ? 'flex' : 'none'; |
| 481 | } |
| 482 | if (toggleRecipesEl) { |
| 483 | toggleRecipesEl.textContent = recipesExpanded ? 'Hide recipes' : 'Show recipes'; |
| 484 | } |
| 485 | if (tipsBodyEl) { |
| 486 | tipsBodyEl.style.display = tipsExpanded ? 'flex' : 'none'; |
| 487 | } |
| 488 | if (toggleTipsEl) { |
| 489 | toggleTipsEl.textContent = tipsExpanded ? 'Hide tips' : 'Show tips'; |
| 490 | } |
| 491 | }; |
| 492 | |
| 493 | const scrollLogToBottom = () => { |
| 494 | if (!logEl) return; |
no outgoing calls
no test coverage detected