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

Message content copy[/paste] #546

Open
neiljp opened this issue Mar 17, 2020 · 5 comments
Open

Message content copy[/paste] #546

neiljp opened this issue Mar 17, 2020 · 5 comments
Labels
GSoC Possible GSoC project component help wanted This issue should be clear enough to work on missing feature: user A missing feature for all users, present in another Zulip client

Comments

@neiljp
Copy link
Collaborator

neiljp commented Mar 17, 2020

At least within my terminal, copying a message using terminal selection does not work across multiple lines, as it also selects text in one or both of the side bars.

While we could work around this temporarily using autohide, it would be useful to be able to copy selected message(s) independently of how the UI is set up.

This could be for quoting in another stream, or external to ZT.

A feature like this has also been discussed for the webapp, so there may be reference on chat.zulip.org to this, particularly with respect to copying multiple messages (which could be a followup)

This is sort of a UI 'export', so we may want to explore different targets/formats, to include at least some kind of internal message buffer/reference and the native copy/paste buffer.

@neiljp neiljp added the enhancement New feature or request label Mar 17, 2020
@neiljp
Copy link
Collaborator Author

neiljp commented Mar 17, 2020

This also has potential connection/usage-with #352

@neiljp neiljp added the further discussion required Discuss this on #zulip-terminal on chat.zulip.org label Mar 21, 2020
@neiljp
Copy link
Collaborator Author

neiljp commented Jan 28, 2021

This could be related to #543 (view/scrolling of single messages).

@neiljp neiljp changed the title Message copy[/paste] Message content copy[/paste] Jan 28, 2021
@Ezio-Sarthak
Copy link
Member

I've initiated my work on #543 in #874 days back, and I'm thinking to dig into it now and put forward an iteration.
Since I am proposing to show the raw message content in that view, I could add a hotkey to copy message text to the clipboard in that tab, as a later iteration and a separate commit.

@neiljp neiljp added missing feature: user A missing feature for all users, present in another Zulip client and removed enhancement New feature or request labels Apr 5, 2021
@neiljp
Copy link
Collaborator Author

neiljp commented Apr 11, 2022

We have a copy (clipboard) hook partially set up for the stream emails, so this seems more achievable now.

Given we now have rendered and raw views (popups), we could support copying from each of those, depending if a user wants the raw or rendered text? A user would then be on a message and use i->r/f->c or similar.

@neiljp neiljp added help wanted This issue should be clear enough to work on GSoC Possible GSoC project component and removed further discussion required Discuss this on #zulip-terminal on chat.zulip.org labels Apr 11, 2022
@plugyawn
Copy link
Collaborator

@neiljp Looks interesting! Want to check it out as soon as possible. Can I take this up in the coming weeks, post some discussion?

Sushmey added a commit to Sushmey/zulip-terminal that referenced this issue Mar 30, 2023
Adding a key to copy message content which can be then pasted. Implemented using preexisting `copy_to_clipboard` function

Fixes zulip#546
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GSoC Possible GSoC project component help wanted This issue should be clear enough to work on missing feature: user A missing feature for all users, present in another Zulip client
Projects
None yet
Development

No branches or pull requests

3 participants