Skip to content

fix(app): clamp the initial activity height before rendering the iframe container - #139

Open
rudycelekli wants to merge 1 commit into
CopilotKit:mainfrom
rudycelekli:fix/renderer-initial-height
Open

rudycelekli wants to merge 1 commit into
CopilotKit:mainfrom
rudycelekli:fix/renderer-initial-height

Conversation

@rudycelekli

Copy link
Copy Markdown

Only resize messages are bounded; model-provided initial heights can collapse the loading/widget container or allocate an enormous blank area.

Clamp the initial activity height before rendering the iframe container. Adds a regression that fails against upstream 9c982df and passes with this correction.

Validation: focused regression, full app Vitest suite, TypeScript and ESLint for touched files pass. Tests control sandbox/clipboard boundaries; no live model or deployed generation claim.

This is a concrete bug fix allowed by CONTRIBUTING's bug-fix section; it introduces no new feature. AI-assisted implementation independently reviewed before submission.

Combined integration checks pass: 249 Node tests, 157 Python tests, TypeScript, frontend lint (0 errors, 2 warnings), and the production workspace build. These combined results belong to the private integration branch; each PR also has its own focused regression and relevant suite results above. Live provider behavior is untested.

Independent AI review passed on this exact head. Nine isolated production-browser checks passed for the combined chat shell/key dialog and QR request flow; no page errors. No live provider calls were made.

This branch has not been deployed

No deployments
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