Load global token values on request only
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3584093. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !26 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The <code>Drupal\modeler_api\Api::prepareGlobalTokens</code> prepares a token browser whenever the modeler opens for either editing or viewing a model. This can be expensive.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Load the values only on request with HTMX, either all or per token.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue