Skip to content

fix(window): stop the ask box's agent line from wrapping into a narrow column - #494

Merged
GeiserX merged 1 commit into
mainfrom
fix/ask-route-under-box
Oct 31, 2026
Merged

GeiserX merged 1 commit into
mainfrom
fix/ask-route-under-box

Conversation

@GeiserX

@GeiserX GeiserX commented Oct 31, 2026

Copy link
Copy Markdown
Owner

When an agent follows a call, the line naming it ("Questions go to claude-code, which is following this call.") should sit under the ask box. The ask row lays its children out side by side, so the line landed next to the box and wrapped into a narrow column of one or two words per line, pushing the row down.

The row now wraps, so the line gets its own row under the box. It stays on one line; a narrow pane cuts it with an ellipsis and the full sentence is in its tooltip.

The window test for the live call's ask box now checks that the line sits under the box, is as wide as it and is one line high. On the old CSS it fails (the line's top was at 12 px, the box's bottom at 87 px). It passes in Chromium and WebKit.

…narrow column beside it

The ask row is a flex row, so the line naming the agent that follows the call landed beside the
box and wrapped into a thin column. The row now wraps and the line takes its own row, cut to one
line with the whole sentence in its tooltip. The window test checks the line sits under the box.
@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between a24385b and f775ee2.

Files selected for processing: 3
  • src/ui/ask.ts
  • src/ui/theme.css
  • tests/ui/window.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

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