Skip to content

feat: add AI Tasks page #18047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 27, 2025
Merged
Prev Previous commit
Next Next commit
Fix react-query
  • Loading branch information
BrunoQuaresma committed May 27, 2025
commit e706e61bc22da5f3caf016e65211edbe722af168
4 changes: 2 additions & 2 deletions site/src/pages/TasksPage/TasksPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const TaskForm: FC<TaskFormProps> = ({ templates }) => {
className="border border-border border-solid rounded-lg p-4"
onSubmit={onSubmit}
>
<fieldset disabled={createTaskMutation.isLoading}>
<fieldset disabled={createTaskMutation.isPending}>
<label htmlFor="prompt" className="sr-only">
Prompt
</label>
Expand Down Expand Up @@ -228,7 +228,7 @@ const TaskForm: FC<TaskFormProps> = ({ templates }) => {
</Select>

<Button size="sm" type="submit">
<Spinner loading={createTaskMutation.isLoading}>
<Spinner loading={createTaskMutation.isPending}>
<SendIcon />
</Spinner>
Run task
Expand Down