aktivitaets-seite: mehr aussage + feinschliff
- Heatmap-Tooltip jetzt i18n (war hartkodiert deutsch) - Layout: Tagesdetail schmaler, 'Zuletzt aktiv' breiter - Insight-Zeile: aktive Tage + %, Schnitt Projekte/Tag, staerkster Monat, haeufigste Wochentage - aktuelle Serie mit Flamme + motivierendem Hinweis (heute halten / dabei) - Heatmap-Intensitaet aus Projekten UND Aenderungen (Dateien/Commits), nicht nur Projektzahl; Legende/Level-Labels angepasst - 'Zuletzt aktiv' mit Mini-Sparkline je Projekt ueber den Zeitraum - 7/30/90-Bereich markiert jetzt auch das Fenster in der Heatmap Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -410,8 +410,20 @@
|
||||
.hc.sel { outline: 2px solid var(--accent); outline-offset: 1px; }
|
||||
.hleg { display: inline-flex; gap: 3px; align-items: center; }
|
||||
.hleg .hc { cursor: default; width: 11px; height: 11px; }
|
||||
.acgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
||||
.acgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; align-items: start; }
|
||||
@container main (max-width: 900px) { .acgrid { grid-template-columns: 1fr; } }
|
||||
/* heatmap: insight line, selected-range highlight */
|
||||
.acinsight { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 2px; font-size: 12.5px; color: var(--muted); }
|
||||
.acinsight span { color: var(--text); font-weight: 500; }
|
||||
.acinsight .dot { color: var(--muted); font-style: normal; }
|
||||
.hc.inrange { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent); }
|
||||
/* current-streak KPI accent + flame */
|
||||
.stkpi.streak .val { color: var(--accent-text); display: flex; align-items: center; gap: 5px; }
|
||||
.stkpi .flame .i { width: 18px; height: 18px; color: #f59e0b; }
|
||||
/* sparkline bars in "recently active" */
|
||||
.aclist.spark-list button { grid-template-columns: minmax(0, 1fr) 72px auto; }
|
||||
.spark { display: inline-flex; align-items: flex-end; gap: 1px; height: 20px; width: 72px; }
|
||||
.spark i { flex: 1; min-width: 1px; background: color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 1px; align-self: flex-end; }
|
||||
.aclist { display: flex; flex-direction: column; gap: 2px; }
|
||||
.aclist button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; border: none; background: none; padding: 6px 8px; margin: 0 -8px; border-radius: 7px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
|
||||
.aclist button:hover { background: var(--surface-2); }
|
||||
@@ -1138,6 +1150,7 @@
|
||||
<div class="stlegend" id="acLegend"></div>
|
||||
</div>
|
||||
<div class="heatscroll"><div class="heat" id="acHeat" role="grid" data-i18n-title="act.perDay" aria-label="Active projects per day"></div></div>
|
||||
<div class="acinsight" id="acInsight"></div>
|
||||
<div class="hint" data-i18n-html="act.hint">A day counts when files were last changed or commits were made on it. Files show only their <i>last</i> change – commits fill in the history.</div>
|
||||
<div class="sttip" id="acTip" hidden></div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user