Skip to content

feat: compaction popover accordions - #31471

Merged
jakehwll merged 4 commits into
mainfrom
jakehwll/compaction-popover-3
Oct 30, 2026
Merged

jakehwll merged 4 commits into
mainfrom
jakehwll/compaction-popover-3

Conversation

@jakehwll

@jakehwll jakehwll commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

🤖 This PR was modified by Coder Agents on behalf of Jake Howell.

Continues the context-popover design iteration from #31395 and #31397, making context resources easier to browse without expanding the whole popover by default.

  • Adds independently collapsible sections for context files, skills, MCP servers, and ACP harnesses.
  • Replaces section byte-size labels with file, available-skill, and connected-server counts shown while collapsed.
  • Uses a shared tree layout for directories, resources, and MCP tools, retaining skill and tool descriptions on hover.
  • Moves resource issues into their corresponding sections, with warning indicators visible in the section headers while collapsed.
  • Gives unavailable and estimated usage, context changes, and errors a consistent notice layout. Uses a circular alert icon for context errors and retains the refresh action.

Adds Storybook coverage for expanded resources and failure-only states, plus unit coverage for keyboard and pointer accordion interaction.

Old New
overview-before overview-after
expanded-resources-before expanded-resources-after

Relevant Figma

@jakehwll
jakehwll changed the base branch from main to jakehwll/compaction-popover-2 October 29, 2026 02:09
@jakehwll jakehwll changed the title Jakehwll/compaction popover 3 feat: compaction popover accordions Oct 29, 2026
@jakehwll
jakehwll added this pull request to stack #31398 October 29, 2026 02:09
@jakehwll
jakehwll force-pushed the jakehwll/compaction-popover-3 branch from 93d75fa to 16568a6 Compare October 29, 2026 02:41
@jakehwll
jakehwll force-pushed the jakehwll/compaction-popover-3 branch from 16568a6 to f3ed2c2 Compare October 29, 2026 06:42
@jakehwll
jakehwll marked this pull request as ready for review October 30, 2026 00:13
@jakehwll
jakehwll requested a review from a team as a code owner October 30, 2026 00:13
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T00:16:17.224779Z f3ed2c2 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f3ed2c2dc6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +589 to +591
detail={`${mcpServerItems.length} connected`}
>
MCP Servers

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Label config-only MCP sections accurately

When the pinned context contains only mcp_config resources, as demonstrated by the MultipleMcpConfigs story, this header says “MCP Servers” and “0 connected” even though expanding it displays configuration files. This gives users the wrong resource type and count; use a general MCP label and account for configs, or separate configs from connected servers.

Useful? React with 👍 / 👎.

Base automatically changed from jakehwll/compaction-popover-2 to main October 30, 2026 01:17
@jakehwll
jakehwll force-pushed the jakehwll/compaction-popover-3 branch from c64d796 to fc7109c Compare October 30, 2026 01:17
@jakehwll
jakehwll enabled stacked auto-merge (squash) October 30, 2026 01:17
@jakehwll
jakehwll merged commit 989ead4 into main Oct 30, 2026
25 checks passed
@jakehwll
jakehwll deleted the jakehwll/compaction-popover-3 branch October 30, 2026 01:26
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants