-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update jupyter_theme_editor for jupyterlab 4 using the migration script. #13
Update jupyter_theme_editor for jupyterlab 4 using the migration script. #13
Conversation
.copier-answers.yml
Outdated
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.
Looks like this file should be removed since it was used for generating the template.
_temp_extension/.copier-answers.yml
Outdated
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 whole _temp_extension
folder can be removed.
Most likely this is used by the migration script to generate a new version of the extension before proceeding with the migration.
style/base.css
Outdated
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.
Looks like this file should be kept. Maybe it's an issue with the migration script that deleted it?
schema/plugin.json
Outdated
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.
Looks like the migration script might have removed the settings by mistake.
I think it should be fine to keep the previous version of the file (like it was before).
99e0d33
to
a47fdf1
Compare
a47fdf1
to
ec72bdb
Compare
jupyter_theme_editor/handlers.py
Outdated
base_url, 'jupyter-theme-editor', "send_cssProperties") | ||
handlers = [(route_pattern, RouteHandler, {"env":Environment(loader=PackageLoader( | ||
"jupyter_theme_editor", "templates")), "path": "template.css" })] | ||
route_pattern = url_path_join(base_url, "jupyter-theme-editor", "get-example") |
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.
Looks like the API endpoint has changed with the update?
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.
Maybe replacing get-example
with send_cssProperties
will help fix it.
Update jupyter_theme_editor for jupyterlab 4 using the migration script.