Skip to content

Softwrap helper text below the Repo field in the create environment form#11227

Draft
zachbai wants to merge 1 commit into
masterfrom
softwrap-repo-helper-text
Draft

Softwrap helper text below the Repo field in the create environment form#11227
zachbai wants to merge 1 commit into
masterfrom
softwrap-repo-helper-text

Conversation

@zachbai
Copy link
Copy Markdown
Contributor

@zachbai zachbai commented May 18, 2026

Description

Softwrap the helper text below the Repo(s) field in the create/edit environment form.

Previously all three text spans ("Type owner/repo and press Enter to add…", "Missing a repo?", and "Configure access on GitHub") were siblings in a single Flex::row(). Because Flex::row() never constrains a child's width, the text never wrapped — it just overflowed and got clipped.

Fix: restructure render_repo_helper_text_row to use Flex::column():

  • Row 1: hint text — now gets the full field width and wraps as needed.
  • Row 2: "Missing a repo? [Configure access on GitHub]" — compact row, unchanged visually.

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • I have manually tested my changes locally with ./script/run

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Conversation: https://app.warp.dev/conversation/1a8ef08e-3d39-4add-910b-5cd47fef9a99
Run: https://oz.warp.dev/runs/019e3cb9-fa5a-75c8-b02d-1980ea4dfab9
This PR was generated with Oz.

The helper text ("Type owner/repo and press Enter to add, or select from
dropdown.") and the "Missing a repo? Configure access on GitHub" link
were all siblings inside a single Flex::row(), so they never received a
width constraint and overflowed/clipped on narrower forms.

Fix: split the content into a Flex::column() so the hint occupies the
full field width and soft-wraps naturally, while "Missing a repo?" +
the link sit on a dedicated row below it.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant