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

Copy/pasting links to messages #898

Open
neiljp opened this issue Jan 28, 2021 · 2 comments
Open

Copy/pasting links to messages #898

neiljp opened this issue Jan 28, 2021 · 2 comments
Labels
further discussion required Discuss this on #zulip-terminal on chat.zulip.org 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 Jan 28, 2021

While autocomplete does handle #stream and (eventually) #stream>topic name, it would be useful to have ZT be able to copy a link to a selected message both optionally more specifically (id) and perhaps in different formats.

This could be of benefit both for:

  • moving from a message context in a ZT session to a web-browser case (URL), including indirect cases such as sending a link out-of-band via eg email or pasting a link into markdown in a PR/issue (ie. outside the remit of [WIP] Add support for viewing a message in the web browser #698)
  • referring to messages better internally to ZT, ie. providing an easier way to guarantee a cross-reference is good by reading one topic, copylinking it, then composing in another location with a pastelink. Autocomplete only goes so far - where was that topic?!

The form of such a link could be:

  • pm or pm+near (of no use outside of other PMs - we could warn this?)
  • stream+topic or stream+topic+near

These URLs are managed by the server and already interpreted by ZT as usable jumping/narrowing opportunities (PMs will be soon).

One challenge is how to determine/specify the style/format:

  • include 'near' or not? (ie. specific message or not?)
  • internal link format (#stream>topic name - no near available?) vs simple absolute URL vs combined (eg. markdown)
@neiljp neiljp added enhancement New feature or request further discussion required Discuss this on #zulip-terminal on chat.zulip.org labels Jan 28, 2021
@mkp6781
Copy link
Contributor

mkp6781 commented Mar 29, 2021

I would like to work on this issue.

@zee-bit
Copy link
Member

zee-bit commented Mar 29, 2021

@mkp6781 Thanks for your interest in this issue, but I have already been discussing/working on this for a while now. I have been meaning to add a reliable copy-paste mechanism for ZT in #880 (currently only for stream-email but could be easily extended for MessageLinks as well). I didn't claim this issue, since some discussion is likely pending, plus, the copy/paste mechanism is not finalized, since #880 is not merged yet.

Here are some of the recent discussion revolving around this issue on CZO, if you want to have a read or an opinion that you want to share:

@neiljp neiljp added missing feature: user A missing feature for all users, present in another Zulip client help wanted This issue should be clear enough to work on and removed enhancement New feature or request labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
further discussion required Discuss this on #zulip-terminal on chat.zulip.org 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