feat(taiga): Status zurückschreiben — zwei Knöpfe, niemand gewinnt von selbst (D91-Nachtrag 8, SPEC §9)
Weicht der Ticket-Status von der Statusbox ab, markiert das Knoten-Fenster
die Abweichung und bietet beide Richtungen ausdrücklich an.
- „nach Taiga schreiben": Spalte des Projekts suchen (Taiga schreibt nach Id,
die Namen sind je Projekt frei) und mit der zuletzt GELESENEN `version`
patchen — hat jemand dazwischen geändert, lehnt Taiga ab und der Text steht
im Fenster, statt dass etwas überschrieben wird.
- „aus Taiga übernehmen": `setStatusBox()` schreibt die Box in die Textzeile,
undo-fähig wie jede andere Änderung.
- Schreibbar sind nur die fünf abgebildeten Zustände; `[?]`, `[!]`, `[-]` und
der neutrale Knoten lassen das Ticket unangetastet — mit Begründung im
Fenster.
- Proxy: zwei Spaltenlisten (`/taiga/{userstory,task}-statuses?slug=`) und
zwei Schreib-Endpunkte (`PATCH …/{ref}/status?slug=`); die Zielspalte wählt
der Editor, das Backend parst die Notation nicht (D14).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
4e6f98bbee
commit
323e8fe0ba
@@ -204,7 +204,7 @@
|
||||
- [/] #trk.resolve: Resolve "#US-123" over the REST API (M)
|
||||
- [^] #trk.resolve.read: Read title, link and status (S)
|
||||
- [/] #trk.resolve.map: Map the workflow onto the states (S)
|
||||
- [?] #trk.write: Write the status back (M) :#trk.resolve
|
||||
- [x] #trk.write: Write the status back (M) :#trk.resolve
|
||||
- [^] #trk.create: Create tickets from nodes (XL)
|
||||
- [^] #trk.create.proxy: Backend proxy with named endpoints (M)
|
||||
- [^] #trk.create.login: Log in to Taiga, token stays in the browser (S) :#trk.create.proxy
|
||||
@@ -1158,8 +1158,9 @@
|
||||
shown as plain text; making the mapping configurable is still open.
|
||||
|
||||
#trk.write
|
||||
The other direction: change a status in the plan and the ticket follows.
|
||||
Only worth doing once reading it is trustworthy.
|
||||
The other direction. Neither side wins by itself: a difference between the
|
||||
ticket and the status box is marked, and both directions are offered as
|
||||
explicit buttons — writing only for the five mapped states.
|
||||
|
||||
#trk.create
|
||||
One click in the node window turns a node into a Taiga ticket. The cut
|
||||
|
||||
Reference in New Issue
Block a user