[PR #12431] fix(app): keep startup script field scrollable in edit project dialog #14211

Closed
opened 2026-02-16 18:19:01 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12431

State: closed
Merged: Yes


Summary

  • cap the Workspace startup script textarea height in the Edit project dialog
  • enable internal vertical scrolling for overflow content
  • keep Save/Cancel actions visible when the script contains many lines

Fixes #12430

How did you verify your code works?

  • ran desktop app in dev mode (TAURI_CLI_NO_DEV_SERVER_WAIT=true bun run dev:desktop)
  • opened Edit project and pasted 4+ lines into Workspace startup script
  • confirmed the field scrolls internally and action buttons stay visible

Before:
Screenshot 2026-02-06 at 11 41 39 AM

After :
Screenshot 2026-02-06 at 12 33 57 PM

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12431 **State:** closed **Merged:** Yes --- ## Summary - cap the `Workspace startup script` textarea height in the Edit project dialog - enable internal vertical scrolling for overflow content - keep Save/Cancel actions visible when the script contains many lines Fixes #12430 ## How did you verify your code works? - ran desktop app in dev mode (`TAURI_CLI_NO_DEV_SERVER_WAIT=true bun run dev:desktop`) - opened Edit project and pasted 4+ lines into Workspace startup script - confirmed the field scrolls internally and action buttons stay visible Before: <img width="498" height="537" alt="Screenshot 2026-02-06 at 11 41 39 AM" src="https://github.com/user-attachments/assets/ad9d1544-98ac-4d74-a616-d51e532f7c9a" /> After : <img width="491" height="533" alt="Screenshot 2026-02-06 at 12 33 57 PM" src="https://github.com/user-attachments/assets/6ccd5fd8-3274-4a3b-bc60-ef004f198eb5" />
yindo added the pull-request label 2026-02-16 18:19:01 -05:00
yindo closed this issue 2026-02-16 18:19:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14211