[GH-ISSUE #5356] [Feature]: Make Conversation Commands a separate collapsible Chat Settings section #2963

Closed
opened 2026-10-21 05:58:22 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5356

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

In Conversation mode, command toggles are currently presented inside the Agents area of Chat Settings. This combines two distinct concepts, makes the Agents section visually denser than neighboring sections, and leaves all command controls visible even when the user is not configuring them.

Proposed solution

  • Move the Conversation command controls out of the Agents section.
  • Add a sibling Chat Settings section named “Commands” that matches the structure, spacing, header treatment, chevron, and interaction of the other collapsible sections.
  • Show only the Commands section header while collapsed.
  • Show all existing command toggles only while the section is expanded.
  • Preserve every existing toggle, value, description, enabled state, and runtime behavior. This is an information-architecture change only.
  • Give the section a stable persistence ID so its expanded or collapsed state is remembered consistently with the other Chat Settings sections.
  • Default to the standard collapsed state when no remembered preference exists.
  • Keep the section touch-friendly on mobile and keyboard accessible on desktop, with a visible focus state and accurate expanded state for assistive technology.
  • Reuse existing localized labels and add a semantic English localization key for the Commands section heading if one does not already exist.

Acceptance criteria:

  • Conversation mode shows Agents and Commands as separate peer sections.
  • Collapsing Commands hides every command toggle.
  • Expanding Commands reveals the complete existing toggle list without changing values.
  • Closing and reopening Chat Settings restores the Commands section's remembered expanded state.
  • Agent controls and behavior remain unchanged.
  • The new section matches neighboring Chat Settings sections in desktop and mobile layouts.
  • Verify light and dark themes, keyboard activation, touch interaction, persisted expansion state, and existing command-toggle behavior.

Alternatives considered

  • Keep Commands inside Agents and add another nested collapsible: rejected because nested disclosure adds hierarchy without clarifying the top-level distinction.
  • Leave all toggles permanently visible: rejected because it keeps the drawer unnecessarily dense.
  • Create a separate modal or drawer for Commands: rejected because Commands belongs alongside the existing Chat Settings sections.

Additional context

Scope this to the Agents and Commands presentation in Conversation-mode Chat Settings. Do not change command execution, defaults, storage, availability, or Agent behavior.

Related issue: #4080 established stable section IDs as the existing mechanism for remembering expanded Chat Settings sections.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5356 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? In Conversation mode, command toggles are currently presented inside the Agents area of Chat Settings. This combines two distinct concepts, makes the Agents section visually denser than neighboring sections, and leaves all command controls visible even when the user is not configuring them. ## Proposed solution - Move the Conversation command controls out of the Agents section. - Add a sibling Chat Settings section named “Commands” that matches the structure, spacing, header treatment, chevron, and interaction of the other collapsible sections. - Show only the Commands section header while collapsed. - Show all existing command toggles only while the section is expanded. - Preserve every existing toggle, value, description, enabled state, and runtime behavior. This is an information-architecture change only. - Give the section a stable persistence ID so its expanded or collapsed state is remembered consistently with the other Chat Settings sections. - Default to the standard collapsed state when no remembered preference exists. - Keep the section touch-friendly on mobile and keyboard accessible on desktop, with a visible focus state and accurate expanded state for assistive technology. - Reuse existing localized labels and add a semantic English localization key for the Commands section heading if one does not already exist. Acceptance criteria: - Conversation mode shows Agents and Commands as separate peer sections. - Collapsing Commands hides every command toggle. - Expanding Commands reveals the complete existing toggle list without changing values. - Closing and reopening Chat Settings restores the Commands section's remembered expanded state. - Agent controls and behavior remain unchanged. - The new section matches neighboring Chat Settings sections in desktop and mobile layouts. - Verify light and dark themes, keyboard activation, touch interaction, persisted expansion state, and existing command-toggle behavior. ## Alternatives considered - Keep Commands inside Agents and add another nested collapsible: rejected because nested disclosure adds hierarchy without clarifying the top-level distinction. - Leave all toggles permanently visible: rejected because it keeps the drawer unnecessarily dense. - Create a separate modal or drawer for Commands: rejected because Commands belongs alongside the existing Chat Settings sections. ## Additional context Scope this to the Agents and Commands presentation in Conversation-mode Chat Settings. Do not change command execution, defaults, storage, availability, or Agent behavior. Related issue: #4080 established stable section IDs as the existing mechanism for remembering expanded Chat Settings sections. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 21, 2026):

@SpicyMarinara is implementing this in draft PR #5360.

<!-- gh-comment-id:5370135156 --> @SpicyMarinara commented on GitHub (Aug 21, 2026): @SpicyMarinara is implementing this in draft PR #5360.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2963
No description provided.