Research and try to create Field Widget Actions (FWA) support for Metatag field using the metatag_firehose sidebar widget
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3566584. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !1146 >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Short Description: </strong>Research and try to create Field Widget Actions (FWA) support for Metatag field using the metatag_firehose sidebar widget.<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Metatag data is a strong candidate for AI-assisted generation and refinement, but the Metatag UI is not a typical field widget rendered inline with other form elements. The <code>metatag_firehose</code> experience is commonly presented in the sidebar, and it is unclear whether the existing Field Widget Actions (FWA) approach can be applied cleanly in this context.<br> This issue is to research and try adding FWA support for the Metatag field when using the <code>metatag_firehose</code> widget, using <code>modules/ai_automators/src/Plugin/FieldWidgetAction/Email.php</code> as reference implementation. The implementation requires the Metatag module, as it provides the field and widget.<br> Because the Metatag widget rendering and sidebar placement may differ from standard widgets, this should be treated as an experiment where the outcome might require alternative integration points.<br> A practical way to test this is to configure an AI Automator that takes the node content (title/body) and generates a set of metatags, then attempt to store/apply them through the FWA in the sidebar Metatag UI.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ul> <li>Research how the Metatag field + <code>metatag_firehose</code> widget is rendered (including sidebar placement) and whether a standard FWA plugin can attach actions to it, using <code>modules/ai_automators/src/Plugin/FieldWidgetAction/Email.php</code> as reference implementation.</li> <li>Implement a prototype FWA plugin for Metatag + <code>metatag_firehose</code> (Metatag module required) and document limitations or blockers if the widget architecture prevents a clean integration.</li> </ul> <p>- <strong>This issue was created with the help of AI</strong></p>
issue