Fix dropdown text visibility
This commit is contained in:
@@ -90,12 +90,12 @@ function TaskModal({ agentId, task, onClose, onSave }: TaskModalProps) {
|
|||||||
<select
|
<select
|
||||||
value={priority}
|
value={priority}
|
||||||
onChange={(e) => setPriority(e.target.value)}
|
onChange={(e) => setPriority(e.target.value)}
|
||||||
className="w-full mt-1 bg-white/10 border border-white/20 rounded-lg px-3 py-2 text-sm"
|
className="w-full mt-1 bg-[#1a1a2e] border border-white/20 rounded-lg px-3 py-2 text-sm text-white"
|
||||||
>
|
>
|
||||||
<option value="low">Low</option>
|
<option value="low" className="bg-[#1a1a2e]">Low</option>
|
||||||
<option value="medium">Medium</option>
|
<option value="medium" className="bg-[#1a1a2e]">Medium</option>
|
||||||
<option value="high">High</option>
|
<option value="high" className="bg-[#1a1a2e]">High</option>
|
||||||
<option value="critical">Critical</option>
|
<option value="critical" className="bg-[#1a1a2e]">Critical</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -118,12 +118,12 @@ function TaskModal({ agentId, task, onClose, onSave }: TaskModalProps) {
|
|||||||
<select
|
<select
|
||||||
value={scheduleType}
|
value={scheduleType}
|
||||||
onChange={(e) => setScheduleType(e.target.value as any)}
|
onChange={(e) => setScheduleType(e.target.value as any)}
|
||||||
className="w-full mt-1 bg-white/10 border border-white/20 rounded-lg px-3 py-2 text-sm"
|
className="w-full mt-1 bg-[#1a1a2e] border border-white/20 rounded-lg px-3 py-2 text-sm text-white"
|
||||||
>
|
>
|
||||||
<option value="hourly">Hourly</option>
|
<option value="hourly" className="bg-[#1a1a2e]">Hourly</option>
|
||||||
<option value="daily">Daily</option>
|
<option value="daily" className="bg-[#1a1a2e]">Daily</option>
|
||||||
<option value="weekly">Weekly</option>
|
<option value="weekly" className="bg-[#1a1a2e]">Weekly</option>
|
||||||
<option value="monthly">Monthly</option>
|
<option value="monthly" className="bg-[#1a1a2e]">Monthly</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -145,15 +145,15 @@ function TaskModal({ agentId, task, onClose, onSave }: TaskModalProps) {
|
|||||||
<select
|
<select
|
||||||
value={scheduleDay}
|
value={scheduleDay}
|
||||||
onChange={(e) => setScheduleDay(parseInt(e.target.value))}
|
onChange={(e) => setScheduleDay(parseInt(e.target.value))}
|
||||||
className="w-full mt-1 bg-white/10 border border-white/20 rounded-lg px-3 py-2 text-sm"
|
className="w-full mt-1 bg-[#1a1a2e] border border-white/20 rounded-lg px-3 py-2 text-sm text-white"
|
||||||
>
|
>
|
||||||
<option value={0}>Sunday</option>
|
<option value={0} className="bg-[#1a1a2e]">Sunday</option>
|
||||||
<option value={1}>Monday</option>
|
<option value={1} className="bg-[#1a1a2e]">Monday</option>
|
||||||
<option value={2}>Tuesday</option>
|
<option value={2} className="bg-[#1a1a2e]">Tuesday</option>
|
||||||
<option value={3}>Wednesday</option>
|
<option value={3} className="bg-[#1a1a2e]">Wednesday</option>
|
||||||
<option value={4}>Thursday</option>
|
<option value={4} className="bg-[#1a1a2e]">Thursday</option>
|
||||||
<option value={5}>Friday</option>
|
<option value={5} className="bg-[#1a1a2e]">Friday</option>
|
||||||
<option value={6}>Saturday</option>
|
<option value={6} className="bg-[#1a1a2e]">Saturday</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -1,4 +1,31 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"id": "log-1772215845028",
|
||||||
|
"templateId": "thoth-daily-research",
|
||||||
|
"agent": "thoth",
|
||||||
|
"taskTitle": "Daily SiteMente Research",
|
||||||
|
"startedAt": "2026-02-27T18:10:45.028Z",
|
||||||
|
"status": "running",
|
||||||
|
"output": "Agent executing..."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "log-1772215830867",
|
||||||
|
"templateId": "thoth-daily-research",
|
||||||
|
"agent": "thoth",
|
||||||
|
"taskTitle": "Daily SiteMente Research",
|
||||||
|
"startedAt": "2026-02-27T18:10:30.867Z",
|
||||||
|
"status": "running",
|
||||||
|
"output": "Agent executing..."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "log-1772215828096",
|
||||||
|
"templateId": "thoth-daily-research",
|
||||||
|
"agent": "thoth",
|
||||||
|
"taskTitle": "Daily SiteMente Research",
|
||||||
|
"startedAt": "2026-02-27T18:10:28.096Z",
|
||||||
|
"status": "running",
|
||||||
|
"output": "Agent executing..."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "log-1772215233941",
|
"id": "log-1772215233941",
|
||||||
"templateId": "seshat-content-pipeline",
|
"templateId": "seshat-content-pipeline",
|
||||||
|
|||||||
@@ -16,9 +16,9 @@
|
|||||||
"priority": "high"
|
"priority": "high"
|
||||||
},
|
},
|
||||||
"preInstructions": "Focus on: 1) Competitor changes, 2) New AI features, 3) Local lead opportunities",
|
"preInstructions": "Focus on: 1) Competitor changes, 2) New AI features, 3) Local lead opportunities",
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"runCount": 1,
|
"runCount": 4,
|
||||||
"lastRun": "2026-02-27T18:00:14.940Z"
|
"lastRun": "2026-02-27T18:10:45.028Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ptah-infra-monitor",
|
"id": "ptah-infra-monitor",
|
||||||
@@ -120,5 +120,22 @@
|
|||||||
"preInstructions": "Alert if drawdown >10% or positions at risk",
|
"preInstructions": "Alert if drawdown >10% or positions at risk",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"runCount": 0
|
"runCount": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "template-task-1772215820185",
|
||||||
|
"agent": "thoth",
|
||||||
|
"project": "sitemente",
|
||||||
|
"schedule": {
|
||||||
|
"enabled": true,
|
||||||
|
"type": "daily",
|
||||||
|
"time": "05:00"
|
||||||
|
},
|
||||||
|
"taskTemplate": {
|
||||||
|
"title": "Daily competitor analysis",
|
||||||
|
"description": "Check our competitor daily and report anything of importance we need to know ",
|
||||||
|
"priority": "high"
|
||||||
|
},
|
||||||
|
"enabled": true,
|
||||||
|
"runCount": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user