Skip to content

Commit

Permalink
Creates cell-toolbar, cell-toolbar-extension packages and populates t…
Browse files Browse the repository at this point in the history
…oolbar (jupyterlab#12028)

* Remove filter assignment from the source kernel body

Co-authored-by: Frédéric Collonval <[email protected]>

* Use defaultKernelSourcesFilter naming

Co-authored-by: Frédéric Collonval <[email protected]>

* use capabilitis from the initializeResponse

* placeholder on the kernel source filter input box

* toggle the filter box for the kernel sources

* use usesignal for the kernel sources filter box

* better catch and show message for the kernel sources

* lint

* update galata for the kernel sources changes

* update galata for the kernel sources changes

* fix debugger test, debugger has now 5 panels

* update galata for the kernel sources panel

* Update several extensions readme files to delete old content. (jupyterlab#11947)

This was based on suggestions at https://discourse.jupyter.org/t/what-is-the-2022-way-to-display-javascript-in-a-python-notebook-in-jupyter-lab/12318 by @mwouts.

* Fix autocomplete in console (jupyterlab#11949)

* Add awareness on standalone cell
To restore cursor activity event

* Add test for the completer

* Update completer snapshots

* Remove tslint comment and move `Token` to `tokens.ts` (jupyterlab#11955)

* Remove tslint comment as we use eslint now

* Move launcher token in `tokens.ts` file

* Move toc Token to token.ts

* Move ILabStatus token to tokens.ts

* Lint and fix the code

* Update migration guide for the ToC

* Fix toc js test

* Updates code, documentation to use new standard terms for cell output (jupyterlab#11904)

* Makes writing style section follow its own advice

* Renames menu items per jupyterlab#11878

* Adds Notebook Cells section, style edit

* Updates test images

* Adds "For example"

* Style edits per @3coins

* Add section on Command Names

* Updates per @krassowski and @3coins

* All Cell Outputs -> Outputs of All Cells, per @krassowski

* Updates test case files

* Use playwright to generate documentation screenshots (jupyterlab#11821)

* WIP playwright for doc screenshots

* WIP Automate documentation screenshots

* Remove old snapshots

* Fix CI

* Fix demo path

* GITHUB_WORKSPACE is undefined

* More documentation screenshots

* Add debugger tutorial

* Extension manager

* Add export notebook screenshots

* Use different names for artifacts

* Add internationalization screenshots

* Pin 3rd-party dep to ensure snapshot consistency

* WIP Use automated screenshots in doc

* Fix doc warnings

* Use manual screenshots for those with variance

* Ignore automated screenshots links

* Fix toml syntax

* Relax image ignore link

* Use jupyter-renderers master

* Improve robustness

* Update screenshots

* Fix mocking content

* Update snapshot

* Upload screenshots changing at runtime

* Switch to non-gif image
Increase tolerance on snapshot with map

* More test tuning

* Fix VDOM

* Use latest jupyterlab-geojson release

* Remove unused import

* More freezing dep

* Fix pip requirement syntax

* Update snapshots

* More snapshot update

* Make Altair test more robust

* Create extra sections for documentation deps

* Install optional dependencies first

* Update documentation for installing documentation dependencies

* Fix typo

* Improve code block highlight

* Update debugger screenshots

* Set pointer-event on capture area

* Add slow motion to reduce flakyness

* Increase timeout for documentation to cover slow motion

* Fix General Welcome documentation test (jupyterlab#11961)

* Add settings UI (jupyterlab#11079)

* Initial move of @elyra/metdata-extension into core

This move includes all the code needed to run the metadata-extension
including a lot of unecessary code that should be identified and
removed later. In it's current state the code builds but does not
run properly. It also fails test, validation, and lint.

* Commit missing changes for inital metadata commmit

* Fix CSS bug

* Fix lint

* Add trash icon

* Add basic ability to edit settings with metadata editor

* Fix icon and add boolean input

* missing svg file

* Add string array input

* Use existing values for fields

* Fix lint error

* Fix lint

* Add support for JSON inputs and more coverage

* Clean up code

* Add validation, edge cases, and clean up wording

* Add validation

* Add scrolling between settings

* Add modified settings, better style

* Change all elyra css to jp

* Update css to use jp

* Split metadata package into metadata and formeditor

* Add setting editor registry and temporary shortcuts UI example

* Move call to addRenderer to extension activate function

* Add collapse button

* Add type for registry

* Change to use react for plugin list

* Re-add confirm option

* Use switch from checkbox to switch for booleans

* Refactor metadata editor to form editor

* Fix build error

* Fix edge cases

* Update modified indicator

* Fix search

* Update modified indicator style

* Refactor setting editor

* Clean code and fix console warnings

* Add tooltips to switch

* Clean up commented out code

* Fix reset button

* Clean up code and fix markdown viewer settings

* Use category label instead of id

* Refactor modified fields

* Add raw editor switch

* Fix showing bug / add instructions back

* Add sidebar

* Package integrity updates

* Fix scroll highlighting

* Remove shortcuts UI test code

* Fix style for array component

* Fix array style and remove shortcuts change

* Add some translation, dark mode, and integrity updates

* Add more style to array

* Package integrity updates

* Add comments and add back in some functionality of raw editor

* Fix shortcuts package version

* Fix shortcuts package version

* Fix shortcuts package version

* Fix shortcuts package version

* Fix shortcuts package version

* Update licenses

* Remove metadata ext code to be donated in later PR

* Add comments and clean up code

* Package integrity updates

* Integrity and reset yarn lock

* Fix duplicate file

* Remove material ui (need to add styles)

* Add CSS to new components

* More style changes

* Fix restore to default string array

* Fix bugs

* Fix modified indicator style

* Style updates

* Move files into ui-components

* Fix integrity

* Clean up ui-components

* Move codeblock into codeeditor to avoid circular dependencies

* Remove circular dependency

* Fix compile error

* Move search bar to ui-components

* Move FilterBox to ui-components

* Revert "Remove shortcuts UI test code"

This reverts commit a228158.

* Allow for custom renderers and add example

* Remove unused files

* Remove code editor

* Change filename and clean up more files

* Clean up code

* Integrity updates

* Fix defaults

* Update schema and add small performance update

* Add accordion for performance

* Automatically expand plugin settings on selection in list

* Fix scroll select bug

* Add style and descriptions

* Show invalid plugin settings in plugin list

* Fix restore button bug

* Fix broken types

* Add initial support for separate json setting editor

* Fix up json editor

* Update filenames

* Move json editor into separate extension

* Revert plugineditor changes and fix icon color

* Fix json editor

* Fix errors

* Fix integrity

* Fix integrity

* Fix integrity

* Fix integrity

* Address review

* Remove defaults

* Add more documentation

* Fix typo in schema

* remove style from metapackage

* Package integrity updates

* Remove style from metapackage

* Make layout restorer optional

* Add better documentation and types

* Fix integrity

* Fix type errors'

* Update documentation of SettingsFormEditor component

* Fix types for fields that won't render

* Switch to using composite value

* Change CSS to overlap between setting editor and json setting editor

* Add pointer for entire checkbox

* Fix integrity

* Update tracker schema

* Fix integrity

* Fix text editor settings

* Integrity fix

* Update snapshot for settings menu

* Fix package version inconsistency

* Lint fix

* Fix yarn merge

* Revert forcing using one worker for UI tests

* Remove unused variable

* Add button to open JSON editor

* Integrity updates

* Fix lint

* Update wording of commands

* Remove scroll selection and add some style updates

* Add idprefix and fix test

* Fix tests id

* Fix extra settings title

* Update css and update snapshot

* Fix small field bug

* Fix hidden fields

* Add accessible buttons in array fields

* Fix reorder buttons

* Add back isModified

* Update test for new button

* Update style of modified indicator

* Add debouncer

* Add lumino dependency

* Fix lint

* Fill in optional defaults

* Hard code context menu / main menu to be hidden

* Add pop-out icon to the json settings button

* Integrity updates

* Fix console error

* Fix error bug

* Move title outside of array items

* Add titles for some properties

* Move to lodash debouncer (maybe temporary)

* Integrity

* Remove unused dependency

* Change  to class to enable the debouncer

* Remove ladash dependency

* Add save status indicator

* Integrity fix

* Fix isModified true on initial load of settings

* Add enum for theme settings

* Fix autosave default bug

* Fix saving bug

* Update isDefault

* Fix isModified

* Integrity updates

* Fix icon styling

* Allow external tuning of skipped plugins list

* Use MainAreaWidget
Use toolbar button to add opening legacy editor

* Use status bar to report settings saving status

* Add translation

* Improve translation

* Translation for the shortcut editor

* Lint the code

* Package integrity updates

* Remove unused react-dom

* Apply review correction

* Add carets to indicate collapse state

* Lint

* Open only one plugin at a time

Co-authored-by: Alex Bozarth <[email protected]>
Co-authored-by: Frédéric Collonval <[email protected]>
Co-authored-by: Frédéric Collonval <[email protected]>

* Fix for kernel reconnect (jupyterlab#11952)

Co-authored-by: Piyush Jain <[email protected]>

* Fix the debug modules model (jupyterlab#11967)

* fix the debug modules model

* use name and path fields from the modules response

* Backport PR jupyterlab#11973: Adjust z-index of execution progress tooltip (jupyterlab#11994)

Co-authored-by: Abhishek K M <[email protected]>

* Adopt stylelint and apply initial rules (jupyterlab#11944)

* add stylelint, sort setup.cfg deps

* enable fixing

* revert setup.cfg changes

* comment no-eol-whitespace to show a trivial fail

* add stylelint:check to ci

* enable stylelint cache

* use stylelint to fix no-eol-whitespace

* [stylelint] fix block-no-empty, ignore nbconvert-css

* [stylelint] declaration-block-no-duplicate-properties

* [stylelint] declaration-block-no-shorthand-property-overrides

* [stylelint] no-duplicate-selectors

* revert toolbar padding change

* normalize formatting with stylelint(-config)-prettier

* explicitly add recommended

* [stylelint] no-invalid-position-at-import-rule

* resolve, dedupe yarn.lock

* Automated Changelog Entry Forward Ported from v3.3.0a3 (jupyterlab#11999)

Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>

* fix a  bumpversion example in release markdown

* Update setting css (jupyterlab#11976)

* Refactor completer and completer-extension package (jupyterlab#11795)

* Refactor `completer` and `completer-extension` package

* Apply suggestions

* Fix contrast in dark theme of settings editor (jupyterlab#12004)

* Automated Changelog Entry Forward Ported from v3.2.9 (jupyterlab#12008)

Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>

* Backport PR jupyterlab#12002: docs: fix shell command with unquoted '>' (jupyterlab#12014)

Co-authored-by: Erik Bjäreholt <[email protected]>

* Add legacy editor to same palette category (jupyterlab#11978)

* Package integrity updates for new cell-toolbar package

* Package integrity updates for cell-toolbar-extension

* Modifies packages to indicate that they are core dependencies

* Changes per @3coins

* Adds extension (per @3coins) as exported. Updates integrity

* Package integrity updates

* Adds missing files

* Blocks cell-toolbar, cell-toolbar-extension from adding CSS to metapackage

* Removes style file

* Adds cell-toolbar-extension to dev_mode

* Adds dependency in cell-toolbar-extension on cell-toolbar

* Adds code from jlab-enhanced-cell-toolbar

* Adds static resources for cell toolbar

* Adds schema

* Updates extension build file

* Adds code, styling

* Additional dependencies

* WIP changes: exports, imports

* Update dependencies

* Package integrity updates

* Removes style files from metapackage/package.json

* Corrects export/import

* Import toolbar from ui-components, where it is supported

* Moves "left" items to render in middle

* Updates class name, updates icons

* Remove unused imports

* Bump simple-get from 3.1.0 to 3.1.1 (jupyterlab#12010)

Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](feross/simple-get@v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Mehmet job update to Netflix

* show pause on exception button when not available and change caption to reflect status (jupyterlab#12005)

* Automated Changelog Entry Forward Ported from v3.3.0b0 (jupyterlab#12037)

Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>

* use path-like comparison in initialize_templates() (jupyterlab#12024)

* use path comparison instead of string comparisons

* fix

* Loads settings from cell-toolbar-extension

* Update styling for cell toolbar

* Reinstates right menu items

* Style updates to force overlap

* Adds move-down, move-up icons to toolbar

* Adds default buttons including move up and move down

* adds "Duplicate" command, connects it to cell toolbar

* Replace "Duplicate" with "Copy"

* Adjust cell toolbar styling

* Adds insert-cell-above/below

* Update snapshot following settings editor new wording (jupyterlab#12035)

Fixes jupyterlab#12023

* apply all but a few fixers

* apply fixers

* apply more styles

* Removes right menu, tags list

* Copies icon definitions out of icon.ts so I can delete icon.ts

* Updates comment

* Removes icon.ts file, as nothing imports from it

* Styles border of markdown output

* Add cells above/below

* Simplifies styling, moves to right

* Adds jp-icon3 class to move up/down icons

* Adds new "add above/below" icons

* Updates down/up arrows with rounding

* Deletes rules for unused buttons

* Removes unused tag bar files, CSS classes

* Adds an optional click handler that takes an event parameter

* Adds comment to explain stopPropagation

* Update to `react-json-tree@^0.16.1` (jupyterlab#12044)

* Update to `react-json-tree@^0.16.1`

* Switch to name import

* Handle shutdown error (jupyterlab#12048)

* handle shutdown error

* capture starting values for shutdown reset

* Polish settings editor (jupyterlab#12045)

* Fix settings heading hierarchy: do not use h3 for description

as it distorts the outline which is detrimental to accessibility;
instead use the `<header>` pattern as recommended by W3C in:
https://www.w3.org/TR/2017/WD-html52-20170228/common-idioms-without-dedicated-elements.html

Also, do not rely on style the caret icon by element but by class name
(using this pattern reduces cognitive burden and improves performance).

* Match font sizes to heading hierarchy

* Remove unused rule (`field-description` is a class, not an ID,

and this element is hidden anyways).

* Make settings compact, display descriptions for all fields

except for shortcuts which would take a lot of screen.
Use flex-wrap for responsive display

* Improve schema for settings editor

* Implement add/remove/edit for objects, use JupyterLab button styles

* Parse URL parameters without lib0 (jupyterlab#12046)

* Correct heading anchors and myst config (jupyterlab#12063)

Fixes jupyterlab#12049

* Debounce kernel sources filter (jupyterlab#12030)

* Debounce the kernel sources filter

* Add lumino polling dep to debugger package

* set the kernel sources filter debounce time to 500ms

* mark promise with void

* simplify the kernel source filter state

* define the deboucer rate limit as a constant

* Settings UI gives an unreadable JSON dump (jupyterlab#12064)

Fixes jupyterlab#12057

* Bump follow-redirects from 1.14.7 to 1.14.8 (jupyterlab#12050)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump json-schema from 0.3.0 to 0.4.0 (jupyterlab#11974)

Bumps [json-schema](https://github.com/kriszyp/json-schema) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](kriszyp/json-schema@v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Playwright snapshots from PR comments (jupyterlab#12040)

* Update Playwright snapshots from PR comments
Stop computing every time the new snapshots to reduce CI job time in case of failure

* Fix integrity

* Add _please _ to matching comment expression

* Update docs/source/developer/contributing.rst

Co-authored-by: Jeremy Tuloup <[email protected]>

Co-authored-by: Jeremy Tuloup <[email protected]>

* Dynamically update toolbar from settings

* Fix unit test

* Fix linter

* Fix tests and example

* Fix disabled being ignored

* Replaces references to jp-enh-cell-* with jp-cell-*

* Update completer part 2 (jupyterlab#11969)

* Refactor `completer` and `completer-extension` package

* Apply suggestions

* Update completer - part 2

* Update setting UI

* Apply reviewer's suggestions

* Improve wording.

* Automated Changelog Entry Forward Ported from v3.3.0rc0 (jupyterlab#12086)

Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>

* update status to unkown when kernel is shutdown from running kernels tab (jupyterlab#12083)

Co-authored-by: Akshay Chitneni <[email protected]>

* Pull request must target master (jupyterlab#12088)

* Log error on open document widget. (jupyterlab#12080)

* Log error on widget opening.

* Update packages/docmanager/src/manager.ts

Co-authored-by: Frédéric Collonval <[email protected]>

Co-authored-by: Frédéric Collonval <[email protected]>

* Bump url-parse from 1.5.4 to 1.5.6 (jupyterlab#12076)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.4...1.5.6)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Stabilize documentation CI tests (jupyterlab#12043)

* Wait for two refresh cycle before capturing screenshots

* Remove unneeded window

* Fix server redirect

* Add commented config to set server log level

* Wait for animation frame in `page.evaluate`

* Wait for 3 frames

* Update snapshot

* Add documentation

* Fix some eslint warnings

* Update reference with rendered Latex

* Add wait for additional selectors

* Another snapshot update

* Lint code

* For layout state for documentation

* Try another relative size

* Test closing and reopening the left sidebar before taking a snapshot

* Use the capture area helper to not block event

* Revert "Test closing and reopening the left sidebar before taking a snapshot"

This reverts commit 8ff360d.

* Another try

* Fix typo

Co-authored-by: Jeremy Tuloup <[email protected]>

* Adds logic to decide whether to show the toolbar on cell change

* Whitespace changes

* Whitespace changes

* Helps unrendered markdown cells show toolbar

* Remove toolbar factory setting trick in the tests (jupyterlab#12096)

* Checks each cell as it is modified

* Checks for overlap in rendered markdown

* Fix error rendering in Advanced Settings Editor (jupyterlab#12107)

* Drop nbclassic

* Remove more notebook specific checks

* Drop --notebook call

* Remove the Launch Classic command

* Update `ipython` dependency to `ipykernel`

* Update reference snapshots

* add notebook_shim as a replacement for nbclassic

* Improve toggled button styles in debugger. (jupyterlab#12110)

* Improve toggled button styles in debugger.
Fixes jupyterlab#12109

* Increase icon contrast when hover

* Automated Changelog Entry for 4.0.0a20 on master (jupyterlab#12118)

* Automated Changelog Entry for 4.0.0a20 on master

* Lint

Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>

* [ci skip] New version

 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]
 - [email protected]
 - @jupyterlab/[email protected]
 - @jupyterlab/[email protected]

* [ci skip] Bump version

* [ci skip] Publish 4.0.0a20

SHA256 hashes:

jupyterlab-4.0.0a20-py3-none-any.whl: 23e9181c3fce7d1fbc0dfac49f890b31624ac28651389170a5425641a6b988af

jupyterlab-4.0.0a20.tar.gz: 35d5bf60c100e47aba39bea79f3983015a4734f23786a7b3173c0324274f208a

jupyterlab-application-4.0.0-alpha.5.tgz: 869512f8825a7c03e41dc876c05a55d59fda4c589b7dc6aafffb708ee6efc849

jupyterlab-application-extension-4.0.0-alpha.5.tgz: a032e3b15820ca2702e0a10d89ed06f4922b3ca87759550b752f46594e7e54a0

jupyterlab-apputils-4.0.0-alpha.5.tgz: 368bede0d6f14adb21a6e97540f936b2f2ef7b9d44db907a26244ccfd6017614

jupyterlab-apputils-extension-4.0.0-alpha.5.tgz: e8f454d35c91e5e3aefc1222bb22e1c390581e890ddac0d5e6f1abaaf2c963be

jupyterlab-attachments-4.0.0-alpha.5.tgz: 1340fea2c5d09edb7717bbfdc0112c769f4985ff8402488a16766db291114a1b

jupyterlab-builder-4.0.0-alpha.5.tgz: 01607082a35c37ce5978e499f8b1dc6e0e61bfb4edd9e2ceac60e9caa43c0e25

jupyterlab-buildutils-4.0.0-alpha.5.tgz: d3efaf6958aef67da6ea0685f1ca1f452167d8c45b6833248989ce7d4a6d3f02

jupyterlab-cells-4.0.0-alpha.5.tgz: d1edfd238db7dab0be2d13ad05dcadce6e672834c8b667aff49d9319e0de63af

jupyterlab-celltags-4.0.0-alpha.5.tgz: d1572ebc6f9bc32c4d581aa826b2a8a05c3a7e1b5adad5eaeb3346e9201ddb59

jupyterlab-celltags-extension-4.0.0-alpha.5.tgz: cc79e1116df3bc58b36301487b5a1ae88e2069dd82a3c63d1d362a64624be555

jupyterlab-codeeditor-4.0.0-alpha.5.tgz: 16d8716bd73ea8f713b235a82d550c95177324e2e94ee52e51ffc1d6ef2d8fdd

jupyterlab-codemirror-4.0.0-alpha.5.tgz: a3bdc7268e5506126386decefc3688808b306396c18715a2f959c4243cca6fb8

jupyterlab-codemirror-extension-4.0.0-alpha.5.tgz: 0366eb85e215355ca10d64c5f618a6259cabeedaa98ea8fa3336b4427e696870

jupyterlab-completer-4.0.0-alpha.5.tgz: 63869bb8bbbf7309898eda9d9dc9e6748e73d9f60b4016e5505b5efd50283911

jupyterlab-completer-extension-4.0.0-alpha.5.tgz: da664f8e1d2151edac0e6d497f3044505444837fbc3534309fde2331efec4517

jupyterlab-console-4.0.0-alpha.5.tgz: e88caaf79d729580f754562fc45978f248375ebdc7971f4367dae564d0c53df6

jupyterlab-console-extension-4.0.0-alpha.5.tgz: 839fb07c6fb598005d0b7c9ab651b3852be0e7f3605ed09ebd09c5d3e3dc3e1e

jupyterlab-coreutils-6.0.0-alpha.5.tgz: 0daadc80ac5dfc8c8b846400e11075eb16c578001cfb4e72b0f021e4d64db910

jupyterlab-csvviewer-4.0.0-alpha.5.tgz: b76407701fef27d2c870553b4feef399aa9f7975c28bc9a3074393b851f5f875

jupyterlab-csvviewer-extension-4.0.0-alpha.5.tgz: 6365908e78e6d1a0672112e40dd4526cdb3b3dae4f0c7117d918edf49aa957b0

jupyterlab-debugger-4.0.0-alpha.5.tgz: 0438877775231dbd08d192fe04af0e9b34000383939d879bf069cd2330bd8406

jupyterlab-debugger-extension-4.0.0-alpha.5.tgz: f557647aaebf133001326386188ebfc4d2f4805879a88e9029133d6da33f2a90

jupyterlab-docmanager-4.0.0-alpha.5.tgz: c5422be000b7b46d51e9bfc7d1f639c588abde6023d8b02d4382ebb73812a008

jupyterlab-docmanager-extension-4.0.0-alpha.5.tgz: 31c989b751f34390eb5aeb0bb48732f21e732ad40b01358bbf447acddf6df0f2

jupyterlab-docprovider-4.0.0-alpha.5.tgz: d6418b5e5100efba732e9ae00072fc52be74bc5163feede6a80306a367f8025c

jupyterlab-docprovider-extension-4.0.0-alpha.5.tgz: 5fef34a49ec46c65ad45376f1f63c372bb69c5d3cf3c14f46b3378543ff878e4

jupyterlab-docregistry-4.0.0-alpha.5.tgz: 765d02d4362e4a0ee5d5610b1fb77ff120961b0cd8a1ddfae6d627340edc0d17

jupyterlab-documentsearch-4.0.0-alpha.5.tgz: 2d9c13307fb44f458ac0a8e05894690658f16b3e8b8c2f9bd6540627ae3ca3df

jupyterlab-documentsearch-extension-4.0.0-alpha.5.tgz: 628310e40e78bc002b8da0e4a3b6363a1c8eb45d0032df0fe4e33baf22717f0f

jupyterlab-extensionmanager-4.0.0-alpha.5.tgz: fb046eaa66e92f48c14619babc70ac73e3c19fa8fa2eb974d942fe573481a24d

jupyterlab-extensionmanager-extension-4.0.0-alpha.5.tgz: 282fe4920d8d2e499ff79e1a1f96606f5a0be95b34bda714befa86c3361c6d21

jupyterlab-filebrowser-4.0.0-alpha.5.tgz: 46e52103ee8043735aaae0fe093ff3705c85c4ec0c07c017638ad9776b494f16

jupyterlab-filebrowser-extension-4.0.0-alpha.5.tgz: a46a7beafdfa2d2304c4b8935eca8403d47597a19054b5e7716eebd53d664890

jupyterlab-fileeditor-4.0.0-alpha.5.tgz: 61faeb222f783405130afe1d17070d67d50fa02d66b32cee63490b2b1d3fa9ac

jupyterlab-fileeditor-extension-4.0.0-alpha.5.tgz: b9daa34c6e2ad62faaa23ff96e6e214bdfefe1f1b7da5bcb4995019786e9e886

jupyterlab-galata-5.0.0-alpha.5.tgz: bee4643bfe393739b44c4aaa3d7ecf285e512ff01f71dee9958cd6d3cf95d00d

jupyterlab-help-extension-4.0.0-alpha.5.tgz: 2a713c469411ed3f74a8c9a0f0691d631a9cfab9a87bf713ce8032688758032a

jupyterlab-htmlviewer-4.0.0-alpha.5.tgz: 0217b731b84ef18d2c8d50cbe3681fe431e50bb04cb7bfd5db12e878d6c8d6a6

jupyterlab-htmlviewer-extension-4.0.0-alpha.5.tgz: 303bddde5649b4ad871849b334bb1b5ea0fc08fda832a3217f296b78813fb34a

jupyterlab-hub-extension-4.0.0-alpha.5.tgz: 5145646095946a881ddbc00a16788470d71413c68cd7af541c78897b77f7bdd1

jupyterlab-imageviewer-4.0.0-alpha.5.tgz: b2c5085111dc4e817966cfb4c5e1127cff78bedbdf26090ff63049e8c0df897b

jupyterlab-imageviewer-extension-4.0.0-alpha.5.tgz: 4d38044fe4e22cde77e3784cca37c33533e7f10b3cc0505498c8b2447690bfc9

jupyterlab-inspector-4.0.0-alpha.5.tgz: 88c27e66c21bb50fcc2336ecc2e610180bd0274fd8e2322ba98c261d40dd862f

jupyterlab-inspector-extension-4.0.0-alpha.5.tgz: e8750b68ce912f0e1256f0f7a0342cd3a9d8d0bef19f4f16c79d454d786935c0

jupyterlab-javascript-extension-4.0.0-alpha.5.tgz: f528eefe070948df6d45cdaadfa64956eaa95ef8b3d89da0bb1cceafdae8a016

jupyterlab-json-extension-4.0.0-alpha.5.tgz: dbfe09fa94f70d0a1bdef988cea198b1e655de1792b47f6d61db79928d8a2c89

jupyterlab-launcher-4.0.0-alpha.5.tgz: 551066085237df03a9f2a4458fb1c1495597387ce6b29ad4199b948583db30b2

jupyterlab-launcher-extension-4.0.0-alpha.5.tgz: 15508ae2df26e0667d94f1a5fdede4542253d88a547b41f9c4a1d50c7f6cc5a2

jupyterlab-logconsole-4.0.0-alpha.5.tgz: 10dced4585e60f87aebc4b638ccda9272e2251f8bacc1e2ad20f68873255eb55

jupyterlab-logconsole-extension-4.0.0-alpha.5.tgz: 8cefc8f8922b6cbcc4fcf884a00f560374708269239243b9f25af4957022573f

jupyterlab-mainmenu-4.0.0-alpha.5.tgz: ede5f0b3dee02be8e2e2ace3049808173190c6f758a36d1c73bc1755dc845280

jupyterlab-mainmenu-extension-4.0.0-alpha.5.tgz: ce76239d1ebf3aff18a3936b2746f9c72917ab10f97c5b077595cc159567b96c

jupyterlab-markdownviewer-4.0.0-alpha.5.tgz: 360eaf867e6b3699472ce7dbf7c0fde5bbad2f89a0eb5b0341c5465c0dd190db

jupyterlab-markdownviewer-extension-4.0.0-alpha.5.tgz: e3f557e8e1564938386f3f882150f04809d097dcc5fa8aadc421957bc80b1b28

jupyterlab-mathjax2-4.0.0-alpha.5.tgz: a805cd806edc0a920dc6692ac16b722110816ff1bd0fc7913a938911ad535fe7

jupyterlab-mathjax2-extension-4.0.0-alpha.5.tgz: d5bd02cc19d65b1c66f04a698e5ca091ec9fa97bc95f9810dff89c7eb24728d4

jupyterlab-metapackage-4.0.0-alpha.5.tgz: 07888e13cc3011b01cab25fd25eb216aa5e10ebb141193409cfed53d76f4a230

jupyterlab-nbconvert-css-4.0.0-alpha.5.tgz: cfb912deaa72c1c62ed48c05bc38c882ead4a74a491f02b315d7f18d67cc607c

jupyterlab-nbformat-4.0.0-alpha.5.tgz: 833521aaf81e1c936ff6e3160335805879ff88e6e1f75d8e6bcfcee01d1dfaf4

jupyterlab-notebook-4.0.0-alpha.5.tgz: 6d28593b7669a0f8de6a839e22b3bf96190ae5bb27aec32fc33422a4b904dc98

jupyterlab-notebook-extension-4.0.0-alpha.5.tgz: f8a821510b07a1f9d78b566c11d5f20f363744cd39c52ce91592c7bca6122877

jupyterlab-observables-5.0.0-alpha.5.tgz: 289b24c300e254d4f91fa21023fb2bf102ff8e503e7b66cbc2789429421ba3ec

jupyterlab-outputarea-4.0.0-alpha.5.tgz: b952e7bde2415e39631430015dbf916a1fc5c36a24612cb2d0be87357c779ffc

jupyterlab-pdf-extension-4.0.0-alpha.5.tgz: f4d848bed5a0fbdcb38e781ebe9d25e3371ac11c3a275d9fac047eb196bdf362

jupyterlab-property-inspector-4.0.0-alpha.5.tgz: 4eac161c4b0f77eb6f325dc00f92514f7cbb11a216dcbf46602cdf1b984f161d

jupyterlab-rendermime-4.0.0-alpha.5.tgz: dea785f8eb1f60930f17be56a55646cade3a51702c7df8a85b7d6daf8418140e

jupyterlab-rendermime-extension-4.0.0-alpha.5.tgz: 1020d40fa7b4cbd0e2df4d26b660a69ebab9aa0ceb7a1b0c441bf2fd0694fa5c

jupyterlab-rendermime-interfaces-4.0.0-alpha.5.tgz: 8a926ee4e2f5a1d6bf19c567dc4c0c46d3afdb9d20c541c18abb9739210c2d43

jupyterlab-running-4.0.0-alpha.5.tgz: 5de21feb6834bb858be3bedbf4d6c8c6d5fc01def410ac701a6b0f76f3114a07

jupyterlab-running-extension-4.0.0-alpha.5.tgz: ec818be9eddd116e8d8f8546244b6ef31399fb6e0b9f53ff5d785ba0d8e11be3

jupyterlab-services-7.0.0-alpha.5.tgz: 5dca61ca2d0eae149e5178ba4da367eb590025ba79721ebfa65fb4e95fa40682

jupyterlab-settingeditor-4.0.0-alpha.5.tgz: 06a79081a59a1bcb0069ce1da713c2b45b577c428e51b791b7effa78b65bc0ce

jupyterlab-settingeditor-extension-4.0.0-alpha.5.tgz: f6ec8b2d425418c6c9140b98fa874b68cb6f05508872bc94c4e4b4501ba69d5f

jupyterlab-settingregistry-4.0.0-alpha.5.tgz: d0a09865c4c8b9fd02b18c51c78a6e24d25d9af5828b3c1936b3b9b20345d1ad

jupyterlab-shared-models-4.0.0-alpha.5.tgz: 9b829202906bb052649e953b9892bd1cb1f1767d8d4620a1baa183816d61dfbf

jupyterlab-shortcuts-extension-4.0.0-alpha.5.tgz: 6eed3cf6f79fc83547644e20cea578c7bb3dd9be4af41cf1c122f8daa5bb78be

jupyterlab-statedb-4.0.0-alpha.5.tgz: b4c20bf2d4cb434640c5ea9b39dbca36fa32e6ae5bd8a4d6f8998f399322b517

jupyterlab-statusbar-4.0.0-alpha.5.tgz: fd72fa959196172b8127f655bc15a2c65a26a1b161ada5445113cb389f777510

jupyterlab-statusbar-extension-4.0.0-alpha.5.tgz: c51f20136f45c1b523273954dec97e338a19e12c4bf8144dd050a8083e83b7d0

jupyterlab-template-4.0.0-alpha.5.tgz: f812641bf4b57737ce4c44b093e23968cae114d33321b44540aba13630ad5cc9

jupyterlab-terminal-4.0.0-alpha.5.tgz: d586d9a55f9088820e5e46cc7992924eb114fd37c06b620e8612df1dcf1f16eb

jupyterlab-terminal-extension-4.0.0-alpha.5.tgz: 205dbd24aea0c448678a0ee02b54cdb05f6fb2708f2c8807b075449a0de34745

jupyterlab-testutils-4.0.0-alpha.5.tgz: ebdfe84547ab073993b0fa0f13c5c48dab352b2abec4ce202fdeb043be8447a6

jupyterlab-theme-dark-extension-4.0.0-alpha.5.tgz: 50feb0d087b68e803f8469ec6a49793686cbfbda9360f9f0a3222583b903be53

jupyterlab-theme-light-extension-4.0.0-alpha.5.tgz: 5c9e3572e78e4eb98c4cdcfc5f493cf87272b3201ff2d89e8bfcfd861da76c78

jupyterlab-toc-6.0.0-alpha.5.tgz: b3a48c7bc236525cc25e40fd580a17251a46224ad481d5f32bcfbdb86bb0e6a2

jupyterlab-toc-extension-6.0.0-alpha.5.tgz: 177ac94f49ba3a6e669c19b5c0c75a0df9261a4c7a0de71090d90fc9b78f5b81

jupyterlab-tooltip-4.0.0-alpha.5.tgz: 478dc56686a695f918d06248c2962c160fb04b0019f9d631247c17d945c6529a

jupyterlab-tooltip-extension-4.0.0-alpha.5.tgz: 6c7c1f712b6dffc1f129b6c61906abc102c953f1736b32f4d181b7384b8c20e6

jupyterlab-translation-4.0.0-alpha.5.tgz: baaef863fa81b4f9d1152448bcaaedea8c238304b591ff9e959e38490ee21da4

jupyterlab-translation-extension-4.0.0-alpha.5.tgz: 915be78fcad4a489b028c32d333f52d1a39eb259557f033249d0dbf6055bdc12

jupyterlab-ui-components-4.0.0-alpha.20.tgz: d30e270dddbfe3582a7c7642d9697ab86eb64c8524099038cccd1bad4f53924f

jupyterlab-ui-components-extension-4.0.0-alpha.5.tgz: bda4a2347ec9362779ee911ba1f3ea6ac9a85d524489763c01e744049846473a

jupyterlab-user-4.0.0-alpha.5.tgz: 965d3892b7be324f8597db14b808632334c20a60350e4799ee6f6a37d899e5fc

jupyterlab-user-extension-4.0.0-alpha.5.tgz: 1f2e29e273262fac55948ec56d8ae0c50ca548ba137a83851a08a1e1155a589f

jupyterlab-vdom-4.0.0-alpha.5.tgz: ff42639daf7d9d905b65c0f8bdb2f6c6a58148a4c2ac1548b69fcceb3f8f3246

jupyterlab-vdom-extension-4.0.0-alpha.5.tgz: b841b8e0335c6b48d59000dd1cdefebd4bbe906b0a9ccbcfd96c3588e3f146b5

jupyterlab-vega5-extension-4.0.0-alpha.5.tgz: 1a7ca5885e9d34288f29e5069814f14c3746721e96365cc34d84f2d207f41e9d

* Upgrades cell-toolbar, cell-toolbar-extension package versions

* Updates dependency versions

* Adds a resize observer for rendered markdown cells

* Opening keyboard shortcuts UI result in "destruction" of shortcut settings (jupyterlab#12112)

* Opening keyboard shortcuts UI result in "destruction" of shortcut settings
Fixes jupyterlab#12056

* Prettify

* Document search debounce time via setting (jupyterlab#12097)

* search debounce time is configurable via setting

* integrity

* Enforce searchDebounceTime to minimum 0

Co-authored-by: Frédéric Collonval <[email protected]>

* docs: migration guide 3.x to 4.x @jupyterlab/documentsearch-extension:plugin renamed

* searchDebounceTime is minimum 0

* remove unneeded condition in document search extension

* Update packages/documentsearch-extension/schema/plugin.json

Co-authored-by: Frédéric Collonval <[email protected]>

* update searchinstance in example notebook

* fix notebook example for the new searchinstance

Co-authored-by: Frédéric Collonval <[email protected]>

* Bump url-parse from 1.5.6 to 1.5.8 (jupyterlab#12128)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.6 to 1.5.8.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.6...1.5.8)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix typos in `@jupyterlab/console-extension` plugins

* Minor style refactor

* Fix in notebook extension

* Fix in fileeditor-extension

* Adds and removes event listeners without using Observer objects

* Moves functions back into namespace

* Adds resize event to Cell, listens to it in the toolbar

* Checks for overlap in MarkdownCells using more standard methods

* Uses more standard classes to detect overlap

* Checks overlap using more standard classes

* Guards against toolbar occupying more than 50% of cell

* Debounces the cell's resize events

* Set left sidebar width through mouse motion (jupyterlab#12123)

* Set left sidebar width through mouse motion

* Update debugger sidebar snapshots

* Place the mouse on the handler before moving it...

* Add some delay for Latex renderer

* Update galata/test/documentation/utils.ts

Co-authored-by: Jeremy Tuloup <[email protected]>

* Update snapshot

* Remove waitForFrames

Co-authored-by: Jeremy Tuloup <[email protected]>

* fix: select kernal when open a .ipynb file is not translated correctly  (jupyterlab#12133) (jupyterlab#12135)

Co-authored-by: yangqinliu <[email protected]>

* Integrity changes

* Fixes bug with overlap detection in empty cells

* Update metapackage

* Fixes bug where in a multi-pane view, the toolbar overlap check was happening before the active cell was rendered

* Removes unused file. Replaces "copy" with "duplicate" in cell toolbar.

* Updates documentation to explain how to disable and re-enable toolbar

* Removes unneeded comment

* Fires event when cell's rendered state changes so toolbar overlap calc reruns

* Update packages/cell-toolbar-extension/schema/plugin.json

Co-authored-by: Michał Krassowski <[email protected]>

* Removes unused parameters

* Removes unused code

* Remove unused file

* Removes unused code

* CSS fixes for cell toolbar on mobile views

* Increases version of cell-toolbar and cell-toolbar-extension

* Refactors paste function for use with duplicate

* Adds duplicate function in notebook, uses it in notebook-extension

* Adds 'belowSelected' option for duplicating

* Updates Galata expected images

* Adds hint to fix compilation error

* Runs 'prettier'

* Fix linter error by explicitly ignoring promises, consistent with other functions

* Adds copyright notice to TS/TSX files

* Initial unit tests

* Initial changes for CellBarExtension tests

* Adds new unit test

* Modifies comment

* Updates test, runs prettier

* Style lint changes

* Updates package.json for cell-toolbar

* Update expected files with cell toolbar

* Package integrity updates

* Updates expected file from failing test

* Updates two more expected files

* Simple change to trigger change flow

* Changes naming convention of toolbar menu, items

* Migrate icons to ui-components

* Reverts time format change

* Removes cell toolbar widget, uses standard toolbar instead, updates styling

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Removes onClickWithEvent prop, uses actualOnClick instead

* Removes unused files, adds onClick event back

* WIP changes for cell-toolbar using factory, modified schema

* WIP change to add widget for toolbar

* Update expected files with new-tab "+" icon

* Updates package.json files with style changes

* Incorporates @fcollonval's changes from https://github.com/fcollonval/jupyterlab/tree/ft/toolbar-factory

* Adds signaling

* Code changes to merge into blank

* To merge into blank

* Updates package.json

* Reverts 'duplicate' command to use below, not belowSelected

* Style fixes

* Updates expected files

* Update additional expected file

* Update Playwright Snapshots

* Update dependencies in cell-toolbar, cell-toolbar-extension

* Reinstates previous language-chinese-documentation-linux screen shot

* Removes svg.d.ts

* Removes toolbarbutton.tsx

* Updates unit tests with new signature

* Integrity update

* Reinstates line that was deleted in merge

* Fix UI test

* Update benchmark snapshots

Co-authored-by: Eric Charles <[email protected]>
Co-authored-by: Frédéric Collonval <[email protected]>
Co-authored-by: Jason Grout <[email protected]>
Co-authored-by: Martha Cryan <[email protected]>
Co-authored-by: Alex Bozarth <[email protected]>
Co-authored-by: Frédéric Collonval <[email protected]>
Co-authored-by: Piyush Jain <[email protected]>
Co-authored-by: Piyush Jain <[email protected]>
Co-authored-by: MeeseeksMachine <[email protected]>
Co-authored-by: Abhishek K M <[email protected]>
Co-authored-by: Nicholas Bollweg <[email protected]>
Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Duc Trung LE <[email protected]>
Co-authored-by: Michał Krassowski <[email protected]>
Co-authored-by: Jeremy Tuloup <[email protected]>
Co-authored-by: Erik Bjäreholt <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mehmet Bektas <[email protected]>
Co-authored-by: Andrew Fulton <[email protected]>
Co-authored-by: kellyyke <[email protected]>
Co-authored-by: Zachary Sailer <[email protected]>
Co-authored-by: Carlos Herrero <[email protected]>
Co-authored-by: Akshay Chitneni <[email protected]>
Co-authored-by: Akshay Chitneni <[email protected]>
Co-authored-by: Iris <[email protected]>
Co-authored-by: yangqinliu <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent d670abf commit 95fc6e7
Show file tree
Hide file tree
Showing 106 changed files with 1,377 additions and 30 deletions.
2 changes: 2 additions & 0 deletions buildutils/src/ensure-repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ const SKIP_CSS: Dict<string[]> = {
'@jupyterlab/outputarea',
'@jupyterlab/cells',
'@jupyterlab/notebook',
'@jupyterlab/cell-toolbar',
'@jupyterlab/cell-toolbar-extension',
'@jupyterlab/celltags',
'@jupyterlab/celltags-extension',
'@jupyterlab/fileeditor',
Expand Down
7 changes: 7 additions & 0 deletions dev_mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"@jupyterlab/apputils": "~4.0.0-alpha.8",
"@jupyterlab/apputils-extension": "~4.0.0-alpha.8",
"@jupyterlab/attachments": "~4.0.0-alpha.8",
"@jupyterlab/cell-toolbar": "~4.0.0-alpha.6",
"@jupyterlab/cell-toolbar-extension": "~4.0.0-alpha.6",
"@jupyterlab/cells": "~4.0.0-alpha.8",
"@jupyterlab/celltags": "~4.0.0-alpha.8",
"@jupyterlab/celltags-extension": "~4.0.0-alpha.8",
Expand Down Expand Up @@ -130,6 +132,7 @@
"@jupyterlab/application": "~4.0.0-alpha.8",
"@jupyterlab/application-extension": "~4.0.0-alpha.8",
"@jupyterlab/apputils-extension": "~4.0.0-alpha.8",
"@jupyterlab/cell-toolbar-extension": "~4.0.0-alpha.6",
"@jupyterlab/celltags-extension": "~4.0.0-alpha.8",
"@jupyterlab/codemirror-extension": "~4.0.0-alpha.8",
"@jupyterlab/completer-extension": "~4.0.0-alpha.8",
Expand Down Expand Up @@ -213,6 +216,7 @@
"extensions": {
"@jupyterlab/application-extension": "",
"@jupyterlab/apputils-extension": "",
"@jupyterlab/cell-toolbar-extension": "",
"@jupyterlab/celltags-extension": "",
"@jupyterlab/codemirror-extension": "",
"@jupyterlab/completer-extension": "",
Expand Down Expand Up @@ -263,6 +267,7 @@
"singletonPackages": [
"@jupyterlab/application",
"@jupyterlab/apputils",
"@jupyterlab/cell-toolbar",
"@jupyterlab/codeeditor",
"@jupyterlab/codemirror",
"@jupyterlab/completer",
Expand Down Expand Up @@ -318,6 +323,8 @@
"@jupyterlab/apputils": "../packages/apputils",
"@jupyterlab/apputils-extension": "../packages/apputils-extension",
"@jupyterlab/attachments": "../packages/attachments",
"@jupyterlab/cell-toolbar": "../packages/cell-toolbar",
"@jupyterlab/cell-toolbar-extension": "../packages/cell-toolbar-extension",
"@jupyterlab/cells": "../packages/cells",
"@jupyterlab/celltags": "../packages/celltags",
"@jupyterlab/celltags-extension": "../packages/celltags-extension",
Expand Down
1 change: 1 addition & 0 deletions dev_mode/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import '@jupyterlab/application-extension/style/index.js';
import '@jupyterlab/apputils-extension/style/index.js';
import '@jupyterlab/cell-toolbar-extension/style/index.js';
import '@jupyterlab/celltags-extension/style/index.js';
import '@jupyterlab/codemirror-extension/style/index.js';
import '@jupyterlab/completer-extension/style/index.js';
Expand Down
1 change: 1 addition & 0 deletions docs/source/extension/extension_points.rst
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,7 @@ providing a different rank or adding ``"disabled": true`` to remove the item).
The current widget factories supporting the toolbar customization are:
- ``Notebook``: Notebook panel toolbar
- ``Cell``: Cell toolbar
- ``Editor``: Text editor toolbar
- ``HTML Viewer``: HTML Viewer toolbar
- ``CSVTable``: CSV (Comma Separated Value) Viewer toolbar
Expand Down
8 changes: 8 additions & 0 deletions docs/source/user/notebook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,11 @@ and select “New Console for Notebook”:
<div class="jp-youtube-video">
<iframe src="https://www.youtube-nocookie.com/embed/eq1l7DBngQQ?rel=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>

.. _cell-toolbar:

If there is enough room for it, each cell has a toolbar that provides quick access to
commonly-used functions. If you would like to disable the cell toolbar, run
``jupyter labextension disable @jupyterlab/cell-toolbar-extension`` on the command line.
You can enable it again by running
``jupyter labextension enable @jupyterlab/cell-toolbar-extension``.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions galata/test/jupyterlab/toc-running.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ test.describe('ToC Running indicator', () => {
const toolbarButtons = await tocPanel.$$('.toc-toolbar .toc-toolbar-icon');
await toolbarButtons[0].click();

const tocEntry = page
.locator('.jp-TableOfContents-content .jp-tocItem')
.nth(2)
.locator('.toc-code-cell-prompt');
const executed = page.notebook.runCell(3);

await expect(
tocPanel.waitForSelector('li:has-text("[*]: xxxxxxxxxx sleep(2)")')
).toBeDefined();
await expect(tocEntry).toHaveText('[*]: ');

await executed;
});
Expand Down
15 changes: 15 additions & 0 deletions packages/cell-toolbar-extension/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach to jest",
// Usage:
// Open the parent directory in VSCode
// Run \`jlpm test:debug:watch\` in a terminal
// Run this debugging task
"port": 9229
}
]
}
1 change: 1 addition & 0 deletions packages/cell-toolbar-extension/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@jupyterlab/testutils/lib/babel.config');
2 changes: 2 additions & 0 deletions packages/cell-toolbar-extension/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const func = require('@jupyterlab/testutils/lib/jest-config');
module.exports = func(__dirname);
64 changes: 64 additions & 0 deletions packages/cell-toolbar-extension/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"name": "@jupyterlab/cell-toolbar-extension",
"version": "4.0.0-alpha.6",
"description": "Extension for cell toolbar adapted from jlab-enhanced-cell-toolbar",
"homepage": "https://github.com/jupyterlab/jupyterlab",
"bugs": {
"url": "https://github.com/jupyterlab/jupyterlab/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/jupyterlab/jupyterlab.git"
},
"license": "BSD-3-Clause",
"author": "Project Jupyter",
"sideEffects": [
"style/**/*"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"directories": {
"lib": "lib/"
},
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"schema/*.json",
"style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"style/index.js"
],
"scripts": {
"build": "tsc -b",
"build:all": "npm run build",
"build:test": "tsc --build tsconfig.test.json",
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
"test": "jest",
"test:cov": "jest --collect-coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.8",
"@jupyterlab/apputils": "^4.0.0-alpha.8",
"@jupyterlab/cell-toolbar": "^4.0.0-alpha.6",
"@jupyterlab/settingregistry": "^4.0.0-alpha.8",
"@jupyterlab/translation": "^4.0.0-alpha.8"
},
"devDependencies": {
"@jupyterlab/testutils": "^4.0.0-alpha.8",
"@types/jest": "^26.0.10",
"jest": "^26.4.2",
"rimraf": "~3.0.0",
"ts-jest": "^26.3.0",
"typescript": "~4.6.3"
},
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"extension": true,
"schemaDir": "schema"
},
"styleModule": "style/index.js"
}
90 changes: 90 additions & 0 deletions packages/cell-toolbar-extension/schema/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Cell Toolbar",
"description": "Cell Toolbar Settings.",
"jupyter.lab.toolbars": {
"Cell": [
{
"name": "duplicate-cell",
"command": "notebook:duplicate-below"
},
{ "name": "move-cell-up", "command": "notebook:move-cell-up" },
{ "name": "move-cell-down", "command": "notebook:move-cell-down" },
{
"name": "insert-cell-above",
"command": "notebook:insert-cell-above"
},
{
"name": "insert-cell-below",
"command": "notebook:insert-cell-below"
},
{
"command": "notebook:delete-cell",
"icon": "ui-components:delete",
"name": "delete-cell"
}
]
},
"jupyter.lab.transform": true,
"properties": {
"toolbar": {
"title": "List of toolbar items",
"description": "An item is defined by a 'name', a 'command' name, and an 'icon' name",
"type": "array",
"items": {
"$ref": "#/definitions/toolbarItem"
},
"default": []
}
},
"additionalProperties": false,
"type": "object",
"definitions": {
"toolbarItem": {
"properties": {
"name": {
"title": "Unique name",
"type": "string"
},
"args": {
"title": "Command arguments",
"type": "object"
},
"command": {
"title": "Command id",
"type": "string",
"default": ""
},
"disabled": {
"title": "Whether the item is ignored or not",
"type": "boolean",
"default": false
},
"icon": {
"title": "Item icon id",
"description": "If defined, it will override the command icon",
"type": "string"
},
"label": {
"title": "Item label",
"description": "If defined, it will override the command label",
"type": "string"
},
"type": {
"title": "Item type",
"type": "string",
"enum": ["command", "spacer"]
},
"rank": {
"title": "Item rank",
"type": "number",
"minimum": 0,
"default": 50
}
},
"required": ["name"],
"additionalProperties": false,
"type": "object"
}
}
}
50 changes: 50 additions & 0 deletions packages/cell-toolbar-extension/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/* -----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
/**
* @packageDocumentation
* @module cell-toolbar-extension
*/

import {
JupyterFrontEnd,
JupyterFrontEndPlugin
} from '@jupyterlab/application';
import { ISettingRegistry } from '@jupyterlab/settingregistry';
import { CellBarExtension } from '@jupyterlab/cell-toolbar';
import {
createToolbarFactory,
IToolbarWidgetRegistry
} from '@jupyterlab/apputils';
import { ITranslator, nullTranslator } from '@jupyterlab/translation';

const cellToolbar: JupyterFrontEndPlugin<void> = {
id: '@jupyterlab/cell-toolbar-extension:plugin',
autoStart: true,
activate: async (
app: JupyterFrontEnd,
settingRegistry: ISettingRegistry | null,
toolbarRegistry: IToolbarWidgetRegistry | null,
translator: ITranslator | null
) => {
const toolbarItems =
settingRegistry && toolbarRegistry
? createToolbarFactory(
toolbarRegistry,
settingRegistry,
CellBarExtension.FACTORY_NAME,
cellToolbar.id,
translator ?? nullTranslator
)
: undefined;

app.docRegistry.addWidgetExtension(
'Notebook',
new CellBarExtension(app.commands, toolbarItems)
);
},
optional: [ISettingRegistry, IToolbarWidgetRegistry, ITranslator]
};

export default cellToolbar;
9 changes: 9 additions & 0 deletions packages/cell-toolbar-extension/style/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
@import url('~@jupyterlab/apputils/style/index.css');
@import url('~@jupyterlab/application/style/index.css');
@import url('~@jupyterlab/cell-toolbar/style/index.css');
9 changes: 9 additions & 0 deletions packages/cell-toolbar-extension/style/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
import '@jupyterlab/apputils/style/index.js';
import '@jupyterlab/application/style/index.js';
import '@jupyterlab/cell-toolbar/style/index.js';
25 changes: 25 additions & 0 deletions packages/cell-toolbar-extension/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"extends": "../../tsconfigbase",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src"
},
"include": ["src/*"],
"references": [
{
"path": "../application"
},
{
"path": "../apputils"
},
{
"path": "../cell-toolbar"
},
{
"path": "../settingregistry"
},
{
"path": "../translation"
}
]
}
27 changes: 27 additions & 0 deletions packages/cell-toolbar-extension/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"extends": "../../tsconfigbase.test",
"include": ["src/*", "test/*"],
"references": [
{
"path": "../application"
},
{
"path": "../apputils"
},
{
"path": "../cell-toolbar"
},
{
"path": "../settingregistry"
},
{
"path": "../translation"
},
{
"path": "."
},
{
"path": "../../testutils"
}
]
}
Loading

0 comments on commit 95fc6e7

Please sign in to comment.