-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Setting to use the advanced setting editor for the settings #12466
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
Setting to use the advanced setting editor for the settings #12466
Conversation
|
Thanks for making a pull request to jupyterlab! |
fcollonval
left a comment
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.
I would use an enumeration instead of a boolean as setting; something like
Default settings editor: ['UI', 'json']
|
Also, is this new option needed? Or could the menu customization via the settings be used to replace the menu entry by |
Thx @fcollonval. Yes, we can do that.
Thx @jtpio. With |
|
I like a lot the idea of @jtpio - but I think it is nice to still combine it with a boolean settings as menu customization is not easy for the end users. So to layout the changes needed, you would not add a new command, but extend the If the argument defines the type of settings editor, use the argument otherwise fallback to the settings value. And I think that for 4.0 it will make sense to drop the command |
@fcollonval I have implemented your suggestion in my latest commit. Maybe you could have a look and confirm this was the intent. If confirmed, I will then implement your suggestion |
I have not been able to achieve that as the execution of the |
fcollonval
left a comment
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.
Thanks @echarles yes this is the idea.
|
check-release fails with @fcollonval this is ready to be merged. |
|
@fcollonval I have merged with latest master and resolved the conflicts. |
|
Galata is failing on I am not familiar with the recent setting search query. I run |
1c5ac58 to
43db4a3
Compare
|
Did a rebase on latest master and UI test is now green. A few other flows are failing mostly on splice feature but should not berelated to this PR. |
63278a0 to
6659cb6
Compare
|
The UI regression test fails on @fcollonval I think this is ready to be merged. |
Yes also noticed in other places: #12340 (comment) |
|
Just solved recent conflicts with master and CI is still green (exception of the not-revelant Extension Manager › Search). |
|
@fcollonval @jtpio I have rebased and solved the conflicts. Happy to get your reviews so we can merge and backport. |
fcollonval
left a comment
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.
Thanks @echarles LGTM
CI failure is not related
|
@meeseeksdev please backport to 3.4.x |
…tor for the settings
|
Thx @fcollonval The backport PR is #12529 |
Benchmark reportThe execution time (in milliseconds) are grouped by test file, test type and browser. The mean relative comparison is computed with 95% confidence. Results table
Changes are computed with expected as reference. |
…466-on-3.4.x Backport PR #12466 on branch 3.4.x (Setting to use the advanced setting editor for the settings)

References
Fixes #12283
Code changes
Add a setting
useJsonEditorin thesettingeditor-extensionpackage. If that setting is `true, the advanced json editor is use to edit the settings.User-facing changes
Backwards-incompatible changes
None.