Commit 2669fad
Widget with toolbar and sidepanel in cell output (#419)
* Add minimal Context interface for jupytergis widgets
* Add a new widget to be include in Notebook cell output
* Fix the relative path issue when add a layer in cell output widget
* Use context 'localPath' instaed of 'path' to avoid 'RTC:' in the path
* Handle the resize event of the cell output widget
* lint
* Use the model (IJupyterGISModel) instead of the context in the components and tracker
* lint
* Fix dependencies in '@jupytergis/jupytergis-lab' package
* Allow using the python API without file on disk
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* Update Playwright Snapshots
* Use the notebook or console path as temporary project path, when using the API without file
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Rename widget for consistency, and remove console comands from cell output widget
* Build again the widget if the path is updated, to add the toolbar if necessary
* Add the widget to the tracker after rebuilt, and fix the model path, that can be updated between the model creation and the widget creation.
* Dispose of the widget when the model is disposed
* lint
* Do not dispose of the model when clearing cell output
* Dispose of the GIS widget when the yjs widget is disposed
---------
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>1 parent 5b5eb2c commit 2669fad
File tree
48 files changed
+457
-312
lines changed- packages
- base/src
- annotations
- components
- dialogs
- symbology
- hooks
- tiff_layer
- types
- vector_layer
- types
- formbuilder
- objectform
- mainview
- panelview
- components
- filter-panel
- identify-panel
- schema/src
- python
- jupytergis_core/src
- jgisplugin
- jupytergis_lab
- src
- jupytergis_qgis/src
- ui-tests/tests
- notebook.spec.ts-snapshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+457
-312
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 23 | + | |
| 24 | + | |
28 | 25 | | |
29 | | - | |
| 26 | + | |
30 | 27 | | |
31 | 28 | | |
32 | | - | |
| 29 | + | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | | - | |
| 32 | + | |
| 33 | + | |
37 | 34 | | |
38 | 35 | | |
39 | | - | |
40 | | - | |
| 36 | + | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
48 | | - | |
| 45 | + | |
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
56 | | - | |
| 53 | + | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | | - | |
| 62 | + | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
72 | | - | |
| 69 | + | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 84 | + | |
91 | 85 | | |
92 | 86 | | |
93 | 87 | | |
94 | | - | |
95 | | - | |
| 88 | + | |
| 89 | + | |
96 | 90 | | |
97 | 91 | | |
98 | 92 | | |
99 | 93 | | |
100 | 94 | | |
101 | 95 | | |
102 | | - | |
| 96 | + | |
103 | 97 | | |
104 | 98 | | |
0 commit comments