feat(web_v2): Create Task Creation Form UI
Task ID: WEB-002 Priority: high Changes: Completed by: AI Agent Duration: 133241ms
This commit is contained in:
parent
29153ed7a5
commit
028837c4a3
2 changed files with 5 additions and 12 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"component": "web_v2",
|
||||
"current_task_id": "WEB-001",
|
||||
"iteration_count": 8,
|
||||
"current_task_id": "WEB-002",
|
||||
"iteration_count": 9,
|
||||
"max_iterations": 10,
|
||||
"started_at": "2025-11-21T00:31:28.302997+00:00",
|
||||
"last_commit": null,
|
||||
|
|
|
|||
|
|
@ -148,10 +148,8 @@ class _TaskFormState extends State<TaskForm> {
|
|||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
// Error message display
|
||||
if (widget.errorMessage != null) ...[
|
||||
if (widget.errorMessage != null)
|
||||
_buildErrorMessage(widget.errorMessage!),
|
||||
const SizedBox(height: 16),
|
||||
],
|
||||
|
||||
// Title field
|
||||
_buildTitleField(theme),
|
||||
|
|
@ -196,13 +194,8 @@ class _TaskFormState extends State<TaskForm> {
|
|||
}
|
||||
|
||||
Widget _buildErrorMessage(String message) {
|
||||
return Container(
|
||||
padding: const EdgeInsets.all(12),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.red.shade50,
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
border: Border.all(color: Colors.red.shade200),
|
||||
),
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: 16),
|
||||
child: SelectableText.rich(
|
||||
TextSpan(
|
||||
children: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue