Fix scheduled-task rows hidden by uds-auth projectRow CSS.

Force-show .dsh-ct-project/.dsh-ct-group and always refresh viewer state when reloading the job list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-08 16:03:41 +08:00
parent 7d27179e51
commit d298c77f3f

View file

@ -276,7 +276,7 @@ window.__ModuleLoader__.load({
.dsh-ct-project:hover .dsh-ct-folder{display:none}
.dsh-ct-arrow{transition:transform .15s var(--ds-ease-in-out,ease);display:inline-flex}
.dsh-ct-arrowOpen{transform:rotate(90deg)}
.dsh-ct-project,.dsh-ct-session{cursor:pointer;user-select:none;color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;padding:0 8px;display:flex;box-sizing:border-box;border:none;background:transparent;width:100%;font:inherit;text-align:left}
.dsh-ct-project,.dsh-ct-session{cursor:pointer;user-select:none;color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;padding:0 8px;display:flex!important;box-sizing:border-box;border:none;background:transparent;width:100%;font:inherit;text-align:left}
.dsh-ct-project{height:34px;gap:6px}
.dsh-ct-session{height:32px;gap:0}
.dsh-ct-project:hover,.dsh-ct-session:hover,.dsh-ct-session[data-on=true]{background:var(--dsw-alias-interactive-bg-hover)}
@ -1213,11 +1213,11 @@ body>.dsh-ct-main{position:fixed;top:0;right:0;bottom:0;left:var(--dsh-ct-sideba
const nextViewer = jobBody.viewer || wsBody.viewer || histBody.viewer || null
const nextCatalog = { groups: modelBody.groups || [], current: modelBody.current || null }
const nextPresets = { items: presetBody.items || [], current: presetBody.current || null }
listSnapshot.viewer = nextViewer
setViewer(nextViewer)
if (jobStamp(listSnapshot.jobs) !== jobStamp(nextJobs)) {
listSnapshot.jobs = nextJobs
listSnapshot.viewer = nextViewer
setJobs(nextJobs)
setViewer(nextViewer)
}
if (runStamp(listSnapshot.runs) !== runStamp(nextRuns)) {
listSnapshot.runs = nextRuns