File history timeline (filelog) with diff-to-previous
- File history button in the preview header opens a per-file revision timeline (rev, changelist, action, user, date, description) with Diff to previous - Backend p4 filelog -l; filelogRevs parser Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
14
src/App.css
14
src/App.css
@ -796,6 +796,20 @@ body.resizing-v{cursor:row-resize!important;user-select:none}
|
||||
.lk-who{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:1px;font-size:11.5px;color:var(--muted);max-width:170px}
|
||||
.lk-client{font-size:10px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}
|
||||
.tm-hint{padding:10px 16px;font-size:11.5px;line-height:1.5;color:var(--faint);border-bottom:1px solid var(--border-soft)}
|
||||
/* file-history timeline */
|
||||
.flog-body{flex:1;overflow:auto;padding:6px 14px 14px}
|
||||
.flog-row{display:flex;gap:12px;align-items:flex-start;padding:8px 6px}
|
||||
.flog-row:hover{background:var(--hover);border-radius:8px}
|
||||
.flog-rail{flex:0 0 14px;display:flex;flex-direction:column;align-items:center;align-self:stretch;position:relative}
|
||||
.flog-dot{width:11px;height:11px;border-radius:50%;flex:0 0 auto;margin-top:4px;background:var(--accent-2);box-shadow:0 0 0 3px rgba(124,110,246,.15)}
|
||||
.flog-dot.st-a{background:var(--add)}.flog-dot.st-d{background:var(--del)}.flog-dot.st-e{background:var(--edit)}
|
||||
.flog-line{flex:1;width:2px;background:var(--border);margin-top:2px}
|
||||
.flog-main{flex:1;min-width:0}
|
||||
.flog-head{display:flex;align-items:center;gap:8px;font-size:12px;flex-wrap:wrap}
|
||||
.flog-head .rev{font-weight:700;color:var(--txt);font-variant-numeric:tabular-nums}
|
||||
.flog-cl{color:var(--accent-2);font-variant-numeric:tabular-nums}
|
||||
.flog-user{color:var(--muted)}.flog-time{color:var(--faint);margin-left:auto;font-variant-numeric:tabular-nums}
|
||||
.flog-desc{font-size:12px;color:var(--muted);margin-top:3px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
|
||||
/* blame + diff panes */
|
||||
.picker.blame{width:900px;height:640px}
|
||||
.blame-body,.diff-body{flex:1;overflow:auto;padding:8px 0;font-family:var(--mono);font-size:12px;line-height:1.5;background:var(--stage-bg)}
|
||||
|
||||
Reference in New Issue
Block a user