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

link to narrow opens in browser, no way to open it in app #556

Closed
1 of 3 tasks
glyph opened this issue Sep 4, 2018 · 14 comments
Closed
1 of 3 tasks

link to narrow opens in browser, no way to open it in app #556

glyph opened this issue Sep 4, 2018 · 14 comments

Comments

@glyph
Copy link

glyph commented Sep 4, 2018


  • Operating System:

    • Windows
    • Linux/Ubutnu
    • macOS
  • Clear steps to reproduce the issue:

  • I click on https://<mydomain>.zulipchat.com/login/#narrow/stream/<stream-id>-<stream>/subject/<topic>/near/<message-id>

  • It opens in my browser, which is not logged in to Zulip, because I use the app

  • There's nowhere for me to paste this link in the app, so I just search for some terms that might be in the message I'm looking for

@akashnimare
Copy link
Member

@glyph Can you reproduce this on https://chat.zulip.org ?

@akashnimare
Copy link
Member

BTW, I can't reproduce this on *.zulipchat.com server also. Make sure you're on the latest release i.e. v2.3.6.

@abhigyank
Copy link
Collaborator

@akashnimare I think glyph means that if someone sends this link to him, he cannot open this link in the app. He doesn't mean that clicking this link in app opens the browser.

@glyph
Copy link
Author

glyph commented Sep 5, 2018

@akashnimare I think glyph means that if someone sends this link to him, he cannot open this link in the app. He doesn't mean that clicking this link in app opens the browser.

Yep! That is exactly what I meant.

@glyph
Copy link
Author

glyph commented Sep 5, 2018

FWIW I am on v2.3.7-beta but this has been an issue for as long as I can remember.

@abhigyank
Copy link
Collaborator

@glyph @akashnimare I think if we implement #470, that'd directly solve this issue.
@glyph Till then a possible workaround is - in the app, send this link as a private message to yourself and then click on the link. This will then open the message. :)

@glyph
Copy link
Author

glyph commented Sep 7, 2018

@abhigyank Thanks, this workaround is really helpful! :)

@akashnimare
Copy link
Member

The workaround mentioned above is what we have been using so far.

I click on https://.zulipchat.com/login/#narrow/stream/-/subject//near/

@glyph so whenever someone sends you this kinda link you want to open them in the Zulip app, right? Do you know how other apps handle this?

@glyph
Copy link
Author

glyph commented Sep 8, 2018

@glyph so whenever someone sends you this kinda link you want to open them in the Zulip app, right? Do you know how other apps handle this?

on macOS,

  1. register a custom URL scheme, as specified in Enhancement: zulip:// URI Scheme for electron #470
  2. add a link to every page on *.zulipchat.com that says "open in app"

on iOS,

  1. use "universal links" https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html

@akashnimare
Copy link
Member

@glyph thanks for the detailed info. I'm merging this issue in the #470.

register a custom URL scheme, as specified in #470

Yeah, for the starting I think we could just register a protocol so that user can open the zulip app using zulip://open.

add a link to every page on *.zulipchat.com that says "open in app"

I think we don't have such links. Can you point me to those?

@glyph
Copy link
Author

glyph commented Sep 12, 2018

I think we don't have such links. Can you point me to those?

I just mean the login page that you’d get by visiting a link such as the one in the description needs a zulip:// link on it to make it easy for users to go from browser to app.

@hraftery
Copy link

Do you know how other apps handle this?

Trello has a "Paste URL & Go" menu option (together with a corresponding copy current URL and keyboard shortcuts) so you can navigate to a URL that you copy from somewhere. I used it heavily and it was a fine solution for me, but yeah a custom URL scheme is the gold standard.

The workaround is effective and only a bit cumbersome. Plus it kinda gives you a list of bookmarks as a side-effect! Great to have it.

But yeah, we pass around Zulip URLs a lot and it's frustrating that you can get them from the app but not put them.

@pranav-dubey-cl
Copy link

@glyph @akashnimare I think if we implement #470, that'd directly solve this issue. @glyph Till then a possible workaround is - in the app, send this link as a private message to yourself and then click on the link. This will then open the message. :)

instead of dm'ing (if it feels like spamming and if you are a person like me who used dm's to himself to store interesting articles todo's and bunch of other things.) Just paste in chat box and go to preview, click and voila.

@nomeata
Copy link

nomeata commented Jan 9, 2025

Related: #1219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants