Files
photocraft/tests/interactions/guide-edit/undo-does-not-revive-draft.json
a3ea9a4277 Guides: integrate edit-session previews and interaction-check scenarios (#9190)
* 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>
2026-11-05 14:50:22 +01:00

73 lines
1.1 KiB
JSON

{
"schema": 1,
"name": "undo-does-not-revive-draft",
"steps": [
{
"event": {
"op": "begin"
},
"expect": {
"editing": true,
"vertical": [
10,
20
],
"history": 2,
"editCommands": 0,
"preview": {
"vertical": [
10,
20
]
}
}
},
{
"event": {
"op": "command",
"id": "view.moveGuide",
"params": {
"orientation": "vertical",
"index": 0,
"position": 15
}
},
"expect": {
"vertical": [
15,
20
],
"preview": null
}
},
{
"event": {
"op": "undo"
},
"expect": {
"vertical": [
10,
20
],
"redo": true,
"preview": null
}
},
{
"event": {
"op": "confirm"
},
"expect": {
"rejected": true,
"vertical": [
10,
20
],
"redo": true,
"history": 2,
"editCommands": 0
}
}
]
}