mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-09 00:43:22 +08:00
Remove leading session icon dots from cron run rows.
The stolen native sessionRow glyph rendered as three dots before run titles; drop that slot so directory leaves are title-only. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
ae4b7611ed
commit
1c504eb1fd
1 changed files with 0 additions and 7 deletions
|
|
@ -140,12 +140,6 @@ window.__ModuleLoader__.load({
|
||||||
return Ico('IconTrashOutline16', { size: 16 })
|
return Ico('IconTrashOutline16', { size: 16 })
|
||||||
|| stealSvg('[class*="rowActions"] [class*="iconButton"]:last-child svg')
|
|| stealSvg('[class*="rowActions"] [class*="iconButton"]:last-child svg')
|
||||||
}
|
}
|
||||||
function sessionIcon() {
|
|
||||||
return Ico('IconChatOutline16', { size: 16 })
|
|
||||||
|| Ico('IconMessageOutline16', { size: 16 })
|
|
||||||
|| stealSvg('[class*="sessionRow"] [class*="slot"] svg')
|
|
||||||
|| stealSvg('[class*="sessionRow"] svg')
|
|
||||||
}
|
|
||||||
function getService(ctx, faces, key) {
|
function getService(ctx, faces, key) {
|
||||||
if (faces[key]) return faces[key]
|
if (faces[key]) return faces[key]
|
||||||
try {
|
try {
|
||||||
|
|
@ -749,7 +743,6 @@ body>.dsh-ct-main{position:fixed;top:0;right:0;bottom:0;left:var(--dsh-ct-sideba
|
||||||
'data-on': selectedRun ? 'true' : 'false',
|
'data-on': selectedRun ? 'true' : 'false',
|
||||||
onClick: () => onSelectRun(job.id, run),
|
onClick: () => onSelectRun(job.id, run),
|
||||||
},
|
},
|
||||||
h('span', { className: skin.slot }, sessionIcon() || '·'),
|
|
||||||
h('span', { className: skin.title }, (run.summary || run.status || '').split('\n')[0] || run.status),
|
h('span', { className: skin.title }, (run.summary || run.status || '').split('\n')[0] || run.status),
|
||||||
h('span', { className: skin.time }, formatTime(run.actualAt || run.scheduledAt, job.schedule?.timezone)),
|
h('span', { className: skin.time }, formatTime(run.actualAt || run.scheduledAt, job.schedule?.timezone)),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue