fix(diagram): Ticket-Refs im Label brechen nicht mehr am Bindestrich um (SPEC §9)

Der Browser bricht eine zu breit geratene Zeile an jedem Bindestrich —
aus #US-123 wurde #US-/123 über zwei Zeilen. Eine tref-Spanne mit
white-space:nowrap hält das Token zusammen; labelLines() (Export) misst
ihre Textknoten unverändert mit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
mhoennig
2026-08-27 17:14:27 +02:00
co-authored by Claude Fable 5
parent 3f336db680
commit 83eb6ff77f
5 changed files with 44 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ reverse.
## 2026-08-27
- A ticket ref like `#US-123` in a node title no longer breaks across two lines at its hyphen
- Create a Taiga story from a diagram node: the node window offers "create story" and "create story + tasks" — log in once (the token stays in the browser), pick the project, and the ref lands in the line as `#US-123`, undoable
- Sub-packages become Taiga tasks via a checkbox dialog: required and optional children start checked, in `|`/`=` groups only realized alternatives, done children unchecked, discarded ones absent — each created task writes its `#T-…` ref to its line
- The project dialog is prefilled from the inherited `&taiga.slug` keyword, and a creation without or against the inherited assignment writes the keyword back to the node's line
+3 -1
View File
@@ -565,7 +565,9 @@ Siehe D29.
trifft der 23-px-Abzweig die Mitte der **ersten Zeile** (die Zeilenhöhe
bleibt fest); der Optional-Kreis (§9) sitzt auf dem Abzweig, nicht auf der
Knotenmitte. Der Grafikexport misst die gerenderten Zeilen und gibt sie als
einzelne Textzeilen aus.
einzelne Textzeilen aus. Eine **Ticket-Referenz** im Label (`#US-123` /
`#T-1234`, §11) bricht dabei **nie mitten im Token** um — auch nicht am
Bindestrich, an dem der Browser eine zu breit geratene Zeile sonst bricht.
- Dasselbe gilt **waagerecht**: Im horizontalen Fächer trifft der Stiel die
**Knotenmitte**, nicht die Mitte der Zelle. Beides fällt nur zusammen, solange
der Knoten in seiner Zelle zentriert steht — ein Knoten mit any-of-Kindern