Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Copy & Paste: Within the Same Map (using key combinations) #1321

Open
10 tasks
andreicristian97 opened this issue Apr 21, 2024 · 1 comment
Open
10 tasks

Copy & Paste: Within the Same Map (using key combinations) #1321

andreicristian97 opened this issue Apr 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request frontend changes in Typescript code

Comments

@andreicristian97
Copy link
Contributor

andreicristian97 commented Apr 21, 2024

Use Case: Copy & Paste

The user can copy and paste a selection of elements, including succeeding crops, within one map.

Steps/ sub-tasks:

  • CTRL-C copies current selection
  • CTRL-V pastes copied selection at the user's last click
  • If after copying the user did not click anywhere else, the selection is pasted with an offset
  • Multiple "paste"s are inserted with offset to one another
  • If other elements are selected in the meanwhile, the paste is done with an offset to the new selection
  • Trying to paste into the wrong layer raises a warning.
  • CTRL-C with no selection has no result
  • After successful copy of selection, CTRL-C with no selected elements does not reset what was copied
  • "Undo" functionality can revert the pasting
  • The data movement should be done using the browser's local storage and be persisted only within a user session.

Task linking

Tasks following this one:

Link to documentation:

@markus2330
Copy link
Contributor

Thx for creating the issue! ❤️

including succeeding crops

probably should be in extra issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request frontend changes in Typescript code
Projects
Status: Current Sprint
Development

No branches or pull requests

2 participants