home-ueberblick: 'braucht aufmerksamkeit' + cleanup-dialog + tasks/speicher-chips
- Home-Panel 'Braucht Aufmerksamkeit': Projekte mit offenen Punkten (kein Remote, Backup faellig, uncommitted, aufraeumbar, npm install, kein Icon), Health-Punkt je Zeile, einklappbar, Klick oeffnet Projekt - Heute-Band: klickbare Chips 'N offene Aufgaben' -> Tasks-Ansicht und 'X GB freiraeumbar' -> Speicher-Ansicht (auch im Einfach-Modus auffindbar) - Speicher-Loeschen: statt Browser-confirm ein In-App-Dialog, der genau auflistet was geloescht wird (je Projekt gruppiert, Haken pro Eintrag, Live-Gesamtgroesse), bestehende Loeschlogik dahinter Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -375,6 +375,26 @@
|
||||
.tcard .tc-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; min-width: 0; }
|
||||
.tcard .qsg { margin-left: auto; }
|
||||
.today-act { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--accent-text); font-weight: 600; text-decoration: none; width: max-content; }
|
||||
/* "Needs attention" panel on the home page */
|
||||
.attention { border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--yellow) 12%, transparent), transparent 70%), var(--surface); padding: 12px 16px; margin-bottom: 14px; }
|
||||
.att-head { display: flex; align-items: center; gap: 10px; }
|
||||
.att-title { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; }
|
||||
.att-title .i { color: var(--yellow); }
|
||||
.att-head .today-toggle { margin-left: auto; }
|
||||
.attention.closed .today-toggle .i { transform: rotate(-90deg); }
|
||||
.att-body { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
|
||||
.attention.closed .att-body { display: none; }
|
||||
.atrow { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); cursor: pointer; transition: border-color .12s, transform .12s; }
|
||||
.atrow:hover { border-color: var(--accent); transform: translateX(2px); }
|
||||
.atrow .avatar { width: 30px; height: 30px; flex: 0 0 30px; }
|
||||
.atrow .at-name { font-weight: 650; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
|
||||
.atrow .at-issues { display: flex; gap: 5px; flex-wrap: wrap; margin-left: auto; justify-content: flex-end; }
|
||||
.att-more { margin-top: 2px; }
|
||||
.heldot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc) 22%, transparent); background: var(--hc); --hc: var(--green); }
|
||||
.heldot.red { --hc: var(--red); }
|
||||
.heldot.yellow { --hc: var(--yellow); }
|
||||
.heldot.low { --hc: var(--muted); }
|
||||
.heldot.ok { --hc: var(--green); }
|
||||
/* activity page */
|
||||
#activity.active { overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
|
||||
.heatscroll { overflow-x: auto; padding-bottom: 4px; }
|
||||
@@ -775,6 +795,19 @@
|
||||
.dlg.wide .ihead { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
|
||||
.dlg.wide .ihead h3 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 16px; }
|
||||
.dlg.wide .ihead .sp { flex: 1; }
|
||||
/* cleanup confirm dialog: scrollable grouped checklist */
|
||||
#cleanDlg { width: 620px; margin: auto; }
|
||||
#cleanDlg[open] { display: flex; flex-direction: column; }
|
||||
#cleanDlgBody { overflow: auto; padding: 6px 20px 2px; }
|
||||
.clgroup { margin-top: 12px; }
|
||||
.clgroup:first-child { margin-top: 4px; }
|
||||
.clg-head { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 13px; margin-bottom: 3px; }
|
||||
.clg-head .hint { margin-left: auto; font-weight: 400; }
|
||||
.clrow { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; }
|
||||
.clrow:hover { background: var(--surface-2); }
|
||||
.clrow .cl-path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
|
||||
.clrow .cl-mb { font-variant-numeric: tabular-nums; }
|
||||
#cleanDlg .nestfoot .danger { font-weight: 600; }
|
||||
/* only style the OPEN dialog as flex – otherwise this overrides the UA display:none and it can never close */
|
||||
#helpDlg { width: 560px; max-height: calc(100vh - 80px); margin: auto; }
|
||||
#helpDlg[open] { display: flex; flex-direction: column; }
|
||||
@@ -1482,6 +1515,21 @@
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<dialog id="cleanDlg" class="dlg wide">
|
||||
<div class="ihead">
|
||||
<h3><svg class="i lg"><use href="/icons.svg#brush-cleaning"/></svg><span data-i18n="clean.dlg.title">Delete these folders?</span></h3>
|
||||
<span class="sp"></span>
|
||||
<button class="iconbtn" type="button" id="cleanDlgClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||
</div>
|
||||
<div id="cleanDlgBody"></div>
|
||||
<div class="nestfoot">
|
||||
<span class="hint" data-i18n="st.regenHint">These folders are regenerated on the next build / run.</span>
|
||||
<span class="sp"></span>
|
||||
<button class="btn" type="button" id="cleanDlgCancel" data-i18n="common.cancel">Cancel</button>
|
||||
<button class="btn danger" type="button" id="cleanDlgOk"></button>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<dialog id="helpDlg" class="dlg wide">
|
||||
<div class="ihead">
|
||||
<h3><svg class="i lg"><use href="/icons.svg#life-buoy"/></svg><span data-i18n="help.title">Help & overview</span></h3>
|
||||
|
||||
Reference in New Issue
Block a user