feat(taiga): Ticket-Stand im Knoten-Fenster — gelesen, nie geschrieben (D91-Nachtrag 6, SPEC §9)
Wo eine Ref steht und ein `&taiga.<slug>` gilt, zeigt das Knoten-Fenster
Betreff, Status und Zuständigen des Tickets; Taigas Statusname steht neben
der Statusbox der Notation (`In progress → [~]`).
- Proxy: zwei benannte Lese-Endpunkte (`GET /taiga/userstories/{ref}` und
`…/tasks/{ref}`, je `?slug=`) — das Präfix der Ref trägt den Typ, Taiga
hat getrennte `by_ref`-Endpunkte. Erst `/projects/by_slug`, dann `by_ref`
(eine Ref ist nur je Projekt eindeutig); der Slug wird kodiert angehängt.
- Die Abbildung Status → Statusbox liegt im Editor (`mapTaigaStatus`,
headless): Statuscodes sind Notation, das Backend parst sie nicht (D14).
Unbekannte Namen bleiben unabgebildet — Raten hieße, dem Knoten eine
Aussage zu geben, die niemand gemacht hat.
- Geholt wird erst nach 400 ms Verweilen und je Ticket einmal je Sitzung
(↻ holt neu); ohne Anmeldung gar nicht — der Knopf meldet erst an.
- Nichts wird geschrieben: kein Text, keine Statusbox (das bleibt
`#trk.write`).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
e58f71bf90
commit
842e89795a
@@ -1083,6 +1083,18 @@
|
||||
font:inherit;font-size:.74rem;font-weight:500;
|
||||
}
|
||||
.nodetip-taigabtn:hover{background:rgba(15,118,110,.08)}
|
||||
/* Der gelesene Ticket-Stand (D91-Nachtrag 6): abgesetzt wie die Kurz-Fakten,
|
||||
die Statusbox als gewöhnlicher .chip in den §4-Farben. */
|
||||
.nodetip-ticket{
|
||||
margin-top:9px;padding-top:8px;
|
||||
border-top:1px solid rgba(36,52,71,.15);font-size:.74rem;
|
||||
}
|
||||
.nodetip-ticket .tk-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
|
||||
.nodetip-ticket .tk-status{font-weight:500}
|
||||
.nodetip-ticket .tk-arrow{color:var(--muted)}
|
||||
.nodetip-ticket .tk-line{margin-top:4px;color:var(--muted)}
|
||||
.nodetip-ticket .tk-err{margin-top:2px;margin-bottom:6px;color:var(--warn)}
|
||||
.nodetip-ticket .tk-mini{margin-left:auto;padding:2px 7px;font-size:.8rem;line-height:1.1}
|
||||
/* Die Spitze zeigt auf den Knoten — ohne sie wäre bei dicht stehenden Knoten
|
||||
nicht zu sehen, welcher gemeint ist. Ein gedrehtes Quadrat mit zwei Kanten:
|
||||
so erbt es Rahmen UND Schatten des Fensters. JS setzt --tipx (Spitze) und
|
||||
|
||||
Reference in New Issue
Block a user