-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from fcollonval/add-tour
Add tour
- Loading branch information
Showing
12 changed files
with
129 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export const WIDGET_CLASS = "jp-NbConda"; | ||
export const ENVIRONMENT_PANEL_ID = "jp-NbConda-environment"; | ||
export const ENVIRONMENT_TOOLBAR_CLASS = "jp-NbConda-EnvToolbar"; | ||
export const PACKAGES_PANEL_ID = "jp-NbConda-packages"; | ||
export const PACKAGES_TOOLBAR_CLASS = "jp-NbConda-ToolbarPackages"; | ||
export const PACKAGE_SELECT_CLASS = "jp-NbConda-package-select"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import * as React from "react"; | ||
import { | ||
ENVIRONMENT_PANEL_ID, | ||
ENVIRONMENT_TOOLBAR_CLASS, | ||
PACKAGES_PANEL_ID, | ||
PACKAGES_TOOLBAR_CLASS, | ||
PACKAGE_SELECT_CLASS, | ||
WIDGET_CLASS | ||
} from "./constants"; | ||
|
||
export const managerTour = { | ||
id: "jupyterlab-conda:tour", | ||
label: "Conda Packages Manager Tour", | ||
hasHelpEntry: true, | ||
steps: [ | ||
{ | ||
content: ( | ||
<p> | ||
Thanks for installing <em>jupyter_conda</em>.<br /> | ||
Let's have a tour of the UI. | ||
</p> | ||
), | ||
placement: "center", | ||
target: `.${WIDGET_CLASS}`, | ||
title: "Conda Packages Manager" | ||
}, | ||
{ | ||
content: ( | ||
<p> | ||
Your conda environment are listed here. | ||
<br /> | ||
Click on it to manage its packages. | ||
</p> | ||
), | ||
placement: "right", | ||
target: `#${ENVIRONMENT_PANEL_ID}` | ||
}, | ||
{ | ||
content: ( | ||
<p> | ||
This toolbar contains environment actions like creation, deletion, | ||
exportation,... | ||
</p> | ||
), | ||
placement: "bottom", | ||
target: `.${ENVIRONMENT_TOOLBAR_CLASS}` | ||
}, | ||
{ | ||
content: ( | ||
<p> | ||
This table lists all available conda packages and their status within | ||
the selected environment (i.e. installed, updatable or available). | ||
</p> | ||
), | ||
target: `#${PACKAGES_PANEL_ID}` | ||
}, | ||
{ | ||
content: ( | ||
<p> | ||
A package can be installed, removed or updated by selecting a status | ||
in these selectors. | ||
</p> | ||
), | ||
placement: "bottom", | ||
target: `.${PACKAGE_SELECT_CLASS}` | ||
}, | ||
{ | ||
content: ( | ||
<p> | ||
The package list can be filtered by packages status and with a search | ||
term. | ||
</p> | ||
), | ||
placement: "bottom-start", | ||
target: `.${PACKAGES_TOOLBAR_CLASS}` | ||
}, | ||
{ | ||
content: <p>Execute package changes with the cart button.</p>, | ||
placement: "bottom", | ||
target: `.${PACKAGES_TOOLBAR_CLASS} .fa-cart-arrow-down` | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters