You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI: dialog-skill.tsx calls dialog.setSize during render #56138
Thanks for the report! You're right that DialogSkill calls dialog.setSize("large") straight from the component body (packages/tui/src/component/dialog-skill.tsx:19). Several other dialogs make the same call inside onMount, so moving it there would make the code consistent.
setSize only writes to the dialog store, and Solid runs component bodies untracked, so this shouldn't cause any visible problem today. That's why we're treating it as a cleanup/improvement rather than a bug. If you've actually seen something go wrong because of it (wrong dialog size, flicker, a warning), please describe it here.
Related reports of the same pattern in other files:
Thanks for reviewing the code. This report proposes moving the skill dialog's size setup but doesn't show a concrete failure or user-facing impact, so we're closing it. If you've observed a problem, please share the steps and impact.
Activity
opencode-agent commentedon Oct 16, 2026
Thanks for the report! You're right that
DialogSkillcallsdialog.setSize("large")straight from the component body (packages/tui/src/component/dialog-skill.tsx:19). Several other dialogs make the same call insideonMount, so moving it there would make the code consistent.setSizeonly writes to the dialog store, and Solid runs component bodies untracked, so this shouldn't cause any visible problem today. That's why we're treating it as a cleanup/improvement rather than a bug. If you've actually seen something go wrong because of it (wrong dialog size, flicker, a warning), please describe it here.Related reports of the same pattern in other files:
dialog-debug.tsxdialog-pair.tsxdialog-shell-output.tsxdialog-image-preview.tsxdialog-execute.tsxplugin/api.tsxdialog-prompt.tsx(gotoLineEndduring render)Maintainers will consider this, probably as one cleanup together with the related issues above.
neriousy commentedon Oct 20, 2026
Thanks for reviewing the code. This report proposes moving the skill dialog's size setup but doesn't show a concrete failure or user-facing impact, so we're closing it. If you've observed a problem, please share the steps and impact.