-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Keyboard Shortcuts Plugin #734
Conversation
roshancvp
commented
Aug 24, 2016
- Trying to add a keyboard shortcuts plugin that auto updates as more shortcuts are added
- See Create a Help:Keyboard Shortcuts menu item that opens a view of all the shortcuts #695
I take it that this is still a work in progress? |
@ellisonbg Ah yes. The previous PR had some merge conflicts I couldn't resolve. |
One comment, let's make a subclass of class KeyboardShortcutViewer extends Widget {
...
} And then put all of the virtual DOM stuff in there. |
The benefit of making it a widget subclass is that you can encapsulate state. For example, the keybindings may change at runtime in the future, once we make a keybinding editor plugin. You'll want this plugin to re-render itself whenever that happens. So, your widget should connect to the |
Hi @roshancvp !!! To help simplify the patterns of working with the virtual DOM APIS, we have created a new https://github.com/jupyter/jupyterlab/blob/master/tutorial/virtualdom.md Could you update this PR to use these classes? Please let me know if you have any questions! |
@roshancvp Mind if I pick up on where this left off? |
Any word on this @roshancvp, @charnpreetsingh? |
Closing this one since it will require a fresh start when implemented. |