tldraw/apps/examples/e2e/tests
Steve Ruiz b6ebe1e274
[improvement] quick actions (#1922)
This PR:

- improves the quick actions bar, enabling undo / redo actions when the
eraser is selected.
- for actions that effect selected shapes, calling the action when the
select tool is not selected will select the select tool and run the
action
- actions that effect selected shapes are hidden from the menu when the
select tool is not selected

### Change Type

- [x] `major`

### Test Plan

1. Select the eraser tool, the undo / redo buttons should still be
there.

1. Select two shapes
2. Select the draw tool
3. The menu should not display most options, e.g. cut or paste, but
should display undo / redo
4. Press Shift+H
5. The shapes should not move, but the select tool should be selected
again

### Release Notes

- Improve the menu / kbds behavior when select tool is not active
2023-09-19 15:33:39 +00:00
..
export-snapshots.spec.ts-snapshots ShapeUtil.getGeometry, selection rewrite (#1751) 2023-07-25 16:10:15 +00:00
export-snapshots.spec.ts ShapeUtil.getGeometry, selection rewrite (#1751) 2023-07-25 16:10:15 +00:00
test-camera.spec.ts Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
test-canvas-events.spec.ts ShapeUtil.getGeometry, selection rewrite (#1751) 2023-07-25 16:10:15 +00:00
test-clipboard.spec.ts Rename shapes apis (#1787) 2023-08-02 18:12:25 +00:00
test-focus.spec.ts More cleanup, focus bug fixes (#1749) 2023-07-19 10:52:21 +00:00
test-kbds.spec.ts [improvement] quick actions (#1922) 2023-09-19 15:33:39 +00:00
test-routes.spec.ts Add snapshot prop, examples (#1856) 2023-09-08 14:48:55 +00:00
test-shapes.spec.ts [improvement] quick actions (#1922) 2023-09-19 15:33:39 +00:00
test-smoke.spec.ts rename app to editor (#1503) 2023-06-02 15:21:45 +00:00
test-text.spec.ts rename app to editor (#1503) 2023-06-02 15:21:45 +00:00