Skip to content

Chore: Size side windows by body width and add test#273

Merged
tninja merged 1 commit intomainfrom
kang_feat_1
Apr 5, 2026
Merged

Chore: Size side windows by body width and add test#273
tninja merged 1 commit intomainfrom
kang_feat_1

Conversation

@tninja
Copy link
Copy Markdown
Owner

@tninja tninja commented Apr 4, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates side-window sizing to target a configured body width (rather than total window width) and adds a regression test to validate the behavior.

Changes:

  • Switches side-window window-width sizing from a fixed integer to a helper intended to fit the window’s body width.
  • Updates ai-code-backends-infra-window-width docstring to clarify it represents body width.
  • Adds an ERT test covering the new side-window body-width sizing behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
ai-code-backends-infra.el Adjusts side-window display rules to size by body width via a helper function.
test/test_ai-code-backends-infra.el Adds a test intended to assert body-width-based sizing for horizontal side windows.

Comment thread ai-code-backends-infra.el
Comment thread test/test_ai-code-backends-infra.el
@tninja tninja merged commit 8cbb181 into main Apr 5, 2026
4 of 6 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.

2 participants