Closed andrewfulton9 closed 7 months ago
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
What would be a good place(s) to document this new argument?
That's a good question. It looks like the Lumino docs aren't much more than the API reference, but the function that is directly changed here is private and isn't in the docs. I could add something to the docstring for IKeyBindingOptions.args
and maybe ICommandOptions.isEnabled
and ICommandOptions.execute
referencing the added argument in the case that the command is called from a keybinding. How does that sound?
Thanks @andrewfulton9 it looks really nice. I like the idea of prefixing by
_
added arguments.Would you mind extending the following test to check it receives the new attribute with the correct value:
Thanks! I just added the test.
Congrats on your first merged pull request in this project! :tada:
Thank you for contributing, we are very proud of you! :heart:
Necessary for jupyterlab issue #15046 .
relevant discussion captured in #570.
Simply appends an
_luminoEvent
argument toargs
in_executeKeyBinding
.