Skip to content

fix(agent): align agent row cards#1069

Open
Ziqi XU (Ziqi418) wants to merge 1 commit into
browseros-ai:mainfrom
Ziqi418:codex-fix-agent-row-alignment
Open

fix(agent): align agent row cards#1069
Ziqi XU (Ziqi418) wants to merge 1 commit into
browseros-ai:mainfrom
Ziqi418:codex-fix-agent-row-alignment

Conversation

@Ziqi418
Copy link
Copy Markdown

@Ziqi418 Ziqi XU (Ziqi418) commented May 28, 2026

Summary

  • Keep agent rows constrained to the settings content column.
  • Allow the agent row flex layout and last-message preview to shrink before truncating long prompts.
  • Match the agent row card spacing with the adapter summary card.

Screenshots / videos

Before:

截屏2026-05-28 16 34 43

After:

截屏2026-05-28 17 38 01

Validation

  • bun test apps/agent/entrypoints/app/agents/agent-row/agent-row.helpers.test.ts apps/agent/entrypoints/app/agents/agents-list-order.test.ts apps/agent/entrypoints/app/agents/useAgents.test.ts
  • bunx biome check apps/agent/entrypoints/app/agents/AgentList.tsx apps/agent/entrypoints/app/agents/AgentRowCard.tsx apps/agent/entrypoints/app/agents/agent-row/AgentLastMessage.tsx
  • bun run --filter @browseros/agent --elide-lines=0 build:dev

@github-actions
Copy link
Copy Markdown
Contributor

Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement.

To sign the CLA, please add a comment to this PR with the following text:

I have read the CLA Document and I hereby sign the CLA

You only need to sign once. After signing, this check will pass automatically.


Troubleshooting
  • Already signed but still failing? Comment recheck to trigger a re-verification.
  • Signed with a different email? Make sure your commit email matches your GitHub account email, or add your commit email to your GitHub account.
- - - I have read the CLA Document and I hereby sign the CLA - - - **Ziqi Xu** seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please [add the email address used for this commit to your account](https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user).
You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the **CLA Assistant Lite bot**.

@Ziqi418
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@Ziqi418 Ziqi XU (Ziqi418) marked this pull request as ready for review May 28, 2026 16:04
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 28, 2026

PR author is not in the allowed authors list.

@Ziqi418 Ziqi XU (Ziqi418) changed the title fix: align agent row cards fix(agent): align agent row cards May 29, 2026
@Ziqi418
Copy link
Copy Markdown
Author

recheck

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