From d3e6f4167e345eb8a8a46aa57d2107190ce50ba2 Mon Sep 17 00:00:00 2001
From: BaaRai <130491490+BaaRai@users.noreply.github.com>
Date: Fri, 9 Oct 2026 14:45:52 +0200
Subject: [PATCH] Fix credentials UI regression from #4
The test accounts section was mounted after the scrollable field area
of the New task sheet, so it sat pinned under the scrollbar instead of
scrolling with the other fields, and its Add account button floated in
a header row instead of sitting in the field content like Add row.
Move it inside the scroll container as a proper Field with the add
button below the rows, matching the intercept rules editor pattern.
Also place the credentials TabsContent after assets in the task detail
page to match the TABS array order and use the local id variable.
---
.../app/(main)/function/tasks/detail/page.tsx | 6 +-
web/src/app/(main)/function/tasks/page.tsx | 106 +++++++++---------
2 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/web/src/app/(main)/function/tasks/detail/page.tsx b/web/src/app/(main)/function/tasks/detail/page.tsx
index aba003b..5dea22e 100644
--- a/web/src/app/(main)/function/tasks/detail/page.tsx
+++ b/web/src/app/(main)/function/tasks/detail/page.tsx
@@ -434,15 +434,15 @@ function TaskDetailInner() {
-
-
-
+
+
+
diff --git a/web/src/app/(main)/function/tasks/page.tsx b/web/src/app/(main)/function/tasks/page.tsx
index 77569c1..e27268b 100644
--- a/web/src/app/(main)/function/tasks/page.tsx
+++ b/web/src/app/(main)/function/tasks/page.tsx
@@ -3335,6 +3335,59 @@ function CreateTaskSheet({
/>
Failover follows the list order; the first entry is the current config, and the next one is used only when the quota is clearly insufficient.
+
+ Test accounts (optional)
+
+
+ Test accounts reused by the agent for authenticated testing. Leave the password empty to have the agent register that
+ account itself and record the password it chose. Use dedicated test accounts only — anything declared here is sent to
+ the configured LLM provider during the task.
+
+
{/* Advanced parameters are collapsed by default: timeout/heartbeat/first intent; they take space only when expanded, keeping the common path clean. */}
@@ -3408,59 +3461,6 @@ function CreateTaskSheet({
-
-
-
-
-
-
- Test accounts reused by the agent for authenticated testing. Leave the password empty to have the agent register that
- account itself and record the password it chose. Use dedicated test accounts only — anything declared here is sent to
- the configured LLM provider during the task.
-