Pools: löschbar mit Zuordnungs-Auflösung, Neuanmelden über Keychain, Key-Status

- delete_pool löst Projektzuordnungen (Terminal-Config bleibt), Dialog
  zeigt betroffene Projekte
- oauth_login: nur bei ungenutztem Pool, löscht vorher den suffixierten
  Keychain-Eintrag; Warn-Dialog mit keychain_status; oauth_refresh raus
- PoolInfo.hasCredentials: apikey-Dateicheck; Button Key ändern/eintragen,
  einheitliche Button-Breite
- Starten deaktiviert ohne Pool bzw. ohne Key (Tooltip unterscheidet)
- Icon-Pfad im Terminal-Dialog gekürzt mit Hover-Popover
This commit is contained in:
marcus.hinz
2026-07-04 13:27:54 +02:00
parent fc560d4e5f
commit 9b008cbf51
5 changed files with 258 additions and 70 deletions
+41 -10
View File
@@ -204,6 +204,10 @@ button.danger:hover:not(:disabled) {
gap: 0.4rem;
}
.row-actions .w-action {
width: 9.5rem;
}
button.gear {
display: inline-flex;
align-items: center;
@@ -238,7 +242,7 @@ col.col-actions {
width: 15rem;
}
col.col-actions-wide {
width: 19rem;
width: 16rem;
}
col.col-type {
width: 7rem;
@@ -330,23 +334,20 @@ td select {
color: var(--peach);
}
/* Zugeordnete Projekte: Anzahl in der Zeile, Liste im Hover. */
.assigned {
/* Hover-Popover: kompakter Text in der Zeile, Details im Hover. */
.hover-pop {
position: relative;
color: var(--subtext);
font-size: 0.8rem;
cursor: default;
border-bottom: 1px dotted var(--surface2);
padding-bottom: 1px;
}
.assigned .pop {
.hover-pop .pop {
display: none;
position: absolute;
top: calc(100% + 8px);
left: 0;
z-index: 20;
min-width: 13rem;
max-width: 26rem;
flex-direction: column;
gap: 0.4rem;
background: var(--crust);
@@ -356,10 +357,26 @@ td select {
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.assigned:hover .pop {
.hover-pop:hover .pop {
display: flex;
}
.pop-path {
font-family: var(--mono);
font-size: 0.75rem;
line-height: 1.5;
color: var(--text);
word-break: break-all;
}
/* Zugeordnete Projekte: Anzahl in der Zeile, Liste im Hover. */
.assigned {
color: var(--subtext);
font-size: 0.8rem;
border-bottom: 1px dotted var(--surface2);
padding-bottom: 1px;
}
.pop-item {
font-family: var(--mono);
font-size: 0.8rem;
@@ -442,7 +459,10 @@ td select {
font-family: var(--mono);
color: var(--overlay);
font-size: 0.75rem;
word-break: break-all;
max-width: 11rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dialog .pools {
@@ -470,6 +490,17 @@ td select {
color: var(--overlay);
}
.dialog .affected {
margin: 0;
padding-left: 1.1rem;
display: flex;
flex-direction: column;
gap: 0.3rem;
font-family: var(--mono);
font-size: 0.8rem;
color: var(--text);
}
.dialog .actions {
display: flex;
justify-content: flex-end;