Files
orca/mobile/rpc-foundation/goldens/tk-linear-team-context.json
Kelvin Amoaba e22bb7c46c feat(mobile): keep Tasks and new-workspace drafts across kills (#40127)
* feat(mobile): keep Tasks and new-workspace drafts across kills

Task comments (per item and project row), the New issue title and body,
and the New workspace note now live in device-store draft rows. They come
back after the form closes or the app is killed, and only into an empty
field. A comment's setter stays bound to its item, so a send that settles
after the user moved on clears the right row.

* fix(mobile): rebuild comment sends when the draft's item changes

* fix(mobile): key the workspace note by host and keep cleared fields cleared

* fix(mobile): clear only the note a finished create sent

* fix(mobile): count clearing an empty draft field as the user's choice

* perf(mobile): cap field drafts, read sheet drafts on open, retry a failed read once

* fix(mobile): retry a failed draft read after a pause and keep New issue text typed during a create

* fix(mobile): save draft text again once a failed store read can be retried

* fix(mobile): remove a stored draft when an unread field is cleared
2026-11-09 13:51:32 +00:00

271 lines
6.0 KiB
JSON

{
"goldenFormatVersion": 6,
"operation": "tasks.linear-team-context",
"family": "tasks.linear-team-context",
"namedDeltas": [],
"values": {
"031c50459130": {
"name": "createTeamId",
"ordinal": 10,
"value": "team-1"
},
"2afc4b1311c1": {
"createTeamId": "team-1",
"states": [],
"statesLoading": false,
"teams": [
{
"id": "team-1",
"key": "ENG",
"name": "Engineering",
"workspaceId": "linear-workspace"
}
]
},
"38ed617d559f": {
"name": "linearTeams",
"ordinal": 9,
"value": [
{
"id": "team-1",
"key": "ENG",
"name": "Engineering",
"workspaceId": "linear-workspace"
}
]
},
"3abc893d377b": {
"name": "mutatingStatus",
"ordinal": 3,
"value": false
},
"4fcc46dfeb77": {
"name": "linear.listTeams#1",
"ordinal": 8,
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\"}"
},
"5dcdc7fd7492": {
"name": "linearSubIssueTitle",
"ordinal": 4,
"value": ""
},
"74335ecb4cd2": {
"name": "linearStatesLoading",
"ordinal": 16,
"value": false
},
"74505ce2789a": {
"name": "linearStates",
"ordinal": 5,
"value": []
},
"77a7eff4a3cc": {
"name": "linearStatesLoading",
"ordinal": 11,
"value": true
},
"82b36eab5101": {
"name": "creatingTask",
"ordinal": 6,
"value": false
},
"a14f6c361136": {
"name": "linearStates",
"ordinal": 15,
"value": [
{
"color": "#000000",
"id": "state-1",
"name": "Todo",
"type": "unstarted"
}
]
},
"b5ba6f00c4fb": {
"name": "linear.teamStates#1",
"ordinal": 14,
"json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.teamStates\",\"params\":{\"teamId\":\"team-1\",\"workspaceId\":\"linear-workspace\"}}"
},
"b6bf81e9e237": {
"createTeamId": "team-1",
"states": [
{
"color": "#000000",
"id": "state-1",
"name": "Todo",
"type": "unstarted"
}
],
"statesLoading": false,
"teams": [
{
"id": "team-1",
"key": "ENG",
"name": "Engineering",
"workspaceId": "linear-workspace"
}
]
},
"c88d134e7a42": {
"name": "linear.teamStates#1",
"ordinal": 13,
"args": [
{
"name": "method",
"value": "linear.teamStates"
},
{
"name": "params",
"value": {
"teamId": "team-1",
"workspaceId": "linear-workspace"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-2",
"ok": true,
"result": [
{
"color": "#000000",
"id": "state-1",
"name": "Todo",
"type": "unstarted"
}
]
}
}
},
"cc2ece9478f0": {
"name": "actionItem",
"ordinal": 1,
"value": {
"$rpc": "null"
}
},
"db66582f88a9": {
"name": "linearStatesError",
"ordinal": 12,
"value": ""
},
"eb79a9b3682a": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"$rpc": "undefined"
}
},
"eda130337c99": {
"name": "detailPayload",
"ordinal": 2,
"value": {
"$rpc": "null"
}
},
"ee01f277ffc4": {
"name": "linear.listTeams#1",
"ordinal": 7,
"args": [
{
"name": "method",
"value": "linear.listTeams"
},
{
"name": "params",
"value": {
"$rpc": "absent"
}
},
{
"name": "options",
"value": {
"$rpc": "absent"
}
}
],
"settlement": {
"status": "fulfilled",
"startedAt": 0,
"settledAt": 0,
"value": {
"id": "frame-1",
"ok": true,
"result": [
{
"id": "team-1",
"key": "ENG",
"name": "Engineering",
"workspaceId": "linear-workspace"
}
]
}
}
}
},
"recording": {
"scenario": "tk-linear-team-context",
"checkpoints": [
{
"id": "open-composer-settled",
"observation": {
"sender": ["ee01f277ffc4"],
"payloads": ["4fcc46dfeb77"],
"settlements": {
"mount": "eb79a9b3682a",
"open-composer-0": "eb79a9b3682a"
},
"state": "2afc4b1311c1",
"effects": [
"cc2ece9478f0",
"eda130337c99",
"3abc893d377b",
"5dcdc7fd7492",
"74505ce2789a",
"82b36eab5101",
"38ed617d559f",
"031c50459130"
]
}
},
{
"id": "select-metadata-item-settled",
"observation": {
"sender": ["ee01f277ffc4", "c88d134e7a42"],
"payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"],
"settlements": {
"mount": "eb79a9b3682a",
"open-composer-0": "eb79a9b3682a",
"select-metadata-item-1": "eb79a9b3682a"
},
"state": "b6bf81e9e237",
"effects": [
"cc2ece9478f0",
"eda130337c99",
"3abc893d377b",
"5dcdc7fd7492",
"74505ce2789a",
"82b36eab5101",
"38ed617d559f",
"031c50459130",
"77a7eff4a3cc",
"db66582f88a9",
"a14f6c361136",
"74335ecb4cd2"
]
}
}
]
}
}