Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Carol Willing
@willingc
@blink1073 Just an FYI, When I was presenting JupyterLab yesterday using 0.34 the side navigation menu lost their icons. Not filing an issue. Just a heads up if anyone sees something similar.
And it was the Chrome browser
The audience in SF loved JupyterLab too.
Adam Thornton
@athornton
Can someone point me quickly to where the "how I insert a thing in the file menu" changed in 0.34?
My extensions build and apparently load fine, but they aren't in the file menu.
Afshin Taylor Darian
@afshin
Screen Shot 2018-08-20 at 14.14.54.png
i haven't been working on this @athornton, but it looks like you must specify which group in the file menu you want your items to land in
Adam Thornton
@athornton
Chasing this down a bit more, I do have a load failure:
vendors~main.b5dfbaaaab1db04f6d8c.js:15511 Plugin 'jupyter.extensions.jupyterlab-lsstquery' failed to activate.
(anonymous) @ vendors~main.b5dfbaaaab1db04f6d8c.js:15511
vendors~main.b5dfbaaaab1db04f6d8c.js:15512 Error: No provider for: @jupyterlab/mainmenu:IMainMenu.
Oh, OK...so I should create new groups (assuming they don't really associate with the others, which they don't)....
Afshin Taylor Darian
@afshin
oh, if there's no provider for that ... are you importing an old version?
0.7.2 is the current version
Adam Thornton
@athornton
uhh maybe.
Let me check package.json
yep, that's it
probably wise to check the rest of my deps too
Afshin Taylor Darian
@afshin
cool
Steven Silvester
@blink1073
Thanks for the feedback, @willingc! Were you running the jupyter server on your own laptop?
Steven Silvester
@blink1073
@akhmerov, 0.13.1 is now available on conda-forge. That was easy :sweat_smile:
Anton Akhmerov
@akhmerov
Yep! @blink1073 congrats with overcoming the build machinery!
Steven Silvester
@blink1073
Thanks to the responsiveness of the conda-forge folks, they deserve a medal
Mark Mazel
@MarkMazel
Why do kernel names get cut off so early when there is a lot of room left in the window (specifically in the dropdown for kernel selection)?
Tim Paine
@timkpaine
@nmichaud creepin on the chat
Mark Mazel
@MarkMazel
image.png
Zuoyuan Huang
@zuoyuanh
@ian-r-rose Hi Ian, I have the comments ready for our TOC pr, would you please to take a look at it when you are available? Thank you!
maxLength should probably be greater than 10 :)
it should probably be something like 'Use Kernel from Preferred Session'.length - 4 or something like that
Carol Willing
@willingc
@blink1073 Yes, I was.
Steven Silvester
@blink1073
@willingc, not sure off the top of my head then...
Carol Willing
@willingc
No worries. If it happens again, I'll capture the info. Wasn't thinking about when on-stage ;-)
Mark Mazel
@MarkMazel
@afshin sounds good, thanks
thenickg
@thenickg
Hi I have a jupyterlab python server side plugin that exposes an endpoint /GetMyStuff, and I have a typescript front end plugin that wishes to call /GetMyStuff (using fetch or something along those lines). I need to add the authorization header: {'Authorization': 'token myAwesomeToken'}. How can I get the token? Currently getting 403s. Is there a fetch-like internal library that properly decorates requests? Hopefully this method can work for stuff like OAuth2 as well
Ian Rose
@ian-r-rose
@thenickg You are right: the function that handles authorization that you are looking for is here. It behaves pretty similarly to fetch
thenickg
@thenickg
perfect! thank you so much!
Saul Shanabrook
@saulshanabrook
@timkpaine Nice!
Sylvain Corlay
@SylvainCorlay
Really like the icons in 0.34!
Sylvain Corlay
@SylvainCorlay
Small remark: the running person icon may not work well for the "running kernels" tab, for non english speakers. The words for running (moving faster than walking) and a running program are not typically the same in other languages.
Afshin Taylor Darian
@afshin
(i think also that it looks like the exit sign in many places)
Sylvain Corlay
@SylvainCorlay
good point
Dave Hirschfeld
@dhirschfeld
Just an FYI in case it's been missed but after upgrading to 0.34.0 it seems nbdime-jupyterlab, jupyterlab-drawio and @jupyterlab/git aren't currently compatible
Ian Rose
@ian-r-rose
@zuoyuanh I'll try to take a look today. Thanks!
Simon Biggs
@SimonBiggs
@timkpaine ahh awesome. Thanks for python bindings link.
Tim Paine
@timkpaine
No prob, actually we're trying to have the same c++ code running in python and in JavaScript so we can efficiently serialize the table across the wire
Should make it easy to keep parallel consistent views between python and JavaScript
Ian Rose
@ian-r-rose
@SylvainCorlay I also think the "running" icon is not ideal: https://github.com/jupyterlab/jupyterlab/pull/5117#issuecomment-412405487
Tim Paine
@timkpaine
:+1:
Mark Mazel
@MarkMazel
@ian-r-rose have you guys maybe thought about a function to convert an array of widget names into a layout (dehydrated). I've been working on some save/restore layout stuff for our extensions and it seems to me that theres no way to do it so far besides writing such a function yourself or hard-coding the layout to a certain extent.
T. George
@tgeorgeux
Anybody at the hotel wanna get together today?