- Issue created by @recrit
The current UX can lead to data loss on the edit form when the editor is not aware that pressing the "Generate references with AI" button will lose all changes on the edit form.
Current UX:
ai_auto_reference.settings) on "/admin/config/content/ai-autoreference-settings".
hook_entity_type_alter to add a new link template for "ai-autoreference". Code:$entity_type->setLinkTemplate('ai-autoreference', $entity_type->getLinkTemplate('canonical') . '/ai-autoreference');alterRoutes() to dynamically create the route for the entity link template 'ai-autoreference':
$configuration and inject the service "ai_auto_reference.settings" to the form class insteadNodeStorage::createRevision().None
None
Active
1.0
User interface