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

Direct link to content in left pane #9

Open
captn3m0 opened this issue Jun 8, 2012 · 2 comments
Open

Direct link to content in left pane #9

captn3m0 opened this issue Jun 8, 2012 · 2 comments
Labels

Comments

@captn3m0
Copy link

captn3m0 commented Jun 8, 2012

The older (single pane) version of hnmobile used to open links by default. And it offered a second link to the comments. I'd like that sort of behavior in the new version.

Possible ideas:

  1. Same as previous version. Title links to content. "n comments" links to comments
  2. Create a small url icon/text which links to the content.
  3. Offer a forced way to visit the iphone version

Opening the comments first feels weird, because as a reader I have no context for the comments.

@cheeaun
Copy link
Owner

cheeaun commented Jun 9, 2012

One question, do you open the links in a new tab or just load it in the current tab, when using the single-pane hnmobile (on iPad)?

@captn3m0
Copy link
Author

captn3m0 commented Jun 9, 2012

Usually both, since the safari cache was good enough not to cause a refresh on the back button.

But in most cases, I'd open it on a new tab. If you know someone else who uses this on ipad, please ask there opinions as well.

If it is implemented as a normal link (<a href="http://external/">), it would respond to a long hold, and would give me an option to open in new tab. You could still intercept a touch event to open it in the side window.

You know what would be awesome? Using either two-finger touch/swipe for the third action. The following would be my preferences

a) View comments in right pane - tap
b) Open link in new tab - tap
c) Open link in right pane - swipe/two finger touch

This way, if I click on a link, I shift to the content, and on closing that, I reach the comments, which I can read in context now. In the rare case I want to open it in right pane, I have a fallback as well.

Sorry for giving such a long answer when you asked a simple question. I'd be willing to work on this (a/b/c).

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

No branches or pull requests

2 participants