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",
|
"component": "web_v2",
|
||||||
"current_task_id": "WEB-001",
|
"current_task_id": "WEB-002",
|
||||||
"iteration_count": 8,
|
"iteration_count": 9,
|
||||||
"max_iterations": 10,
|
"max_iterations": 10,
|
||||||
"started_at": "2025-11-21T00:31:28.302997+00:00",
|
"started_at": "2025-11-21T00:31:28.302997+00:00",
|
||||||
"last_commit": null,
|
"last_commit": null,
|
||||||
|
|
|
||||||
|
|
@ -148,10 +148,8 @@ class _TaskFormState extends State<TaskForm> {
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
// Error message display
|
// Error message display
|
||||||
if (widget.errorMessage != null) ...[
|
if (widget.errorMessage != null)
|
||||||
_buildErrorMessage(widget.errorMessage!),
|
_buildErrorMessage(widget.errorMessage!),
|
||||||
const SizedBox(height: 16),
|
|
||||||
],
|
|
||||||
|
|
||||||
// Title field
|
// Title field
|
||||||
_buildTitleField(theme),
|
_buildTitleField(theme),
|
||||||
|
|
@ -196,13 +194,8 @@ class _TaskFormState extends State<TaskForm> {
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildErrorMessage(String message) {
|
Widget _buildErrorMessage(String message) {
|
||||||
return Container(
|
return Padding(
|
||||||
padding: const EdgeInsets.all(12),
|
padding: const EdgeInsets.only(bottom: 16),
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: Colors.red.shade50,
|
|
||||||
borderRadius: BorderRadius.circular(12),
|
|
||||||
border: Border.all(color: Colors.red.shade200),
|
|
||||||
),
|
|
||||||
child: SelectableText.rich(
|
child: SelectableText.rich(
|
||||||
TextSpan(
|
TextSpan(
|
||||||
children: [
|
children: [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue