Christopher Allen
b0b685a739
refactor(shortcuts): Factor copy-eligibility out of cut/copy preconditionFn ( #9102 )
...
* refactor(shortcuts): Rename import isDeletable -> isIDeletable etc.
Some of the existing code is confusing to read because e.g.
isDeletable doesn't check if an item .isDeletable(), but only
whether it is an IDeletable.
By renaming these imports the shortcut precondition functions are
easier to understand, and allows a subsequent to commit to add
an isCopyable function that actually checks copyability.
* refactor(shortcuts): Introduce isCopyable
Create a function, isCopyable, that encapsulates the criteria we
currently use to determine whether an item can be copied.
This facilitate future modification of the copyability criteria
(but is not intended to modify them at all at the present time).
* chore(shortcuts): Add TODO re: copying shadow blocks
2025-05-28 17:16:02 +01:00
..
2025-05-09 08:16:14 -07:00
2025-05-09 08:16:14 -07:00
2025-05-20 11:58:05 -07:00
2025-05-05 10:29:20 -07:00
2025-05-13 14:30:28 -07:00
2025-05-20 08:52:18 -07:00
2025-01-06 10:52:02 -08:00
2025-05-14 10:46:22 -07:00
2025-05-28 08:16:54 -07:00
2025-05-13 14:37:58 -07:00
2025-01-06 11:30:22 -08:00
2023-08-31 00:24:47 +01:00
2025-05-09 08:16:14 -07:00
2025-05-14 15:45:02 -07:00
2023-03-16 17:15:51 +01:00
2025-02-12 13:16:35 -08:00
2025-05-07 08:47:52 -07:00
2025-05-20 11:58:05 -07:00
2025-05-13 14:30:28 -07:00
2024-08-15 03:16:14 +01:00
2025-05-13 15:04:49 -07:00
2023-08-31 00:24:47 +01:00
2024-08-14 09:10:34 -07:00
2024-08-15 03:16:14 +01:00
2024-08-20 19:50:29 +01:00
2025-05-07 08:47:52 -07:00
2025-01-10 10:53:09 -08:00
2024-08-15 03:16:14 +01:00
2025-05-27 11:57:58 -07:00
2024-12-02 11:33:05 -08:00
2024-03-28 15:39:48 -07:00
2024-03-15 00:03:55 +01:00
2023-08-31 00:24:47 +01:00
2023-08-31 00:24:47 +01:00
2025-05-08 12:47:39 -07:00
2024-04-17 19:47:51 -07:00
2025-05-09 08:16:14 -07:00
2025-05-09 16:20:36 -07:00
2025-05-09 08:16:14 -07:00
2025-05-27 16:43:27 -07:00
2024-08-15 03:16:14 +01:00
2025-04-30 15:54:21 -07:00
2024-03-29 21:00:56 +00:00
2024-08-15 03:16:14 +01:00
2025-05-27 11:57:58 -07:00
2025-02-27 14:00:40 -08:00
2025-05-13 15:04:49 -07:00
2025-05-14 14:50:23 -07:00
2025-05-16 10:58:56 -07:00
2025-05-14 15:35:07 -07:00
2023-08-31 00:24:47 +01:00
2025-05-13 15:04:49 -07:00
2025-05-13 15:04:49 -07:00
2024-05-10 14:14:50 -07:00
2025-05-13 15:04:49 -07:00
2025-05-13 14:26:00 -07:00
2025-05-13 15:04:49 -07:00
2025-05-13 15:04:49 -07:00
2025-05-13 15:04:49 -07:00
2025-01-09 14:31:51 -08:00
2025-05-13 15:04:49 -07:00
2024-12-02 11:33:05 -08:00
2025-05-13 15:04:49 -07:00
2025-05-13 15:04:49 -07:00
2025-01-09 14:31:51 -08:00
2025-05-22 09:40:32 -07:00
2024-12-04 12:06:12 -08:00
2025-05-05 10:29:20 -07:00
2024-12-04 12:06:12 -08:00
2024-08-15 03:16:14 +01:00
2025-05-27 11:57:58 -07:00
2024-08-15 03:16:14 +01:00
2024-08-15 03:16:14 +01:00
2024-04-04 15:58:24 -07:00
2025-05-07 08:47:52 -07:00
2025-05-13 14:37:58 -07:00
2024-07-09 15:25:20 -07:00
2024-01-23 08:48:08 -08:00
2025-05-07 09:28:51 -07:00
2025-02-27 14:00:40 -08:00
2025-04-14 13:56:46 -07:00
2025-04-11 15:10:05 -07:00
2025-01-06 10:53:45 -08:00
2023-08-31 00:24:47 +01:00
2024-12-04 12:15:19 -08:00
2025-05-20 08:52:18 -07:00
2024-08-15 03:16:14 +01:00
2024-12-02 11:33:05 -08:00
2023-08-31 00:24:47 +01:00
2025-01-08 11:50:18 -08:00
2025-04-03 12:15:17 -07:00
2024-08-15 03:16:14 +01:00
2025-05-13 15:04:49 -07:00
2024-12-02 11:33:05 -08:00
2023-08-31 00:24:47 +01:00
2025-05-07 08:47:52 -07:00
2024-08-15 03:16:14 +01:00
2025-05-28 17:16:02 +01:00
2025-05-09 16:20:36 -07:00
2023-02-06 10:08:55 -08:00
2024-12-02 11:33:05 -08:00
2023-08-31 00:24:47 +01:00
2025-04-21 15:32:45 -07:00
2024-08-14 09:10:34 -07:00
2023-08-31 00:24:47 +01:00
2025-05-03 02:00:27 +01:00
2023-08-31 00:24:47 +01:00
2025-05-12 10:29:53 -07:00
2024-12-04 12:15:19 -08:00
2025-05-02 17:47:11 +01:00
2025-05-02 17:47:11 +01:00
2025-05-27 11:57:58 -07:00
2024-12-02 11:33:05 -08:00
2025-05-09 08:16:14 -07:00
2025-05-14 10:46:22 -07:00
2025-05-12 10:29:53 -07:00
2025-05-02 17:47:11 +01:00
2024-08-20 08:36:33 +01:00