Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe8474a

Browse files
1 parentf974add commitbe8474a

File tree

3 files changed

+68
-2
lines changed

3 files changed

+68
-2
lines changed

‎site/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
"react-query":"npm:@tanstack/react-query@5.77.0",
106106
"react-router-dom":"6.26.2",
107107
"react-syntax-highlighter":"15.6.1",
108+
"react-textarea-autosize":"8.5.9",
108109
"react-virtualized-auto-sizer":"1.0.24",
109110
"react-window":"1.8.11",
110111
"recharts":"2.15.0",

‎site/pnpm-lock.yaml

Lines changed: 64 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎site/src/pages/TasksPage/TasksPage.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import type { FC, PropsWithChildren, ReactNode } from "react";
4949
import{Helmet}from"react-helmet-async";
5050
import{useMutation,useQuery,useQueryClient}from"react-query";
5151
import{LinkasRouterLink}from"react-router-dom";
52+
importTextareaAutosizefrom"react-textarea-autosize";
5253
import{cn}from"utils/cn";
5354
import{pageTitle}from"utils/page";
5455
import{relativeTime}from"utils/time";
@@ -204,15 +205,15 @@ const TaskForm: FC<TaskFormProps> = ({ templates }) => {
204205
<labelhtmlFor="prompt"className="sr-only">
205206
Prompt
206207
</label>
207-
<textarea
208+
<TextareaAutosize
208209
required
209210
id="prompt"
210211
name="prompt"
211212
placeholder="Write an action for your AI agent to perform..."
212213
className={`border-0 resize-none w-full h-full bg-transparent rounded-lg outline-none flex min-h-[60px]
213214
text-sm shadow-sm text-content-primary placeholder:text-content-secondary md:text-sm`}
214215
/>
215-
<divclassName="flex items-center justify-between">
216+
<divclassName="flex items-center justify-between pt-2">
216217
<Selectname="templateID"defaultValue={templates[0].id}required>
217218
<SelectTriggerclassName="w-52 text-xs [&_svg]:size-icon-xs border-0 bg-surface-secondary h-8 px-3">
218219
<SelectValueplaceholder="Select a template"/>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp