Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Copy Item" functionality #506

Open
alexsb opened this issue Nov 5, 2021 · 3 comments
Open

Add "Copy Item" functionality #506

alexsb opened this issue Nov 5, 2021 · 3 comments
Assignees
Labels
status: help wanted Extra attention is needed type: feature New feature or request

Comments

@alexsb
Copy link
Contributor

alexsb commented Nov 5, 2021

We want to be able to copy items; ideally if you copy an item or multiple items you get a table into your clipboard with all visible column labels and the items/columns that are currently selected.

This should probably be in a table-compatible format, so that the result would be similar to when I copy from a google sheet.

There could be a global "copy" button, or there could also be an item-specific copy-button, e.g., next to the selection column.

This should also be hooked up to shortcuts (Cmd/Ctrl & C), and expose this to wrapping applications.

@thinkh thinkh added priority: high fix it or we are all doomed type: feature New feature or request and removed priority: high fix it or we are all doomed labels Nov 16, 2021
@sgratzl
Copy link
Member

sgratzl commented Nov 19, 2021

notes:

lineup has the feature to export the ranking as CSV (https://github.com/lineupjs/lineupjs/blob/main/src/provider/utils.ts#L336). This would be an extension / subset of it by only converting a subset of the rows (e.g. selected row, selected rows, ...) and using the https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API to copy it into the clipboard

@sgratzl
Copy link
Member

sgratzl commented Dec 23, 2021

see also #510 which adds ctrl-c, ctrl-v for selected rows

@sgratzl sgratzl added the status: help wanted Extra attention is needed label Dec 23, 2021
@sgratzl
Copy link
Member

sgratzl commented Aug 10, 2022

didn't #510 fixes this issues?

@sgratzl sgratzl self-assigned this Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted Extra attention is needed type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants