Problem/Motivation
There is no way to prevent the "Generate references with AI" button from appearing on node edit forms when references are being generated via an automated workflow rather than by editors.
Steps to reproduce
N/A
Proposed resolution
Add a "Hide generate button" checkbox to the AI Auto-reference configuration page /admin/structure/types/manage/{bundle}/ai-autoreference) under an "Advanced options" section. When checked, the button is suppressed for that bundle.
Remaining tasks
Review
User interface changes
New "Advanced options" details element on the bundle autoreference settings page with a "Hide generate button" checkbox and "Save settings" button.
API changes
N/A
Data model changes
N/A
Issue fork ai_auto_reference-3591577
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
scott_euser commentedComment #5
scott_euser commented