mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
* 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
266 lines
6.1 KiB
JSON
266 lines
6.1 KiB
JSON
{
|
|
"goldenFormatVersion": 6,
|
|
"operation": "tasks.item-comment-gitlab",
|
|
"family": "tasks.item-comment-gitlab",
|
|
"namedDeltas": [],
|
|
"values": {
|
|
"02b5df9521e8": {
|
|
"name": "detailPayload",
|
|
"ordinal": 14,
|
|
"value": {
|
|
"assignees": [],
|
|
"body": "body",
|
|
"comments": [
|
|
{
|
|
"author": "octocat",
|
|
"body": "a thought",
|
|
"createdAt": "2020-01-01T00:00:00.000Z",
|
|
"id": "comment-2"
|
|
},
|
|
{
|
|
"author": "You",
|
|
"body": "a comment",
|
|
"createdAt": "2020-01-01T00:00:00.000Z",
|
|
"id": 904
|
|
}
|
|
],
|
|
"labels": ["bug"],
|
|
"pipelineJobs": [],
|
|
"provider": "gitlab"
|
|
}
|
|
},
|
|
"17b97af91ff8": {
|
|
"draft": "",
|
|
"error": "",
|
|
"item": {
|
|
"provider": "gitlab",
|
|
"source": {
|
|
"id": "gitlab:issue:4",
|
|
"labels": ["bug"],
|
|
"number": 4,
|
|
"projectRef": {
|
|
"host": "gitlab.com",
|
|
"path": "group/project"
|
|
},
|
|
"repoId": "repo-1",
|
|
"state": "opened",
|
|
"type": "issue"
|
|
},
|
|
"title": "A GitLab issue"
|
|
},
|
|
"mutating": false,
|
|
"payload": {
|
|
"assignees": [],
|
|
"body": "body",
|
|
"comments": [
|
|
{
|
|
"author": "octocat",
|
|
"body": "a thought",
|
|
"createdAt": "2020-01-01T00:00:00.000Z",
|
|
"id": "comment-2"
|
|
},
|
|
{
|
|
"author": "You",
|
|
"body": "a comment",
|
|
"createdAt": "2020-01-01T00:00:00.000Z",
|
|
"id": 904
|
|
}
|
|
],
|
|
"labels": ["bug"],
|
|
"pipelineJobs": [],
|
|
"provider": "gitlab"
|
|
}
|
|
},
|
|
"3aefb3006914": {
|
|
"name": "error",
|
|
"ordinal": 10,
|
|
"value": ""
|
|
},
|
|
"4031bf455f49": {
|
|
"name": "mutatingStatus",
|
|
"ordinal": 5,
|
|
"value": false
|
|
},
|
|
"474412c229f4": {
|
|
"name": "detailPayload",
|
|
"ordinal": 7,
|
|
"value": {
|
|
"assignees": [],
|
|
"body": "body",
|
|
"comments": [
|
|
{
|
|
"author": "octocat",
|
|
"body": "a thought",
|
|
"createdAt": "2020-01-01T00:00:00.000Z",
|
|
"id": "comment-2"
|
|
}
|
|
],
|
|
"labels": ["bug"],
|
|
"pipelineJobs": [],
|
|
"provider": "gitlab"
|
|
}
|
|
},
|
|
"53506297367b": {
|
|
"name": "itemCommentDraft",
|
|
"ordinal": 3,
|
|
"value": ""
|
|
},
|
|
"6f50ec77f02f": {
|
|
"name": "itemCommentDraft",
|
|
"ordinal": 15,
|
|
"value": ""
|
|
},
|
|
"779d1b9a2edb": {
|
|
"name": "actionItem",
|
|
"ordinal": 6,
|
|
"value": {
|
|
"provider": "gitlab",
|
|
"source": {
|
|
"id": "gitlab:issue:4",
|
|
"labels": ["bug"],
|
|
"number": 4,
|
|
"projectRef": {
|
|
"host": "gitlab.com",
|
|
"path": "group/project"
|
|
},
|
|
"repoId": "repo-1",
|
|
"state": "opened",
|
|
"type": "issue"
|
|
},
|
|
"title": "A GitLab issue"
|
|
}
|
|
},
|
|
"886c60a7e62e": {
|
|
"name": "mutatingStatus",
|
|
"ordinal": 12,
|
|
"value": true
|
|
},
|
|
"9331fbfa07e4": {
|
|
"name": "itemCommentDraft",
|
|
"ordinal": 9,
|
|
"value": "a comment"
|
|
},
|
|
"ac15f5699a77": {
|
|
"name": "itemReviewersDraft",
|
|
"ordinal": 8,
|
|
"value": "octocat"
|
|
},
|
|
"ad33e328b827": {
|
|
"name": "gitlab.addIssueComment#1",
|
|
"ordinal": 13,
|
|
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"body\":\"a comment\",\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}"
|
|
},
|
|
"c650cf641414": {
|
|
"name": "itemReviewersDraft",
|
|
"ordinal": 4,
|
|
"value": ""
|
|
},
|
|
"cbae54d3d351": {
|
|
"name": "mutatingStatus",
|
|
"ordinal": 16,
|
|
"value": false
|
|
},
|
|
"cc2ece9478f0": {
|
|
"name": "actionItem",
|
|
"ordinal": 1,
|
|
"value": {
|
|
"$rpc": "null"
|
|
}
|
|
},
|
|
"d3b00d7291ae": {
|
|
"name": "gitlab.addIssueComment#1",
|
|
"ordinal": 11,
|
|
"args": [
|
|
{
|
|
"name": "method",
|
|
"value": "gitlab.addIssueComment"
|
|
},
|
|
{
|
|
"name": "params",
|
|
"value": {
|
|
"body": "a comment",
|
|
"number": 4,
|
|
"projectRef": {
|
|
"host": "gitlab.com",
|
|
"path": "group/project"
|
|
},
|
|
"repo": "id:repo-1"
|
|
}
|
|
},
|
|
{
|
|
"name": "options",
|
|
"value": {
|
|
"timeoutMs": 30000
|
|
}
|
|
}
|
|
],
|
|
"settlement": {
|
|
"status": "fulfilled",
|
|
"startedAt": 0,
|
|
"settledAt": 0,
|
|
"value": {
|
|
"id": "frame-1",
|
|
"ok": true,
|
|
"result": {
|
|
"comment": {
|
|
"author": "You",
|
|
"body": "a comment",
|
|
"createdAt": "2020-01-01T00:00:00.000Z",
|
|
"id": 904
|
|
},
|
|
"ok": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"eb79a9b3682a": {
|
|
"status": "fulfilled",
|
|
"startedAt": 0,
|
|
"settledAt": 0,
|
|
"value": {
|
|
"$rpc": "undefined"
|
|
}
|
|
},
|
|
"eda130337c99": {
|
|
"name": "detailPayload",
|
|
"ordinal": 2,
|
|
"value": {
|
|
"$rpc": "null"
|
|
}
|
|
}
|
|
},
|
|
"recording": {
|
|
"scenario": "tk-item-comment-gitlab",
|
|
"checkpoints": [
|
|
{
|
|
"id": "comment-settled",
|
|
"observation": {
|
|
"sender": ["d3b00d7291ae"],
|
|
"payloads": ["ad33e328b827"],
|
|
"settlements": {
|
|
"mount": "eb79a9b3682a",
|
|
"comment-0": "eb79a9b3682a"
|
|
},
|
|
"state": "17b97af91ff8",
|
|
"effects": [
|
|
"cc2ece9478f0",
|
|
"eda130337c99",
|
|
"53506297367b",
|
|
"c650cf641414",
|
|
"4031bf455f49",
|
|
"779d1b9a2edb",
|
|
"474412c229f4",
|
|
"ac15f5699a77",
|
|
"9331fbfa07e4",
|
|
"3aefb3006914",
|
|
"886c60a7e62e",
|
|
"02b5df9521e8",
|
|
"6f50ec77f02f",
|
|
"cbae54d3d351"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|