fix: show agent query context banner in Prompts panel#649
Open
agentbridge-fixer[bot] wants to merge 1 commit into
Open
fix: show agent query context banner in Prompts panel#649agentbridge-fixer[bot] wants to merge 1 commit into
agentbridge-fixer[bot] wants to merge 1 commit into
Conversation
When follow-agent mode navigates to the Prompts tab via query_turns, retrieval parameters (last_n, session_id, turn_id, since, until) had no visible representation in the UI. Users couldn't tell what the agent queried. Add an agentQueryBanner label (below advanced filters, above scroll) that displays "Agent query: last 5 turns", "Agent query: session abc…", etc. The banner is: - Shown by applySearchParams when retrieval params are present - Cleared when the user manually changes any filter (with re-entrancy guard via applyingAgentParams flag to avoid clearing during programmatic field updates) Also expand the Filters panel for ANY active params, not just branch/agent/tool/file — text queries and retrieval params now auto-expand too. Closes #639 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
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.



When follow-agent mode navigates to the Prompts tab via
query_turns, retrieval parameters (last_n,session_id,turn_id,since,until) had no visible representation. Users couldn't tell what the agent queried.Changes:
agentQueryBannerlabel below advanced filters, above the scroll areaapplyingAgentParamsflag prevents filter listeners from clearing banner during programmatic field updatesCloses #639