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

New approach for JupyterLab 3 #605

Closed
wants to merge 49 commits into from
Closed
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
0637903
First stand-alone app
fcollonval Nov 12, 2021
b9151e4
Lab like app
fcollonval Nov 15, 2021
bdb826e
Be sure Reveal layout takes over
fcollonval Nov 15, 2021
ecedeb9
Pass notebook path as part of URL
fcollonval Nov 15, 2021
a152583
Fix loading included files
fcollonval Nov 15, 2021
94069ca
Add widgets test case
fcollonval Nov 15, 2021
06177d7
Reduce mandatory plugin list
fcollonval Nov 15, 2021
d792bc5
Add JupyterLab extension
fcollonval Nov 15, 2021
643638b
Fix webpack shared scope
fcollonval Nov 15, 2021
4361160
Rename classic to nbextension
fcollonval Nov 15, 2021
cd75d28
Restructure the repo as one python pkg
fcollonval Nov 15, 2021
c5a4a45
Remove symlink
fcollonval Nov 15, 2021
ee6dea9
Keep License and Readme as symlink
fcollonval Nov 15, 2021
62e1e6a
Improve binder environment
fcollonval Nov 15, 2021
d9b9cd8
Lint code
fcollonval Nov 15, 2021
646b7e3
Fix python sdist bdist
fcollonval Nov 15, 2021
77d9cde
Pin package to JLab 3.0
fcollonval Nov 15, 2021
42a9d9a
Fix for binder
fcollonval Nov 16, 2021
9bd084b
Add folder structure description
fcollonval Nov 17, 2021
3413608
Correct git pre-commit hook
fcollonval Nov 20, 2021
f564c90
Lint code
fcollonval Nov 20, 2021
4091fec
Upgrade yarn.lock
fcollonval Nov 20, 2021
105449d
- Remove toolbar
fcollonval Nov 20, 2021
5203b1f
Preview side-by-side in JLab
fcollonval Nov 20, 2021
fb8048e
Fix `watch` script
fcollonval Nov 21, 2021
c53a797
Add note about `watch` script and update folder structure
fcollonval Nov 21, 2021
823c24f
develop doc: remove obsolete intro, and reformat
parmentelat Nov 20, 2021
a95f20d
a test notebook
parmentelat Nov 20, 2021
b21f231
an attempt at re-implementing the logic for all 5 slide types
parmentelat Nov 21, 2021
acae3fd
Merge pull request #1 from parmentelat/ft/jlab3
fcollonval Nov 22, 2021
d51d867
Multiple enhancements
fcollonval Nov 26, 2021
7ee2bd1
Chalkboard and notes are working
fcollonval Nov 26, 2021
e46ba5c
Propagate activeCell from JLab to Rise
fcollonval Nov 26, 2021
d18dcd9
Add support for autolaunch
fcollonval Nov 26, 2021
efc3f5c
Fix open in new tab in preview
fcollonval Nov 26, 2021
c35a620
Fix yarn install and building steps, otherwise they failed when you s…
damianavila Nov 28, 2021
73f8937
Update icon
fcollonval Nov 30, 2021
03f6228
Fix fullscreen
fcollonval Nov 30, 2021
c95a034
Remove some ugly styles
fcollonval Nov 30, 2021
fd518eb
Support auto fullscreen
fcollonval Dec 10, 2021
8f5be28
Load colocalized CSS style sheet
fcollonval Dec 10, 2021
301c815
Load collocated `rise.css`
fcollonval Dec 10, 2021
78956a2
add mention to pip install -e . in the dev doc
parmentelat Dec 11, 2021
6845408
tweak dev doc again
parmentelat Dec 13, 2021
c6c2f41
add more samples of all the title levels
parmentelat Dec 13, 2021
e774243
a very rough attempt at fixing font sizes
parmentelat Dec 13, 2021
03071d4
fixing the size of <li> elements (#4)
parmentelat Jun 30, 2022
30554a9
fix speaker notes (#5)
YiqinZhang Aug 5, 2022
023fd81
Fix toggle all RISE buttons on slides (#6)
YiqinZhang Sep 20, 2022
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
15 changes: 15 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
node_modules
dist
coverage
**/*.d.ts
tests

node_modules
**/build
**/lib
**/node_modules
**/static
packages/rise-reveal/export

.eslintrc.js
lint-staged.config.js
42 changes: 42 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended'
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.eslint.json',
sourceType: 'module'
},
plugins: ['@typescript-eslint'],
globals: {
document: 'readonly'
},
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-use-before-define': 'off',
'@typescript-eslint/quotes': [
'error',
'single',
{ avoidEscape: true, allowTemplateLiterals: false }
],
curly: ['error', 'all'],
eqeqeq: 'error',
'prefer-arrow-callback': 'error'
}
};
130 changes: 120 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,121 @@
classic/rise/static/main.css
classic/rise/static/reveal.js/
classic/rise/static/reveal.js-chalkboard/
classic/build/
classic/dist/
classic/rise.egg-info/
classic/rise/__pycache__/
rise-reveal/export/
doc/_build/
.ipynb_checkpoints/
node_modules
rise/labextension/
rise/nbextension/main.css
rise/nbextension/reveal*
rise/schemas/
rise/static/*
rise/static/favicons
packages/rise-reveal/export/
packages/rise-reveal/package-lock.json

*.bundle.*
lib/
node_modules/
*.egg-info/
.ipynb_checkpoints
*.tsbuildinfo

# Created by https://www.gitignore.io/api/python
# Edit at https://www.gitignore.io/?templates=python

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# End of https://www.gitignore.io/api/python

# OSX files
.DS_Store
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules
**/node_modules
**/lib
**/package.json
rise/
app/webpack.config.js
packages/rise-reveal/export
examples
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid"
}
2 changes: 1 addition & 1 deletion LICENSE.md
26 changes: 26 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
include LICENSE.md
include README.md
include pyproject.toml
include package.json
include install.json
include ts*.json
include yarn.lock

recursive-include jupyter-config *.json

graft rise/labextension
graft rise/nbextension

# Javascript files
graft app
graft packages
prune **/node_modules
prune lib
prune binder

# Patterns to exclude from any directory
global-exclude *~
global-exclude *.pyc
global-exclude *.pyo
global-exclude .git
global-exclude .ipynb_checkpoints
2 changes: 1 addition & 1 deletion README.md
Loading