Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f948dcd
Remove commitlint
NateLanza Nov 5, 2024
32a92b7
Add instructions & setup.cfg for local development in VSCode
NateLanza Nov 5, 2024
0073610
Remove linter (preventing git commits)
NateLanza Jan 25, 2025
65ecbe9
Delete buggy husky commit hooks
NateLanza Jan 25, 2025
3a4591d
Dev notes
NateLanza Jan 25, 2025
6fd687e
One more note
NateLanza Jan 25, 2025
f01dcc9
Dependency updates
NateLanza Jan 25, 2025
2ba2ac8
Updates to anywidget import procedure for latest version & VSCode
NateLanza Jan 25, 2025
78e2757
Py Persist extends datastorewidget & passes ID thru
NateLanza Feb 7, 2025
e76ae2e
Wrapper for initialization of data store
NateLanza Feb 7, 2025
68d7921
Bump husky version
NateLanza Feb 11, 2025
5fdf54f
TrrackableCell uses dataStore instead of extending CodeCell
NateLanza Feb 11, 2025
b962ce2
Resolving typing errors for trrackableCell update
NateLanza Feb 12, 2025
599cfb8
Rename data_store to dataStore
NateLanza Feb 18, 2025
cc6e2a7
Remove all window.Persist refs except dataframe.ts
NateLanza Feb 18, 2025
310fa33
...tack on for previous commit cc6e2a781172df40cbe54ce299e1d6eed418b99f
NateLanza Feb 18, 2025
5d46c65
Bugfix: init datastore before trying to get cell ID
NateLanza Feb 18, 2025
f8ddc9e
Get rid of Jupyterlab useSignal import in CommandButton
NateLanza Feb 18, 2025
1e21b70
Remove commands requiring jupyterlab code
NateLanza Feb 18, 2025
569e790
Bugfix: opening PersistOutput no longer turns the whole notebook back…
NateLanza Feb 25, 2025
c24f75c
Bugfix: Properly saving state to file. Persist WORKING in VSCode!
NateLanza Mar 14, 2025
ebdb02c
Bugfix: remove all ipywidgets styling upon init to prevent vscode sty…
NateLanza Apr 17, 2025
c7ad1f9
Remove no-longer-functional "create cell with dataframe" command & UI
NateLanza May 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .commitlintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,5 @@ yarn-error.log*

# Ignore Static for non-docs
static/
!docs-website/static/
!docs-website/static/
examples/_old/notebooks/avalanche/avalanche_tasks.jupersist
6 changes: 0 additions & 6 deletions .husky/commit-msg

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-commit

This file was deleted.

6 changes: 0 additions & 6 deletions .husky/prepare-commit-msg

This file was deleted.

3 changes: 0 additions & 3 deletions .lintstagedrc.json

This file was deleted.

17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ pip install hatch
Jupyter extensions use a custom version of `yarn` package manager called `jlpm`. When any relevant command is run, `hatch` should automatically install and setup up `jlpm`.
After installing `hatch` with your preferred method follow instructions below for workflow you want. We prefix all commands with `hatch run` to ensure they are run in proper environments.

### Development
### Development in JupyterLab

Run the `setup` script from `package.json`:

Expand Down Expand Up @@ -308,6 +308,21 @@ When the build is successful, you can publish the extension if you have proper a
hatch publish
```

### Development in VSCode

First, build with
```bash
hatch run build_extension
```
Currently, the widget server doesn't work for VSCode, so you'll have to manually rebuild every time. For this reason, you'll want to leave dev mode off, as dev mode tries to use the widget server instead of the static build directory to import the widget.

Create a local python environment and set it as the current kernel for the Jupyter notebook in VSCode that you want to use for development. Then, inside this kernel, install `persist_ext` as an editable local package:
```bash
pip install -e .
```

After each change, you must rebuild with `hatch run build_extension` and restart the kernel in VSCode to see the changes applied.

### Acknowledgements

The widget architecture of Persist is created using [anywidget](https://github.com/manzt/anywidget) projects.
Expand Down
3 changes: 0 additions & 3 deletions commitlint.config.js

This file was deleted.

734 changes: 25 additions & 709 deletions examples/_old/notebooks/avalanche/avalanche_tasks.ipynb

Large diffs are not rendered by default.

Loading
Loading