Add toolbar dropdown menu for context items like nodes
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3563362. --> Reported by: [kristen pol](https://www.drupal.org/user/8389) Related to !23 >>> <p>[Tracker]<br> <strong>Update Summary: </strong> Add toolbar dropdown menu for context items like nodes<br> <strong>Additional Collaborators: </strong> @username1, @username2<br> <em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>In gin, there's a dropdown menu for nodes:</p> <p><strong>When editing:</strong></p> <ul> <li><strong>Visual buttons:</strong> Save, Preview, Delete</li> <li><strong>Dropdown: </strong>View, Delete, Revisions, Duplicate</li> </ul> <p><strong>When viewing:</strong></p> <ul> <li><strong>Visual buttons:</strong> Edit</li> <li><strong>Dropdown:</strong> Delete, Revisions, Duplicate</li> </ul> <p>Right now, that menu is empty for the context item content entity.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p><strong>When editing:</strong></p> <ul> <li><strong>Visual buttons:</strong> Save, Cancel, Delete</li> <li><strong>Dropdown:</strong> View, Delete, Revisions</li> </ul> <p><strong>When viewing:</strong></p> <ul> <li><strong>Visual buttons:</strong> Edit</li> <li><strong>Dropdown:</strong> Delete, Revisions</li> </ul> <p>Note: Duplicate will be part of this issue: <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_context/issues/3563357" title="Status: Closed (fixed)">#3563357: Add duplicate context item feature like Drupal CMS has for nodes</a></span></p> <h3 id="summary-remaining-tasks">Target date or deadline</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ul> <li>Add menu</li> <li>Test, review, and merge</li> </ul> <h3 id="summary-ai-usage">AI usage</h3> <p>The code associated with this issue was developed with the use of AI tools.</p> <p>A human worked with the AI tool to:</p> <ul> <li>Define the requirements</li> <li>Spec out the plan and architecture</li> <li>Create the code</li> </ul> <p>The human:</p> <ul> <li>Reviewed the code</li> <li>Manually tested the functionality</li> <li>Requested adjustments from AI</li> <li>Adjust the code themselves when necessary</li> </ul> <p>Issue credit is still relevant for the human working with AI as they are using AI as a tool and not to do everything for them. It takes human expertise and oversight to use AI to solve these issues efficiently and effectively.</p> > Related issue: [Issue #3563361](https://www.drupal.org/node/3563361)
issue