Repository navigation
feat(composer): settings toggle to hide agents from the @ panel - #900
Open
Adam-Dalloul wants to merge 1 commit into
Open
Adam-Dalloul wants to merge 1 commit into
Adam-Dalloul wants to merge 1 commit into
Conversation
The @ panel offers agents, files, sessions and commits. Some users never tag an agent and would rather not see that tab. Add a "Mention agents with @" switch under Settings > Collaboration (default on). When off: - the @ panel has no Agents tab, so @ can no longer insert an agent badge; files, sessions and commits still work - the welcome tip that advertises agent mentions is skipped Stored in localStorage like the other composer display prefs, so the desktop app and the web client both honor it, and an open composer picks up the change without a reload. Applies to every composer that mounts the @ panel (chat input, task editor and follow-up, automation editor).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Typing @ in the composer opens one panel with Agents, Files, Sessions and Commits tabs. Some users never tag an agent and would rather not see that tab. This adds a "Mention agents with @" switch under Settings > Collaboration. It is on by default, so nothing changes until a user turns it off.
When it is off:
The preference is stored in localStorage like the other composer display preferences, so the desktop app and the web client both honor it, and an open composer picks up the change without a reload. It applies to every composer that mounts the @ panel: chat input, task editor and follow-up, and the automation editor.
Related: #478 and #480 control whether agents may spawn sub-agents without an @ mention. This PR only changes what the @ panel offers. It does not touch delegation or the delegation settings panel, so it does not conflict with #480.
Tests:
buildReferenceGroupsleaves the agent group out when agents are excluded.SuggestionPopupdrops a hidden tab, skips it when cycling with Tab, and never selects its rows.storageupdates.Strings are added to all 10 locales.