Fix dropdown text visibility

This commit is contained in:
Horus
2026-02-27 19:13:13 +01:00
parent 5e7f416c08
commit 97811e5acb
3 changed files with 65 additions and 21 deletions
+18 -18
View File
@@ -90,12 +90,12 @@ function TaskModal({ agentId, task, onClose, onSave }: TaskModalProps) {
<select
value={priority}
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="medium">Medium</option>
<option value="high">High</option>
<option value="critical">Critical</option>
<option value="low" className="bg-[#1a1a2e]">Low</option>
<option value="medium" className="bg-[#1a1a2e]">Medium</option>
<option value="high" className="bg-[#1a1a2e]">High</option>
<option value="critical" className="bg-[#1a1a2e]">Critical</option>
</select>
</div>
@@ -118,12 +118,12 @@ function TaskModal({ agentId, task, onClose, onSave }: TaskModalProps) {
<select
value={scheduleType}
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="daily">Daily</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
<option value="hourly" className="bg-[#1a1a2e]">Hourly</option>
<option value="daily" className="bg-[#1a1a2e]">Daily</option>
<option value="weekly" className="bg-[#1a1a2e]">Weekly</option>
<option value="monthly" className="bg-[#1a1a2e]">Monthly</option>
</select>
</div>
@@ -145,15 +145,15 @@ function TaskModal({ agentId, task, onClose, onSave }: TaskModalProps) {
<select
value={scheduleDay}
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={1}>Monday</option>
<option value={2}>Tuesday</option>
<option value={3}>Wednesday</option>
<option value={4}>Thursday</option>
<option value={5}>Friday</option>
<option value={6}>Saturday</option>
<option value={0} className="bg-[#1a1a2e]">Sunday</option>
<option value={1} className="bg-[#1a1a2e]">Monday</option>
<option value={2} className="bg-[#1a1a2e]">Tuesday</option>
<option value={3} className="bg-[#1a1a2e]">Wednesday</option>
<option value={4} className="bg-[#1a1a2e]">Thursday</option>
<option value={5} className="bg-[#1a1a2e]">Friday</option>
<option value={6} className="bg-[#1a1a2e]">Saturday</option>
</select>
</div>
)}
+27
View File
@@ -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",
"templateId": "seshat-content-pipeline",
+20 -3
View File
@@ -16,9 +16,9 @@
"priority": "high"
},
"preInstructions": "Focus on: 1) Competitor changes, 2) New AI features, 3) Local lead opportunities",
"enabled": false,
"runCount": 1,
"lastRun": "2026-02-27T18:00:14.940Z"
"enabled": true,
"runCount": 4,
"lastRun": "2026-02-27T18:10:45.028Z"
},
{
"id": "ptah-infra-monitor",
@@ -120,5 +120,22 @@
"preInstructions": "Alert if drawdown >10% or positions at risk",
"enabled": true,
"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
}
]