Skip to content

fix(web): make agent cards fill responsive grid - #1962

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/fix-agent-card-grid
Aug 2, 2026
Merged

fix(web): make agent cards fill responsive grid#1962
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/fix-agent-card-grid

Conversation

@bobleer

@bobleer bobleer commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Reuse the shared GalleryGrid for the core agents section, matching the MiniApps gallery behavior.
  • Let core and overview agent cards fill their responsive grid tracks instead of staying fixed at 360px.
  • Align the core-agent loading skeleton with the same 360px minimum track width.
  • Add a focused layout regression test.

Type and Areas

Type: UI/UX, bug fix

Areas: web UI

Motivation / Impact

The professional agents gallery placed fixed-width cards inside flexible grid tracks. At wider track sizes this left large gaps inside each column and made the page look sparsely laid out.

Cards now expand to fill each track while the shared gallery grid automatically switches between three, two, and one column layouts.

Verification

  • pnpm run type-check:web: passed
  • pnpm --dir src/web-ui run test:run src/app/scenes/agents/AgentsScene.test.tsx: 5 tests passed
  • git diff --check: passed
  • Manual responsive QA with the real GalleryGrid, CoreAgentCard, and AgentCard components:
    • 1600px viewport: 3 columns at about 399px each; no unused space inside grid tracks
    • 1280px viewport: 2 columns at about 458px each; no unused space inside grid tracks
    • 700px viewport: 1 column
    • 420px viewport: 388px cards with no horizontal overflow

Screenshots are omitted because the original report capture contains local session and workspace names. The measured responsive results are recorded above.

Reviewer Notes

  • No user-facing copy, locale resources, theme tokens, or dependencies changed.
  • AI-assisted: yes.
  • Testing level: fully tested for the affected frontend scope.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

@bobleer
bobleer merged commit 6c328f3 into GCWing:main Aug 2, 2026
7 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