You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,31 +25,31 @@ See our progress as of 08/27/2020 from these [slides](https://docs.google.com/pr
25
25
<summary>View Extension Highlights</summary>
26
26
<br>
27
27
<h3>Launch new files and quickly add rows and columns</h3>
28
-
<imgsrc="design/gifs/csvlauncher.gif"alt="gif of launching a new csv file within JupyterLab">
28
+
<imgsrc="https://raw.githubusercontent.com/jupytercalpoly/jupyterlab-tabular-data-editor/master/design/gifs/csvlauncher.gif"alt="gif of launching a new csv file within JupyterLab">
29
29
30
30
<br>
31
31
<br>
32
32
33
33
<h3>Seamlessly rearrange your data table</h3>
34
-
<imgsrc="design/gifs/moving.gif"alt="gif of moving rows and columns within JupyterLab">
34
+
<imgsrc="https://raw.githubusercontent.com/jupytercalpoly/jupyterlab-tabular-data-editor/master/design/gifs/moving.gif"alt="gif of moving rows and columns within JupyterLab">
35
35
36
36
<br>
37
37
<br>
38
38
39
39
<h3>Insert and remove multiple rows and columns</h3>
40
-
<imgsrc="design/gifs/multiremoveandinsert.gif"alt="gif of removing and inserting multiple rows and columns within JupyterLab">
40
+
<imgsrc="https://raw.githubusercontent.com/jupytercalpoly/jupyterlab-tabular-data-editor/master/design/gifs/multiremoveandinsert.gif"alt="gif of removing and inserting multiple rows and columns within JupyterLab">
41
41
42
42
<br>
43
43
<br>
44
44
45
45
<h3>Format your data with a click of a button</h3>
46
-
<imgsrc="design/gifs/auto-format.gif"alt="gif of toggling on a mode that formats data based on data types within JupyterLab">
46
+
<imgsrc="https://raw.githubusercontent.com/jupytercalpoly/jupyterlab-tabular-data-editor/master/design/gifs/auto-format.gif"alt="gif of toggling on a mode that formats data based on data types within JupyterLab">
47
47
48
48
<br>
49
49
<br>
50
50
51
51
<h3>Search and replace with ease</h3>
52
-
<imgsrc="design/gifs/searchandreplace.gif"alt="gif of searching and replacing a word within a large file within JupyterLab">
52
+
<imgsrc="https://raw.githubusercontent.com/jupytercalpoly/jupyterlab-tabular-data-editor/master/design/gifs/searchandreplace.gif"alt="gif of searching and replacing a word within a large file within JupyterLab">
53
53
</details>
54
54
55
55
## Requirements
@@ -58,48 +58,66 @@ See our progress as of 08/27/2020 from these [slides](https://docs.google.com/pr
Note: You will need NodeJS to build the extension package.
68
78
69
79
The `jlpm` command is JupyterLab's pinned version of
70
80
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
71
81
`yarn` or `npm` in lieu of `jlpm` below.
72
82
73
83
```bash
74
84
# Clone the repo to your local environment
75
-
# Move to jupyterlab-tabular-data-editor directory
76
-
77
-
# Install dependencies
78
-
jlpm
79
-
# Build Typescript source
80
-
jlpm build
85
+
# Change directory to the jupyterlab-tabular-data-editor directory
86
+
# Install package in development mode
87
+
pip install -e .
81
88
# Link your development version of the extension with JupyterLab
82
-
jupyter labextension install .
83
-
# Rebuild Typescript source after making changes
84
-
jlpm build
85
-
# Rebuild JupyterLab after making any changes
86
-
jupyter lab build
89
+
jupyter labextension develop . --overwrite
90
+
# Rebuild extension Typescript source after making changes
91
+
jlpm run build
87
92
```
88
93
89
-
You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.
94
+
You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.
90
95
91
96
```bash
92
-
# Watch the source directory in another terminal tab
93
-
jlpm watch
94
-
# Run jupyterlab in watch mode in one terminal tab
95
-
jupyter lab --watch
97
+
# Watch the source directory in one terminal, automatically rebuilding when needed
98
+
jlpm run watch
99
+
# Run JupyterLab in another terminal
100
+
jupyter lab
96
101
```
97
102
98
-
Now every change will be built locally and bundled into JupyterLab. Be sure to refresh your browser page after saving file changes to reload the extension (note: you'll need to wait for webpack to finish, which can take 10s+ at times).
103
+
With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).
104
+
105
+
By default, the `jlpm run build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:
0 commit comments