mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
* perf(files): page large folders on the phone instead of reading them whole * fix(files): page from hasMore, refresh closed folders, retry a superseded Show more * fix(files): rerun a refresh that paging displaced, and keep an old host's whole folder from duplicating rows * test(mobile): re-record the Files matrix goldens for paged reads * test(files): type the paging fake host's params without widening * fix(files): filter folder reads that land after the folder closes
161 lines
3.5 KiB
JSON
161 lines
3.5 KiB
JSON
{
|
|
"goldenFormatVersion": 6,
|
|
"operation": "files.explorer-screen",
|
|
"family": "files.explorer-screen",
|
|
"namedDeltas": [],
|
|
"values": {
|
|
"34bd55d6f194": {
|
|
"name": "files.readDir#1",
|
|
"ordinal": 2,
|
|
"json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\",\"limit\":500}}"
|
|
},
|
|
"9f1a5ca359ab": {
|
|
"crash": {
|
|
"$rpc": "null"
|
|
},
|
|
"elements": {
|
|
"ChevronLeft": 1,
|
|
"Defs": 1,
|
|
"FlatList": 1,
|
|
"LinearGradient": 1,
|
|
"Pressable": 1,
|
|
"Rect": 1,
|
|
"SafeAreaView": 1,
|
|
"Search": 1,
|
|
"Stop": 2,
|
|
"Svg": 1,
|
|
"Text": 2,
|
|
"TextInput": 1,
|
|
"View": 11
|
|
},
|
|
"labels": ["Back to session", "Filter files"],
|
|
"rows": ["dir:src", "file:README.md"],
|
|
"text": ["Files", "orca-files"]
|
|
},
|
|
"c60ce6016166": {
|
|
"name": "files.readDir#1",
|
|
"ordinal": 1,
|
|
"args": [
|
|
{
|
|
"name": "method",
|
|
"value": "files.readDir"
|
|
},
|
|
{
|
|
"name": "params",
|
|
"value": {
|
|
"limit": 500,
|
|
"relativePath": "",
|
|
"worktree": "id:wt-files"
|
|
}
|
|
},
|
|
{
|
|
"name": "options",
|
|
"value": {
|
|
"failWhenDisconnected": true
|
|
}
|
|
}
|
|
],
|
|
"settlement": {
|
|
"status": "fulfilled",
|
|
"startedAt": 0,
|
|
"settledAt": 0,
|
|
"value": {
|
|
"id": "frame-1",
|
|
"ok": true,
|
|
"result": [
|
|
{
|
|
"isDirectory": true,
|
|
"name": "src"
|
|
},
|
|
{
|
|
"isDirectory": false,
|
|
"name": "README.md"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"c721e7f4a5c5": {
|
|
"crash": {
|
|
"$rpc": "null"
|
|
},
|
|
"elements": {
|
|
"ActivityIndicator": 1,
|
|
"ChevronLeft": 1,
|
|
"Pressable": 1,
|
|
"SafeAreaView": 1,
|
|
"Text": 3,
|
|
"View": 7
|
|
},
|
|
"labels": ["Back to session"],
|
|
"rows": [],
|
|
"text": ["Files", "orca-files", "Loading files…"]
|
|
},
|
|
"ca13345ac236": {
|
|
"name": "files.readDir#1",
|
|
"ordinal": 1,
|
|
"args": [
|
|
{
|
|
"name": "method",
|
|
"value": "files.readDir"
|
|
},
|
|
{
|
|
"name": "params",
|
|
"value": {
|
|
"limit": 500,
|
|
"relativePath": "",
|
|
"worktree": "id:wt-files"
|
|
}
|
|
},
|
|
{
|
|
"name": "options",
|
|
"value": {
|
|
"failWhenDisconnected": true
|
|
}
|
|
}
|
|
],
|
|
"settlement": {
|
|
"status": "pending",
|
|
"startedAt": 0
|
|
}
|
|
},
|
|
"eb79a9b3682a": {
|
|
"status": "fulfilled",
|
|
"startedAt": 0,
|
|
"settledAt": 0,
|
|
"value": {
|
|
"$rpc": "undefined"
|
|
}
|
|
}
|
|
},
|
|
"recording": {
|
|
"scenario": "files-explorer-readdir",
|
|
"checkpoints": [
|
|
{
|
|
"id": "loading",
|
|
"observation": {
|
|
"sender": ["ca13345ac236"],
|
|
"payloads": ["34bd55d6f194"],
|
|
"settlements": {
|
|
"mount": "eb79a9b3682a"
|
|
},
|
|
"state": "c721e7f4a5c5",
|
|
"effects": []
|
|
}
|
|
},
|
|
{
|
|
"id": "listed",
|
|
"observation": {
|
|
"sender": ["c60ce6016166"],
|
|
"payloads": ["34bd55d6f194"],
|
|
"settlements": {
|
|
"mount": "eb79a9b3682a"
|
|
},
|
|
"state": "9f1a5ca359ab",
|
|
"effects": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|