Skip to content
This repository was archived by the owner on Jul 27, 2018. It is now read-only.

navigate through the awesomebar with keys - #230

Merged
Gozala merged 2 commits into
browserhtml:masterfrom
paulrouget:awesomebarKeys
Mar 12, 2015
Merged

Gozala merged 2 commits into
browserhtml:masterfrom
paulrouget:awesomebarKeys

Conversation

@paulrouget

Copy link
Copy Markdown
Contributor

Fix #225

@paulrouget

Copy link
Copy Markdown
Contributor Author

@Gozala r?

Comment thread src/browser/awesomebar.js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: You can call .map() on Immutable list, no need to transform to JSON.

@Gozala

Gozala commented Mar 12, 2015

Copy link
Copy Markdown
Contributor

As a general note, you are abusing fromJS in most cases you don't actually need it. Also use of Immutable (Map, List, Set) constructors tends to be faster.

@Gozala

Gozala commented Mar 12, 2015

Copy link
Copy Markdown
Contributor

Overall this looks alright, but I would very much like to leverage existing KeyBindings for defining keybindings as it has more declarative interface and + all issues will be scoped in single location. I do realise that may require some changes to KeyBindings code to support that default case that you have.

That being said I don't mind doing it as a followup pull.

Gozala added a commit that referenced this pull request Mar 12, 2015
navigate through the awesomebar with keys
@Gozala
Gozala merged commit da1757c into browserhtml:master Mar 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for "arrow down" to awesomebar results

2 participants