Skip to content

Conversation

mouton-rebelle
Copy link
Contributor

  • next and previous shortcut now toggle story
  • when a story is toggled, screen is scrolled
  • added b as a shortcut to open permalink to match Reeder shortcuts
  • permalink now targets _blank

- next and previous shortcut now toggle story
- when a story is toggled, screen is scrolled
- added b as a shortcut to open permalink to match Reeder shortcuts
- permalink now targets _blank
@mouton-rebelle
Copy link
Contributor Author

Really love this project, this pull request is just to match my personal taste / habit, don't hesitate to reject it :)
Thanks for this great work :)

Got to pack some OS detection for guessing ctrl/cmd key
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the thirteenth parameter of initMouseEvent sets meta key

@swanson
Copy link
Collaborator

swanson commented May 7, 2013

I am good with the first 3, need to mull over the _target=blank stuff. I like the new tab behavior, but am not sure about the approach with the meta/ctrl key stuff.

@swanson
Copy link
Collaborator

swanson commented May 7, 2013

I think I'd prefer to just use window.open() and let the user's browser settings determine if it is in a new tab.

@mouton-rebelle
Copy link
Contributor Author

The target blank on the link is not necessary, it can be remove. But there is no other way than the meta to open a link in background.

@swanson
Copy link
Collaborator

swanson commented May 7, 2013

Ah - so the open in the background part is the reason for the ctrl/meta. I'm okay with opening in the foreground in a new tab with _target=blank.

@gcapizzi
Copy link

gcapizzi commented May 7, 2013

+1 for the changes, -1 for the OS checks and Ctrl/Meta stuff, +1 for window.open().

Permalink has no target (html)
When key [b] or [v] is pressed, it opens in a new window (tab) in
foreground.
@mouton-rebelle
Copy link
Contributor Author

okay, followed your advice and removed the trick :)

will keep it for myself though, I feel the key shortcut is useless if you can't open in background. It's a matter of taste I guess, I like to go through my whole rss feeds, open a bunch of new tabs for stories that looks promising, and read them after.

@swanson
Copy link
Collaborator

swanson commented May 7, 2013

Thanks - will try to merge this tonight.

@swanson swanson merged commit 618968e into stringer-rss:master May 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants