-
Notifications
You must be signed in to change notification settings - Fork 5.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
question about extension-defined actions #3549
Comments
It is a reasonable thing to do, and other people have run into the same roadblock (#2954). It's waiting for someone to dig in and figure out a fix. Maybe a way to register shortcuts without checking their names, and then trigger a check of all names after extensions have loaded? |
When users bind custom shortcuts to actions coming from extensions, the shortcuts can be loaded before the extensions, so we need to allow defining a shortcut for an action that doesn't exist yet. Closes jupytergh-3549 Closes jupytergh-2954
If you've got time to test, can you check that #3561 fixes it? There are instructions on installing from source here: http://jupyter-notebook.readthedocs.io/en/stable/contributing.html#setting-up-a-development-environment |
Sur thing, I will give this a try as soon as I have the opportunity |
as an aside, I see this attached to the 5.5 milestone, is there any known indication about when this would be released, even approximative ? |
The best way to get a sense is how many other things are in the milestone - at the moment there are just a handful, and that's because I'd like to get 5.5 ready in the next few days. :-) |
I struggled a bit to get in position, but as far as I can tell, using takluyver:i3549 indeed solves the issue, the registered action does not trigger any message upon reloading, and the shortcut triggers as expected, so we should be fine Thanks a lot! PS. I'd like to add that on the mac I had to explicitly run
in addition to what was mentioned in the contributing doc that you quoted; this was required before I could run
from my local notebook repo, that attempted to run |
Thanks! It's meant to use npm to install bower, but I guess it may have installed it somewhere that wasn't on $PATH. Installing stuff is hard! :-( |
agreed ;) |
Hey folks
I’m facing an issue about an extension that defines actions
(all this is with the classic notebook and the RISE extension)
What is happening is that:
which of course suggests that keybinding takes place before the extension is loaded
It seems like a pretty standard situation, so I wonder if I did something wrong in the way I defined these actions;
where should I start looking to see how folks handle that in other extensions ?
The text was updated successfully, but these errors were encountered: