Skip to content
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

Notebook v7 scaffolding #6294

Merged
merged 670 commits into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
670 commits
Select commit Hold shift + click to select a range
72ef565
Add a Binder section to the readme
jtpio Sep 22, 2021
e722550
Make Binder link clickable
jtpio Sep 22, 2021
d720af2
Merge pull request #230 from jtpio/try-it-binder
jtpio Sep 22, 2021
b8056c6
Automated Changelog Entry for 0.3.7 on main
github-actions[bot] Sep 23, 2021
e6e8fc0
Merge pull request #231 from jupyterlab/changelog-5ea041d61c3911ec919…
jtpio Sep 23, 2021
83cefe4
Fix handling of `--skip-commit`
jtpio Sep 23, 2021
986ce55
Merge pull request #232 from jtpio/fix-skip-commit
jtpio Sep 23, 2021
e52e624
Automated Changelog Entry for 0.3.7 on main
github-actions[bot] Sep 23, 2021
aae916d
Merge pull request #233 from jupyterlab/changelog-7a57bf921c4511ecb11…
jtpio Sep 23, 2021
66bb0bb
Publish 0.3.7
github-actions[bot] Sep 23, 2021
d103192
Update link to the stable Binder
jtpio Sep 23, 2021
c2daaae
Merge pull request #236 from jtpio/update-binder
jtpio Sep 23, 2021
68c3d8a
Add missing translations to help extension
krassowski Sep 25, 2021
7d2a18d
Merge pull request #237 from krassowski/patch-1
jtpio Sep 27, 2021
e7b6a91
Support disabling core retrolab extensions
jtpio Oct 7, 2021
76611ed
Fix typo
jtpio Oct 7, 2021
db3cb8a
Improve tree page tab bar CSS
jtpio Oct 7, 2021
3be86ca
Merge pull request #243 from jtpio/border
jtpio Oct 8, 2021
bb73190
Merge pull request #242 from jtpio/disable
jtpio Oct 8, 2021
d2f5551
Fix handling of federated extensions
jtpio Oct 9, 2021
4251386
Remove TODO
jtpio Oct 9, 2021
552abaa
Merge pull request #245 from jupyterlab/fix-federated-extensions
jtpio Oct 9, 2021
f4ee9be
Document oriented scrollbar for the notebook
jtpio Oct 8, 2021
105245c
More CSS scoping
jtpio Oct 10, 2021
812e76d
Merge pull request #244 from jtpio/scrollbar-document
jtpio Oct 11, 2021
5804986
Automated Changelog Entry for 0.3.8 on main
github-actions[bot] Oct 11, 2021
7d1c2e1
Merge pull request #246 from jupyterlab/changelog-92b9a0502a7311ec95a…
jtpio Oct 11, 2021
9728d15
Publish 0.3.8
github-actions[bot] Oct 11, 2021
75ac401
Hoist the filebrowser factory plugin
jtpio Oct 11, 2021
6c1129c
factory is already registered in edit
jtpio Oct 11, 2021
a901cb1
Merge pull request #249 from jtpio/filebrowser-plugin
jtpio Oct 12, 2021
ff14c66
Automated Changelog Entry for 0.3.9 on main
github-actions[bot] Oct 12, 2021
961e2c1
Merge pull request #250 from jupyterlab/changelog-c723cc482b2d11ecbb9…
jtpio Oct 12, 2021
cf5d0a7
Publish 0.3.9
github-actions[bot] Oct 12, 2021
a5691ca
Update to JupyterLab 3.2 final
jtpio Oct 1, 2021
15a00e5
Merge pull request #240 from jtpio/update
jtpio Oct 14, 2021
d743cb9
Automated Changelog Entry for 0.3.10 on main
github-actions[bot] Oct 14, 2021
a381c12
Merge pull request #251 from jupyterlab/changelog-222968e02ce711ecaf8…
jtpio Oct 14, 2021
cd9750e
Publish 0.3.10
github-actions[bot] Oct 14, 2021
5911623
Fix handling of kernelspec logo
jtpio Oct 14, 2021
29c41d3
Merge pull request #252 from jtpio/fix-kernelspec-logo
jtpio Oct 14, 2021
bc19c0c
Automated Changelog Entry for 0.3.11 on main
github-actions[bot] Oct 14, 2021
df758f5
Merge pull request #253 from jupyterlab/changelog-e62991a82d0411ec84d…
jtpio Oct 14, 2021
8c869b5
Publish 0.3.11
github-actions[bot] Oct 14, 2021
1f24bed
Pass version spec as a GitHub Actions input
jtpio Oct 20, 2021
c802a80
Merge pull request #254 from jtpio/check-release-spec
jtpio Oct 20, 2021
c003bc3
Update the top screenshot in the README
jtpio Oct 23, 2021
1f86be0
Merge pull request #255 from jupyterlab/update-screenshot
jtpio Oct 23, 2021
1c30200
Fix handling of federated mime extensions
jtpio Oct 30, 2021
bed41c3
Fix missing download command
jtpio Oct 30, 2021
2990526
Merge pull request #262 from jtpio/fix-plotly
jtpio Oct 30, 2021
8d92d7f
Merge pull request #263 from jtpio/fix-download
jtpio Oct 30, 2021
0d22a5d
Ensure @retrolab settings
jtpio Oct 30, 2021
f01fb6a
Fix manifest ignore
jtpio Oct 30, 2021
f9b1043
Add ensured_target
jtpio Oct 31, 2021
ebead7b
Update glob pattern
jtpio Oct 31, 2021
04e8e76
pip install . on Binder
jtpio Oct 31, 2021
523a470
Automated Changelog Entry for 0.3.12 on main
github-actions[bot] Nov 1, 2021
aa9c8c5
Merge pull request #266 from jupyterlab/changelog-d8d2ca483af511ecbbe…
jtpio Nov 1, 2021
93ce13c
Publish 0.3.12
github-actions[bot] Nov 1, 2021
c037d1a
Add keyboard shortcut to toggle zen mode
jtpio Nov 1, 2021
efa9740
Add script to link schemas
jtpio Nov 1, 2021
1974bad
Remove extra `@jupyterlab/filebrowser-extension:download`
jtpio Nov 1, 2021
e74bb03
Remove zen mode keyboard shortcut for now
jtpio Nov 1, 2021
45f879d
Merge pull request #265 from jtpio/settings
jtpio Nov 1, 2021
b2251f3
edits to aid in navigation of Readme.md
gutow Nov 3, 2021
4b5323c
Lint
jtpio Nov 4, 2021
2a96903
Merge pull request #269 from gutow/Readme-nav
jtpio Nov 4, 2021
d73103b
Fix typos in readme
JasonWeill Nov 5, 2021
6ce134f
Merge pull request #271 from jweill-aws/patch-1
jtpio Nov 6, 2021
6f8e0c1
Update UI Tests to use Galata
jtpio Nov 7, 2021
3767d9c
Fix artifact name
jtpio Nov 8, 2021
625f16e
Fix manifest ignore list
jtpio Nov 8, 2021
9010ff5
Merge pull request #273 from jtpio/ui-tests
jtpio Nov 8, 2021
9c482d3
Update testing docs
jtpio Nov 11, 2021
67961d9
Merge pull request #278 from jtpio/update-test-docs
jtpio Nov 11, 2021
85df993
Fix handling of the MathJax URL to render Latex
jtpio Nov 12, 2021
010059f
Handle baseUrl
jtpio Nov 12, 2021
ba379d6
Fix condition
jtpio Nov 12, 2021
e18c3a8
Add UI test to check the retrolab settings are persisted (#281)
jtpio Nov 12, 2021
9eb0065
Fix plugin ids in the notebook extension
jtpio Nov 12, 2021
5d5ae1f
Merge pull request #284 from jtpio/plugin-ids
jtpio Nov 12, 2021
a77d669
Merge pull request #280 from jtpio/mathjax
jtpio Nov 12, 2021
f9dc665
Automated Changelog Entry for 0.3.13 on main
github-actions[bot] Nov 12, 2021
e7887f6
Merge pull request #285 from jupyterlab/changelog-f4fd16ce43ec11eca2e…
jtpio Nov 12, 2021
748f9eb
Publish 0.3.13
github-actions[bot] Nov 12, 2021
a3fed7d
Customize tree menus
jtpio Nov 17, 2021
f11b83c
Disable top-level menus programmatically
jtpio Nov 18, 2021
d3c6e89
Placeholder menus customization
jtpio Nov 18, 2021
295149f
Add Trust Notebook to the File menu
jtpio Nov 18, 2021
e3d4c29
Add command to rename the current document
jtpio Nov 18, 2021
2dd9016
Update reference snapshots
jtpio Nov 18, 2021
18aa3b5
Add UI test to rename a file
jtpio Nov 18, 2021
06a4b48
Add UI tests for notebook menus
jtpio Nov 18, 2021
f168b94
Add reference snapshots for the menus
jtpio Nov 18, 2021
3b9b2bb
Merge pull request #289 from jtpio/tree-menu
jtpio Nov 18, 2021
05ad679
Enforce labels on PRs
jtpio Nov 18, 2021
26332bd
Merge pull request #291 from jtpio/enforce-labels
jtpio Nov 19, 2021
4002f21
Add UI test for the mobile layout
jtpio Nov 22, 2021
a393f51
Remove unused build:test task in app
loichuder Nov 25, 2021
1f4613b
Merge pull request #293 from loichuder/unused-build-test
jtpio Nov 25, 2021
6c96c80
Fix user settings overrides
jtpio Nov 22, 2021
457e292
Merge pull request #292 from jtpio/ui-tests-mobile
jtpio Nov 29, 2021
154463c
Use `maintainer-tools` base setup action
jtpio Dec 1, 2021
4fd58de
Merge pull request #295 from jtpio/base-setup-ci
jtpio Dec 1, 2021
b07f59a
Strip .ipynb extension for display
JasonWeill Dec 1, 2021
2a775aa
Strips extension from initial heading as well as updated heading
JasonWeill Dec 1, 2021
11b126c
Updates UI test to expect new title
JasonWeill Dec 2, 2021
f5f11b4
Strips .ipynb suffix from tab title
JasonWeill Dec 2, 2021
49b9ae3
Merge pull request #296 from jweill-aws/shorter-title
jtpio Dec 2, 2021
5b769da
Switch to `maintainer-tools` action for Binder on PR
jtpio Dec 8, 2021
2ac2740
Set `url_path` to `retro`
jtpio Dec 8, 2021
6b47f0c
Merge pull request #301 from jtpio/binder-badge-pr
jtpio Dec 8, 2021
2b1d9c3
Bump playwright version in package.json
gabalafou Dec 15, 2021
1ad349a
Merge pull request #304 from gabalafou/update-playwright-for-mac
jtpio Dec 16, 2021
df60dca
Remove `playwright` dependency from the `app` folder
jtpio Dec 17, 2021
71cab5c
Merge pull request #307 from jtpio/cleanup
jtpio Dec 17, 2021
b4b6ff6
Interface switcher menu
jtpio Dec 23, 2021
de3dd3e
Update snapshots
jtpio Dec 23, 2021
27e2b41
Update Firefox snapshots
jtpio Dec 23, 2021
cf1e27e
Merge pull request #309 from jtpio/interface-dropdown
jtpio Dec 24, 2021
a430ee9
add alt text together during the 2021 diy a11y workshop (#1)
tonyfast Dec 16, 2021
656c09f
Add extension for document-scoped search
loichuder Nov 26, 2021
5f24af6
Updated snapshots for UI tests
loichuder Dec 8, 2021
38a6166
Add a plugin to disable document search shortcut
loichuder Dec 21, 2021
55915e6
Switch to declarative keyboard shortcuts
jtpio Dec 24, 2021
37b0c2e
Update reference snapshots
jtpio Dec 24, 2021
45bc2c5
Merge pull request #310 from jtpio/readme-a11y
jtpio Dec 27, 2021
7c0b058
Switch back to shortcut override plugin
jtpio Dec 28, 2021
ec926de
Merge pull request #294 from loichuder/doc-search
jtpio Dec 28, 2021
3f80ba5
Automated Changelog Entry for 0.3.14 on main
github-actions[bot] Dec 28, 2021
f4bc542
Merge pull request #312 from jupyterlab/changelog-01e4993867de11ec9e8…
jtpio Dec 28, 2021
b5a69b8
Publish 0.3.14
github-actions[bot] Dec 28, 2021
059422c
Fix handling of Python version
jtpio Jan 2, 2022
05470cd
Merge pull request #315 from jtpio/fix-ci
jtpio Jan 2, 2022
3b4d899
Enable scrolling outputs by default
jtpio Nov 15, 2021
0a20975
Add cells package
jtpio Nov 16, 2021
19260b8
Mimic classic notebook logic for auto scrolled outputs
jtpio Dec 29, 2021
98b5c60
Update to `@jupyterlab` 3.2.5 packages
jtpio Dec 29, 2021
eb27dc6
Add UI test for auto scrolled outputs
jtpio Dec 29, 2021
d56c5e6
Fix scroll toggle
jtpio Dec 29, 2021
9b17311
Opt-out from auto scroll outputs via the settings
jtpio Dec 31, 2021
98e38a1
Fix develop command by delaying imports
jtpio Jan 2, 2022
35e34ee
Switch to scrollHeight
jtpio Jan 3, 2022
6815878
Merge pull request #288 from jtpio/scroll-outputs
jtpio Jan 3, 2022
179c240
Automated Changelog Entry for 0.3.15 on main
github-actions[bot] Jan 3, 2022
e171cc0
Merge pull request #316 from jupyterlab/changelog-91bd64986c9a11ecbca…
jtpio Jan 3, 2022
6163f35
Publish 0.3.15
github-actions[bot] Jan 3, 2022
14c79c9
Remove allsettled polyfill
martinRenou Jan 5, 2022
8be5124
Merge pull request #318 from martinRenou/remove_allsettled
jtpio Jan 5, 2022
6a4f6e2
Update to `@jupyterlab` 3.2.6 packages
jtpio Jan 7, 2022
1dc0380
Add back the folder icon
jtpio Jan 7, 2022
41a51ac
Merge pull request #321 from jtpio/update-3.2.6
jtpio Jan 7, 2022
46df7ae
Automated Changelog Entry for 0.3.16 on main
github-actions[bot] Jan 7, 2022
68e3c9a
Merge pull request #322 from jupyterlab/changelog-510031886fdd11ecb0b…
jtpio Jan 7, 2022
3470287
Publish 0.3.16
github-actions[bot] Jan 7, 2022
2cf6ac3
Update to JupyterLab 4.0 alpha
jtpio Jan 5, 2022
b1aeaa2
Drop Python 3.6
jtpio Jan 5, 2022
1cbaa4f
Rotate Python versions on CI
jtpio Jan 5, 2022
6af3af2
Update matrix entry to 3.10
jtpio Jan 6, 2022
5f25099
Switch steps on Binder
jtpio Jan 6, 2022
6d78f87
Update to alpha 19
jtpio Jan 19, 2022
225bfd5
Include `@jupyterlab/user-extension`
jtpio Jan 19, 2022
207e4b5
Include `@jupyter/apputils-extension:toolbar-registry`
jtpio Jan 19, 2022
653307f
Update spacer to match upstream rank
jtpio Jan 19, 2022
f07c26a
Do not default to collaborative by default for now
jtpio Jan 19, 2022
280f623
Don't close terminal on exit (#4)
davidbrochart Jan 20, 2022
a4b7c83
Drop support for `retro_logo`
jtpio Jan 20, 2022
fcab58c
Integrity
jtpio Jan 20, 2022
4eca86c
Wait for settings before opening the notebook
jtpio Jan 20, 2022
69452f9
Update reference snapshots (font changed)
jtpio Jan 20, 2022
3a9278b
Update to the latest galata
jtpio Jan 20, 2022
8b60f21
Update selector for run and advance
jtpio Jan 20, 2022
237c456
Merge pull request #324 from jtpio/drop-retro-logo
jtpio Jan 20, 2022
68748a8
Update smoke test
jtpio Jan 20, 2022
ba093aa
Re-enable RTC on Binder
jtpio Jan 20, 2022
5bcfa90
Shut down kernels
jtpio Jan 21, 2022
879e644
Merge pull request #319 from jtpio/lab-4
jtpio Jan 21, 2022
516a1aa
Automated Changelog Entry for 0.4.0a0 on main
github-actions[bot] Jan 21, 2022
53d4d5f
Merge pull request #326 from jupyterlab/changelog-6a41444a7ac611eca34…
jtpio Jan 21, 2022
7fed468
Publish 0.4.0a0
github-actions[bot] Jan 21, 2022
ef77a11
Add `Accel Enter` shortcut to execute a cell
jtpio Jan 26, 2022
76ba9b2
Merge pull request #330 from jtpio/cmd-enter
jtpio Jan 26, 2022
f762fb5
Switch cell type from the cell menu
jtpio Jan 26, 2022
15ebe4d
Add menu separator
jtpio Jan 26, 2022
d2d9531
Open Cell menu in UI Tests
jtpio Jan 26, 2022
7d433ed
Programmatically add cell type menu entries
jtpio Jan 26, 2022
0d66f8f
Update reference snapshots
jtpio Jan 26, 2022
0417734
Merge pull request #328 from jtpio/menus
jtpio Jan 27, 2022
0b07807
Automated Changelog Entry Forward Ported from v0.3.17
github-actions[bot] Jan 27, 2022
5a18e3f
Merge pull request #336 from jupyterlab/changelog-c43c6ddc7f5111ec9c3…
jtpio Jan 27, 2022
efe34eb
Add `@jupyterlab/notebook-extension:export` plugin
jtpio Jan 27, 2022
22d0489
Merge pull request #337 from jtpio/fix-export
jtpio Jan 27, 2022
6986022
Automated Changelog Entry Forward Ported from v0.3.18
github-actions[bot] Jan 27, 2022
7bc4560
Merge pull request #343 from jupyterlab/changelog-4744d4b87f6a11ec82a…
jtpio Jan 27, 2022
bcb9daf
Automated Changelog Entry Forward Ported from v0.3.19
github-actions[bot] Feb 4, 2022
de683b6
Merge pull request #347 from jupyterlab/changelog-bc15df5285a111ec925…
jtpio Feb 7, 2022
27881b5
Remove workaround for the toolbar settings (#352)
jtpio Feb 28, 2022
6bb425e
Automated Changelog Entry for 0.4.0a1 on main
github-actions[bot] Feb 28, 2022
3829765
Merge pull request #353 from jupyterlab/changelog-0870529698cc11ecb28…
jtpio Mar 1, 2022
c2f9917
Publish 0.4.0a1
github-actions[bot] Mar 1, 2022
78f7455
First round of renaming to notebook
jtpio Jan 18, 2022
8b6c820
More renaming
jtpio Jan 18, 2022
6201b4b
More renaming
jtpio Jan 18, 2022
312810c
Rename to NotebookApp
jtpio Jan 18, 2022
11a1438
Update yarn.lock
jtpio Jan 18, 2022
e275678
Add notebook_shim as a dependency
jtpio Feb 10, 2022
27dcbe9
Update to JupyterLab 4.0.0a20
jtpio Feb 24, 2022
a5af981
Bump to 7.0.0a0
jtpio Feb 24, 2022
6614c0d
Update RetroApp to NotebookApp
jtpio Feb 24, 2022
5fa11dd
More retro updates
jtpio Feb 24, 2022
89ebdb0
More updates
jtpio Feb 24, 2022
7d6096a
Update description
jtpio Feb 25, 2022
46afe50
Remove classic server extension
jtpio Feb 25, 2022
e5fefba
Update shim, notebook app name
jtpio Feb 25, 2022
c13d4b4
Remove extra about menu entry
jtpio Feb 25, 2022
fccadf6
Update other reference snapshots
jtpio Feb 25, 2022
dfa72c8
More JupyterNotebookApp renaming
jtpio Feb 25, 2022
e049582
Additional renaming
jtpio Feb 25, 2022
080efd0
Remove serverextension enable from Binder
jtpio Feb 25, 2022
d8429b9
Update view menu ref snapshots
jtpio Feb 25, 2022
aa57936
Update afterAll hooks
jtpio Feb 25, 2022
2de3524
Shutdown in afterEach
jtpio Feb 25, 2022
221d5ea
Rename CSS class
jtpio Feb 28, 2022
e4013b1
Fix Jupyter logo in the about dialog
jtpio Feb 28, 2022
dad367e
Rename leftover retro commands
jtpio Feb 28, 2022
7a00d63
Fix yarn.lock
jtpio Mar 1, 2022
c0f3dc0
Update to Notebook v7
jtpio Mar 1, 2022
5b6ed99
Cleanup previous files
jtpio Mar 1, 2022
104af9b
Lint
jtpio Mar 1, 2022
cd3ee26
Add missing templates
jtpio Mar 1, 2022
e314dc7
Lint more md files
jtpio Mar 1, 2022
3311804
Update check-manifest ignore list
jtpio Mar 1, 2022
53556bd
Cleanup docs-translations
jtpio Mar 1, 2022
4c61a9a
Re-add binder example
jtpio Mar 1, 2022
18bb945
Fix typo in pyproject.toml
jtpio Mar 1, 2022
b170630
Iterate on the README
jtpio Mar 2, 2022
85ddb6f
Remove autogen_config
jtpio Mar 2, 2022
cde6ad6
Fix docs conf.py
jtpio Mar 2, 2022
92d7ba5
Add `test` extras require
jtpio Mar 2, 2022
29048b3
Add nbval to test requires
jtpio Mar 2, 2022
a5f712d
Remove jupyter_server import in conf.py
jtpio Mar 2, 2022
effbbac
Add quick note about Notebook v7 in the readme
jtpio Mar 4, 2022
b48c225
Use pydata-sphinx-theme
jtpio Mar 4, 2022
be0726f
Update html_theme in conf.py
jtpio Mar 4, 2022
38832b3
Update doc-requirements.txt
jtpio Mar 4, 2022
f487ec8
Fix docs sections
jtpio Mar 4, 2022
58d701a
Cleanup Configuration section in the docs
jtpio Mar 4, 2022
c31203e
Cleanup User Documentation
jtpio Mar 4, 2022
d726fb7
Link to JupyterLab resources
jtpio Mar 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

19 changes: 19 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[bumpversion]
current_version = 7, 0, 0, 'alpha', 0
commit = False
tag = False
parse = (?P<major>\d+)\,\ (?P<minor>\d+)\,\ (?P<patch>\d+)\,\ \'(?P<release>\S+)\'\,\ (?P<build>\d+)
serialize =
{major}, {minor}, {patch}, '{release}', {build}

[bumpversion:part:release]
optional_value = final
values =
alpha
beta
candidate
final

[bumpversion:part:build]

[bumpversion:file:notebook/_version.py]
27 changes: 22 additions & 5 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
*.min.js
*components*
*node_modules*
*built*
*build*
lint-staged.config.js
.eslintrc.js

node_modules
**/build
**/lib
**/node_modules
**/mock_packages
**/static
**/typings
**/schemas
**/themes
coverage
*.map.js
*.bundle.js

# jetbrains IDE stuff
.idea/

# ms IDE stuff
.history/
.vscode/
57 changes: 57 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
module.exports = {
env: {
browser: true,
es6: true,
commonjs: true,
node: true,
'jest/globals': true
},
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'plugin:react/recommended',
'plugin:jest/recommended'
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.eslint.json',
sourceType: 'module'
},
plugins: ['@typescript-eslint', 'jest'],
rules: {
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'interface',
format: ['PascalCase'],
custom: {
regex: '^I[A-Z]',
match: true
}
}
],
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/quotes': [
'error',
'single',
{ avoidEscape: true, allowTemplateLiterals: false }
],
'jest/no-done-callback': 'off',
curly: ['error', 'all'],
eqeqeq: 'error',
'prefer-arrow-callback': 'error'
},
settings: {
react: {
version: 'detect'
}
}
};
22 changes: 11 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"semi": 1,
"no-cond-assign": 2,
"no-debugger": 2,
"comma-dangle": 0,
"no-unreachable" : 2
}
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"semi": 1,
"no-cond-assign": 2,
"no-debugger": 2,
"comma-dangle": 0,
"no-unreachable": 2
}
}
16 changes: 8 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---

name: Is this a bug in Notebook? Open an issue.
about: If you're not sure, feel free to post your question on Jupyter's Discourse channel.
title: ''
labels: ''
assignees: ''

---

<!--
---<!--
BEFORE YOU OPEN AN ISSUE, PLEASE READ THIS

Hello! Thank you for using Jupyter Notebook. We're glad you're here.
Expand All @@ -23,13 +21,14 @@ If you're having issues installing Jupyter Notebook, or you're having another is
1. scan the "What to do when things go wrong" (https://jupyter-notebook.readthedocs.io/en/stable/troubleshooting.html#what-to-do-when-things-go-wrong) page in our documentation to see if your question has already been answered

2. post your question on the Jupyter Notebook discourse channel (https://discourse.jupyter.org/c/notebook/31). There are many more people in the Jupyter community that engage on that channel.
-->
-->

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -42,9 +41,10 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
44 changes: 44 additions & 0 deletions .github/actions/build-dist/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "Build Jupyter Notebook"
description: "Build Jupyter Notebook from source"
runs:
using: "composite"
steps:
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade jupyter_packaging~=0.10 "jupyterlab>=4.0.0a20,<5" build

- name: Build pypi distributions
shell: bash
run: |
python -m build

- name: Build npm distributions
shell: bash
run: |
mkdir pkgs
jlpm lerna exec -- npm pack
cp packages/*/*.tgz pkgs

- name: Build checksum file
shell: bash
run: |
cd dist
sha256sum * | tee SHA256SUMS
cd ../pkgs
sha256sum * | tee SHA256SUMS

- name: Upload distributions
uses: actions/upload-artifact@v2
with:
name: notebook-dist-${{ github.run_number }}
path: ./dist

- name: Upload distributions
uses: actions/upload-artifact@v2
with:
name: notebook-pkgs-${{ github.run_number }}
path: ./pkgs
15 changes: 15 additions & 0 deletions .github/workflows/binder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Binder Badge
on:
pull_request_target:
types: [opened]

jobs:
binder:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/binder-link@v1
with:
github_token: ${{ secrets.github_token }}
url_path: tree
110 changes: 110 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
name: Build

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

permissions:
contents:
write

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

defaults:
run:
shell: bash -l {0}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build
uses: ./.github/actions/build-dist

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install dependencies
run: |
python -m pip install -U jupyter_packaging~=0.10

- name: Install the package
run: |
python -m pip install .
jupyter labextension list 2>&1 | grep -ie "@jupyter-notebook/lab-extension.*enabled.*ok" -
jupyter server extension list 2>&1 | grep -ie "notebook.*enabled" -
python -m jupyterlab.browser_check

- name: Lint
run: |
jlpm
jlpm run eslint:check
jlpm run prettier:check

- name: Test
run: |
jlpm run build:test
jlpm run test

install:
needs: [build]
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
python: ['3.7', '3.10']
include:
- python: '3.7'
dist: 'notebook*.tar.gz'
- python: '3.10'
dist: 'notebook*.whl'
- os: windows
py_cmd: python
- os: macos
py_cmd: python3
- os: ubuntu
py_cmd: python
steps:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: 'x64'
- uses: actions/download-artifact@v2
with:
name: notebook-dist-${{ github.run_number }}
path: ./dist
- name: Install the prerequisites
run: |
${{ matrix.py_cmd }} -m pip install pip wheel
- name: Install the package
run: |
cd dist
${{ matrix.py_cmd }} -m pip install -vv ${{ matrix.dist }}
- name: Validate environment
run: |
${{ matrix.py_cmd }} -m pip freeze
${{ matrix.py_cmd }} -m pip check
- name: Validate the install
run: |
jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "@jupyter-notebook/lab-extension.*enabled.*ok" -
jupyter server extension list
jupyter server extension list 2>&1 | grep -ie "notebook.*enabled" -
jupyter notebook --version
jupyter notebook --help
Loading