Skip to content

fix(ui): simplify workspace context cards - #134

Merged
Waishnav merged 8 commits into
mainfrom
codex/workspace-card-ui
Aug 6, 2026
Merged

fix(ui): simplify workspace context cards#134
Waishnav merged 8 commits into
mainfrom
codex/workspace-card-ui

Conversation

@Waishnav

@Waishnav Waishnav commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Workspace cards now open their useful context by default instead of making users step through repeated View all and Show less controls. Skills render directly with path and description metadata in their tooltips, while the instructions row keeps loaded AGENTS.md files visible and reveals additional discovered files through one View all action.

Agent profiles now show the profile name alongside the provider logo used underneath. Raw providers remain compact icon-only entries, with bundled dark-surface logos for the supported providers. The change also adds a focused regression test for the default workspace-card state.

Screenshots

image

Summary by CodeRabbit

  • New Features

    • Workspace cards with skill metadata now open expanded by default.
    • Agent and provider chips display logos, model details, thinking status, and unavailable states.
    • Workspace instructions show loaded files by default, with an optional “View all” action.
    • Skills display path and description details in a clearer layout.
  • UI Improvements

    • Improved chip labels, wrapping, accessibility, and mobile layouts.
    • Instruction lists now use a visible bordered grid.
    • Provider-only chips can display accessible logos.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a834aa3f-2e50-4449-a4ab-2240daf908fb

📥 Commits

Reviewing files that changed from the base of the PR and between f9f450f and b477db6.

📒 Files selected for processing (1)
  • src/ui/workspace-app.css

📝 Walkthrough

Walkthrough

Workspace cards now expand when their content is expandable. Workspace agents and providers display logos and metadata. Workspace instructions and skills use visible, styled rows with optional instruction expansion.

Changes

Workspace UI updates

Layer / File(s) Summary
Workspace card expansion
src/ui/card-types.ts, src/ui/card-types.test.ts
open_workspace cards now use expandability to determine their initial state. Tests cover cards containing skills.
Provider and agent metadata
src/ui/icons.ts, src/ui/workspace-app.tsx, src/ui/workspace-app.css
Provider logo lookup, normalized provider names, agent metadata, accessible logo-only chips, unavailable styling, and updated chip layouts are added.
Workspace instructions and skills
src/ui/workspace-app.tsx, src/ui/workspace-app.css
Loaded instructions are visible by default. Available instructions use a “View all” control. Skills render with path and description metadata in styled rows.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant WorkspaceCard
  participant WorkspaceApp
  participant ProviderLogoLookup
  participant WorkspaceChip
  WorkspaceCard->>WorkspaceApp: render workspace metadata
  WorkspaceApp->>ProviderLogoLookup: normalize provider name
  ProviderLogoLookup-->>WorkspaceApp: logo URL or undefined
  WorkspaceApp->>WorkspaceChip: render provider and agent metadata
  WorkspaceApp->>WorkspaceChip: render instructions and skills
Loading

Possibly related PRs

Poem

A rabbit sees the workspace grow,
With logos bright in every row.
Skills and files align with care,
“View all” reveals what waits there.
Cards expand to show the flow.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: simplifying workspace context cards in the UI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/workspace-card-ui

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Aug 6, 2026

Copy link
Copy Markdown

Greptile Summary

Workspace context cards now open useful details by default and simplify skills, instructions, agents, and provider presentation.

  • Makes expandable open_workspace cards initially expanded.
  • Shows loaded instruction files immediately and exposes additional discovered files through a single “View all” action.
  • Adds skill metadata tooltips and combines agent profiles with provider branding and availability details.
  • Bundles dark-surface provider logos and adds focused initial-expansion coverage.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete blocking or independently actionable non-blocking defects identified.

The updated expansion, instruction visibility, provider deduplication, and wrapped-list behavior remain consistent with the card data lifecycle and bounded workspace layout.

Important Files Changed

Filename Overview
src/ui/card-types.ts Makes expandable workspace cards open by default without changing expandability criteria.
src/ui/card-types.test.ts Adds regression coverage confirming that workspace cards containing details are initially expanded.
src/ui/icons.ts Adds normalized provider-name lookup for bundled logo assets.
src/ui/workspace-app.tsx Simplifies workspace detail rendering, preserves instruction preview state, and adds branded agent/provider chips.
src/ui/workspace-app.css Replaces disclosure styling with wrapped detail lists, instruction controls, and provider-logo presentation.

Reviews (1): Last reviewed commit: "feat(ui): show provider icons on agent p..." | Re-trigger Greptile

@Waishnav
Waishnav merged commit c32fdb2 into main Aug 6, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant