Update context list UI to include subcontext and scope
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3571794. -->
Reported by: [kristen pol](https://www.drupal.org/user/8389)
Related to !77
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>[One-line status update for stakeholders]<br>
<strong>Check-in Date: </strong>MM/DD/YYYY<br>
<strong>Blocked by: </strong>[#XXXXXX] (New issues on new lines)<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>Follow-up to:</p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_context/issues/3569313" title="Status: Closed (fixed)">#3569313: Create design for context list UI to include subcontext</a></span></p>
<p>Note: before working on this, check in with Kristen+Aidan as there may be some changes needed based on this issue:</p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_context/issues/3564706" title="Status: Closed (fixed)">#3564706: [META] Context Scope feature</a></span></p>
<p>Subcontext was introduced here:</p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_context/issues/3569312" title="Status: Closed (fixed)">#3569312: Add parent / child relationship for context</a></span></p>
<p>And will be refined here:</p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_context/issues/3571788" title="Status: Closed (fixed)">#3571788: Update subcontext feature to specify required vs conditional selection</a></span></p>
<p>We need to update the context list UI to include subcontext and scope.</p>
<p>Mockup from Aidan (discussed with Emma+Kristen):</p>
<p><strong>Mockup of context list page with the concept of subcontext underneath context that can be required or conditionally included</strong></p>
<p><img src="https://www.drupal.org/files/issues/2026-02-08/CCC%20Example%20v2.png" alt="mockup of context control center context list page with the concept of subcontext underneath context that can be required or conditionally included"></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Sense check the design based on recent features such as scope and iterate, if necessary, and then implement</p>
<h3 id="summary-remaining-tasks">Target date or deadline</h3>
<p>February 2026</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Check the design still makes sense</li>
<li>Update if necessary</li>
<li>Implement</li>
<li>Review and test</li>
</ul>
<p>Note, there will need to be an additional issue related to the context list on the agent settings page.</p>
<h3 id="summary-ai-usage">AI usage (if applicable)</h3>
<p>[ ] AI Assisted Issue<br>
This issue was generated with AI assistance, but was reviewed and refined by the creator.</p>
<p>[ ] AI Assisted Code<br>
This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.</p>
<p>[ ] AI Generated Code<br>
This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.</p>
<p>[ ] Vibe Coded<br>
This code was generated by an AI and has only been functionally tested.</p>
issue