Skip to content

Fix mock edition window crashing#532

Merged
snappdevelopment merged 2 commits into
openflocon:mainfrom
snappdevelopment:fix-mock-edit-crash
Jun 28, 2026
Merged

Fix mock edition window crashing#532
snappdevelopment merged 2 commits into
openflocon:mainfrom
snappdevelopment:fix-mock-edit-crash

Conversation

@snappdevelopment

Copy link
Copy Markdown
Contributor

When pasting a large string into the mock edit text field, Compose throws an exception because it can't measure the view correctly anymore. To fix this we need to give the text field a fixed height. This also aligns the height nicely with the validation tabs height.

Closes #525

@rteyssandier rteyssandier added the bug Something isn't working label Jun 28, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request modifies the NetworkEditionWindow.kt file to adjust the FloconTextField in the mock editor screen. Specifically, it replaces the minLines parameter with a fixed height of 400.dp and explicitly sets singleLine to false to allow multi-line input. I have no feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@snappdevelopment snappdevelopment merged commit 83b659c into openflocon:main Jun 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Crash when creating mock with large response body

2 participants