Compare commits

...
2 Commits
Author SHA1 Message Date
chehongweo 53b5a8021f 🔧 chore(vscode): 版本号升到 0.2.232 2026-10-03 04:29:11 +08:00
chehongweo f10e213ae3 💄 style(vscode): 设置里的提示词框按内容自动撑高 2026-10-03 04:28:23 +08:00
2 changed files with 7 additions and 11 deletions

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
"publisher": "clurdra",
"name": "superpowers-vscode-clurdra",
"displayName": "Superpowers-clurdra",
"version": "0.2.231",
"version": "0.2.232",
"packageManager": "pnpm@10.27.0",
"description": "Superpowers specs and plans Kanban explorer",
"author": "clurdra",
@@ -115,6 +115,7 @@ export interface SettingsModalProps {
}
const inputClass = 'w-full rounded border border-[var(--vscode-input-border,transparent)] bg-[var(--vscode-input-background)] px-2 py-1 text-xs text-[var(--vscode-input-foreground)] outline-none focus:border-[var(--vscode-focusBorder)]'
const promptTextareaClass = `${inputClass} field-sizing-content min-h-16 resize-y font-mono`
interface FieldProps {
label: string
@@ -990,10 +991,9 @@ export function SettingsModal({
)}
>
<textarea
rows={16}
value={brainstormPrompt}
onChange={e => setBrainstormPrompt(e.target.value)}
className={`${inputClass} resize-y font-mono`}
className={promptTextareaClass}
placeholder="新建工单 + 续聊 + 原型段落,一份模板按条件分叉"
/>
</Field>
@@ -1010,10 +1010,9 @@ export function SettingsModal({
)}
>
<textarea
rows={8}
value={implementPlanPrompt}
onChange={e => setImplementPlanPrompt(e.target.value)}
className={`${inputClass} resize-y font-mono`}
className={promptTextareaClass}
/>
</Field>
@@ -1027,10 +1026,9 @@ export function SettingsModal({
)}
>
<textarea
rows={4}
value={reviewPrompt}
onChange={e => setReviewPrompt(e.target.value)}
className={`${inputClass} resize-y font-mono`}
className={promptTextareaClass}
/>
</Field>
@@ -1047,10 +1045,9 @@ export function SettingsModal({
)}
>
<textarea
rows={4}
value={testPrompt}
onChange={e => setTestPrompt(e.target.value)}
className={`${inputClass} resize-y font-mono`}
className={promptTextareaClass}
/>
</Field>
@@ -1064,10 +1061,9 @@ export function SettingsModal({
)}
>
<textarea
rows={4}
value={prototypePrompt}
onChange={e => setPrototypePrompt(e.target.value)}
className={`${inputClass} resize-y font-mono`}
className={promptTextareaClass}
/>
</Field>
</>