{"action":"created","issue":{"url":"https://api.github.com/repos/akhodakivskiy/VimFx/issues/340","repository_url":"https://api.github.com/repos/akhodakivskiy/VimFx","labels_url":"https://api.github.com/repos/akhodakivskiy/VimFx/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/akhodakivskiy/VimFx/issues/340/comments","events_url":"https://api.github.com/repos/akhodakivskiy/VimFx/issues/340/events","html_url":"https://github.com/akhodakivskiy/VimFx/issues/340","id":35435079,"number":340,"title":"Alt hints mode","user":{"login":"akhodakivskiy","id":145806,"avatar_url":"https://avatars.githubusercontent.com/u/145806?v=3","gravatar_id":"","url":"https://api.github.com/users/akhodakivskiy","html_url":"https://github.com/akhodakivskiy","followers_url":"https://api.github.com/users/akhodakivskiy/followers","following_url":"https://api.github.com/users/akhodakivskiy/following{/other_user}","gists_url":"https://api.github.com/users/akhodakivskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/akhodakivskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhodakivskiy/subscriptions","organizations_url":"https://api.github.com/users/akhodakivskiy/orgs","repos_url":"https://api.github.com/users/akhodakivskiy/repos","events_url":"https://api.github.com/users/akhodakivskiy/events{/privacy}","received_events_url":"https://api.github.com/users/akhodakivskiy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akhodakivskiy/VimFx/labels/feature","name":"feature","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2014-06-10T23:05:07Z","updated_at":"2016-07-02T09:46:34Z","closed_at":"2015-06-21T01:44:56Z","body":"https://addons.mozilla.org/en-US/firefox/addon/vimfx/reviews/596434/\r\n\r\nThe reviewer [outrun](https://addons.mozilla.org/en-US/firefox/user/outrun/) suggested to introduce alternative hints mode with the following workflow:\r\n1. User enters the hints mode by invoking associated command (let's say `af` - for alt `f`)\r\n2. All the links on the page are highlighted with the markers consisting of numbers exclusively (0-9).\r\n3. The user can now filter the matching links by typing any text. As she types only the links that contain matching text remain highlighted.\r\n4. The user enter numeric hint to follow particular link.\r\n5. The users can press Esc to leave this mode without following any links."},"comment":{"url":"https://api.github.com/repos/akhodakivskiy/VimFx/issues/comments/230093464","html_url":"https://github.com/akhodakivskiy/VimFx/issues/340#issuecomment-230093464","issue_url":"https://api.github.com/repos/akhodakivskiy/VimFx/issues/340","id":230093464,"user":{"login":"e12e","id":2778116,"avatar_url":"https://avatars.githubusercontent.com/u/2778116?v=3","gravatar_id":"","url":"https://api.github.com/users/e12e","html_url":"https://github.com/e12e","followers_url":"https://api.github.com/users/e12e/followers","following_url":"https://api.github.com/users/e12e/following{/other_user}","gists_url":"https://api.github.com/users/e12e/gists{/gist_id}","starred_url":"https://api.github.com/users/e12e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e12e/subscriptions","organizations_url":"https://api.github.com/users/e12e/orgs","repos_url":"https://api.github.com/users/e12e/repos","events_url":"https://api.github.com/users/e12e/events{/privacy}","received_events_url":"https://api.github.com/users/e12e/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T09:46:34Z","updated_at":"2016-07-02T09:46:34Z","body":"Re: config - ok. (I'll ping you if I can't resist the urge to experiment with that anyway - but I understand the reasoning for why it'll probably not get included in VimFX proper. There's of course an obvious need to port [vimp-plug](https://github.com/junegunn/vim-plug) to VimFX to manage config-snippets and ex commands ;-) ).\r\n\r\nRe: ordering/hints. Looks like there might be room for a couple of experimental feature branches, I'll focus on \"vimperator style hinting\" first.\r\n\r\nI suppose there's some new ground to break in keyboard-based browsing (in the sense that there aren't that many implementations that have seen actual use on the current, html5/js-rich web)- and size/visibility certainly sounds like one reasonable approach. As mentioned, I don't think optimizing for any one site is a good idea, so it might well be that what VimFX does for \"vimfx hinting\" is quite good enough.\r\n\r\nNote-to-self: Actually, as Firefox allows focusing elements via tab, we should probably be able to get \"best\" order from FF. Looks like for now it's: document order, higher tabindex-first, (eg: all tabindex=2 elements, in document order, followed by all tabindex=1 in document order, followed by other \"unordered\" items with tabindex=0 in order. Followed by some(?) tab-able elements in document order, but not those with tabindex=-1). Perhaps the \"best\" we can do for now is follow tabindex \"rules\":\r\n\r\nhttp://www.alexlande.com/articles/cross-browser-tabindex-woes/\r\nhttp://accessites.org/site/2007/05/keyboard-friendly-link-focus/\r\n\r\nNote-to-self II: firefox has a built-in shortcut for quick-find link text only, default bound to single-quote: '. It might be possible to leverage for \"vimperator style hinting\" if it's backed by an api that allows for incremental search (This is what VimFX exposes as \"g/\" ?).\r\n\r\n>> i) G is re-used - there's no way to get at the second \"comments\" link (this is probably a bug in VimFX?)\r\n> Remind me when you get that screen shot up and I'll take a look at it.\r\n\r\nYou probably saw it, but the images should be accessible now. But given a brief reading of the links you provided, it might not be bugs after all, could simply be a case of \"Another way to make hints shorter is to assign the same hint to all links with the same URL. So don’t be surprised if you see the same hint repeated several times.\" It's not something I feel the need to file a proper bug on for now, anyway - if it really is one, I'm sure to encounter it again on HN, and if so I'll open a (separate) issue."}}
{"actor":{"display_login":"e12e"}}