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
Adding a mime extension to the webpack config #8825
Conversation
- We making it possible for package to inclue normal and mime extension - We are moving script loading path logic from server to front end
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
- adding styles - changing extension data format and initialization
@jasongrout |
Excellent! Looks great! I made one comment about how to use the promises. |
@jasongrout |
…rom errors. I also made a pass at refactoring some of the code to be simpler.
@mnowacki-b - I extended the error handling so that an error in loading a single module would not halt the application, using the new |
@jasongrout |
Thanks, and thanks for the cleanup. Do you want to port these changes over to the main application js file at https://github.com/jupyterlab/jupyterlab/blob/master/dev_mode/index.js ? |
Sure will do |
I tested the dev_mod changes by rebuilding the app and running Everything seems to run fine but I do see the following warnings : main.ecdd33cd71a3a37854c5.js:372 Unsatisfied version 16.9.0 of shared singleton module react (required ^15.5.4) getSingletonVersion @ main.ecdd33cd71a3a37854c5.js:372 31packages_settingregistry_lib_index_js.589d5d2e20e120661a9a.js:438 Ignored setting registry preload errors. TypeError: Cannot read property 'jupyter.lab.transform' of undefined at SettingRegistry._transform (packages_settingregistry_lib_index_js.589d5d2e20e120661a9a.js:481) at packages_settingregistry_lib_index_js.589d5d2e20e120661a9a.js:434 at Array.map () at SettingRegistry._preload (packages_settingregistry_lib_index_js.589d5d2e20e120661a9a.js:431) at new SettingRegistry (packages_settingregistry_lib_index_js.589d5d2e20e120661a9a.js:228) at activate (static_index_out_js-webpack_sharing_consume_default_react_react-webpack_sharing_consume_defau-85274a.c122a23c4e684be96cc4.js:4916) |
This is being tracked in jupyterlab/jupyterlab_server#113 |
Usage test is failing on: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes look good to me. Thanks!
Probably |
Yep, the error is because we changed the PageConfig metadata, and the |
Thanks @mnowacki-b! |
Sweet! Thanks @mnowacki-b and @jasongrout! |
Thank you @jasongrout & @blink1073 |
References
Adds to: #7468
Code changes
TODO