-
Notifications
You must be signed in to change notification settings - Fork 95
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
Deduplicate conda-store in JupyterLab main menu #2347
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,8 @@ | |
"apiUrl": "/conda-store/", | ||
"authMethod": "cookie", | ||
"loginUrl": "/conda-store/login?next=", | ||
"authToken": "" | ||
"authToken": "", | ||
"addMainMenuItem": false | ||
}, | ||
"@jupyterlab/apputils-extension:notification": { | ||
"checkForUpdates": false, | ||
|
@@ -50,13 +51,8 @@ | |
"rank": 1000, | ||
"items": [ | ||
{ | ||
"command": "help:open", | ||
"rank": 1, | ||
"args": { | ||
"url": "/conda-store", | ||
"text": "Environment Management", | ||
"newBrowserTab": true | ||
} | ||
"command": "condastore:open", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @krassowski thanks for this, could you explain a bit how this works? does this call the extension, or the endpoint for the conda-store webpage as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
"rank": 1 | ||
}, | ||
{ | ||
"command": "help:open", | ||
|
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.
Without this, does the extension still opens as a separate tab?
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.
That code was opening the
/conda-store
in a new browser tab.