-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Viewing /help page from within app is confusing #204
Comments
Confirmed that I'm still getting the "log in" button (as the only way to get out) when I click a user documentation link from within the app. On the web app the page also shows a "log in" button even when I'm logged in in another tab, but it's not as bad for navigation since it's in a separate tab. |
Good find. @akashnimare this is basically the same issue is the
Can you try that out? I believe that everything needed for the login process is in those URL domains, and unless I'm missing something, that's really the only thing other than the Zulip webapp experience itself that should be opened in-app. |
@timabbott so we need to open the |
Correct. But we'll we'll probably over time add many more pages to the Zulip documentation sites, so I think we actually want to have a whitelist for what doesn't get opened in the default browser. |
What about |
When you say "pictures are working fine/as expected", I assume you mean the lightbox UI works? That's great, but the lightbox UI doesn't navigate the main URL of the page; it just fetches the external files using JS/HTML within the Zulip web app. What we're discussing here is the main URL of the page changing through clicking on a link. |
@timabbott Maybe we should make a whitelist of open-in-browser urls, rather than a list of in-app urls. It's more consistent with the current behavior. We don't want to unexpectedly redirect (maybe a new url pattern) to browser as user clicks something. So, as far as I know, the whitelist should include |
Update: |
My concern is that we'll keep adding new landing page type content to the Zulip webapp that one might send a link to, and clicking that link in the app shouldn't open it. That list of URLs will change frequently with time. We do need to whitelist the login/user registration flow pages, or you won't be able to login :). But those are essentially all within a nice, consistent, URL namespace starting with The reason I was thinking a whitelist is that I think essentially nothing should open in-app other than direct navigation within the app and the process for logging into the app. |
@geeeeeeeeek we need |
@akashnimare Yup, what if we keep The only problem I found, is that when |
Yeah, the session problem is sorta a necessary evil. We may later move that page to be in-app to resolve that concern, but with the whitelist approach I suggested, that wouldn't require any changes to the desktop app. |
Fixed in zulip/zulip-electron@9e4e5e9. From now on, pages like /help, /stats, /api, /integrations etc would get open in the default browser. |
When I visited the /help page for keyboard shortcuts within the app, I thought I was trapped for a while and ended up getting out in a very non-intuitive way by clicking log in in the upper right hand corner of that chat page (even though I was already logged in).
Steps to reproduce:
?
to open the keyboard shortcuts help modalThe text was updated successfully, but these errors were encountered: