mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-07 12:13:10 +00:00
* feat(ui): integrate edit-session guide drafts and interaction-check scenarios * fix(ui): repaint guide previews after automation field changes * fix(guides): retain drafts after command refusal * Restore the upstream Git-source check and keep guide replay local * Document pending source approval and shared replay workflow * Clarify that shared CI support for guide replays is pending * Vendor the guide edit dependency for source review Keep the edit-session revision and runtime behavior. Track its source, licenses, checksums and lifecycle tests in-tree in response to the source review in #9190. Apply the workspace lint policy to the standalone crate. * Move edit-session into ui-egui as a module (drop vendor/) The edit-session code now lives in crates/ui-egui/src/edit_session.rs, with its tests in edit_session/tests.rs, following the project's module layout. This removes vendor/edit-session, the path dependency, the workspace member, the NOTICE entry and the xtask layers entry. --------- Co-authored-by: Anton Pepperok <perchneko.anton@gmail.com> Co-authored-by: Perchenko Anton <perchenkoanton@iMac-Perchenko.local> Co-authored-by: FredApps <FredApps@users.noreply.github.com>
68 lines
1.0 KiB
JSON
68 lines
1.0 KiB
JSON
{
|
|
"schema": 1,
|
|
"name": "another-document",
|
|
"steps": [
|
|
{
|
|
"event": {
|
|
"op": "begin"
|
|
},
|
|
"expect": {
|
|
"editing": true,
|
|
"vertical": [
|
|
10,
|
|
20
|
|
],
|
|
"history": 2,
|
|
"editCommands": 0,
|
|
"preview": {
|
|
"vertical": [
|
|
10,
|
|
20
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"event": {
|
|
"op": "set",
|
|
"field": "position",
|
|
"value": "30 px"
|
|
},
|
|
"expect": {
|
|
"preview": {
|
|
"vertical": [
|
|
30,
|
|
20
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"event": {
|
|
"op": "other_document"
|
|
},
|
|
"expect": {
|
|
"vertical": [
|
|
10
|
|
],
|
|
"preview": null,
|
|
"invalid": true
|
|
}
|
|
},
|
|
{
|
|
"event": {
|
|
"op": "confirm"
|
|
},
|
|
"expect": {
|
|
"rejected": true,
|
|
"vertical": [
|
|
10
|
|
],
|
|
"history": 1,
|
|
"editCommands": 0,
|
|
"editing": false
|
|
}
|
|
}
|
|
]
|
|
}
|