Skip to content

Commit 8b44965

Browse files
authored
add cell_ids to widget, fix selection model (QuantStack#88)
1 parent 7e38b4c commit 8b44965

File tree

143 files changed

+1605
-839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+1605
-839
lines changed

.binder/environment.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# a heavy demo environment for interactive testing
22

3-
# Copyright 2021 ipydrawio contributors
3+
# Copyright 2022 ipydrawio contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -58,7 +58,7 @@ dependencies:
5858
- sphinx-jsonschema
5959
- sphinxext-rediraffe
6060
- pip:
61-
- jupyterlite ==0.1.0a18
61+
- jupyterlite ==0.1.0a19
6262

6363
### ipydrawio-docs-deps ###
6464

@@ -89,13 +89,15 @@ dependencies:
8989
- flake8
9090
- isort >=5
9191
- pyflakes
92+
- pyyaml
9293
- robotframework-lint
9394
# unit testing
9495
- pytest
9596
- pytest-console-scripts
9697
- pytest-cov
9798
- pytest-html
9899
- pytest-tornasync
100+
- pytest-xdist
99101
# acceptance testing
100102
- firefox =91
101103
- geckodriver >=0.28.0

.binder/postBuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright 2021 ipydrawio contributors
3+
# Copyright 2022 ipydrawio contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

.github/environment-conda-build-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# a sufficient environment for building conda packages
22

3-
# Copyright 2021 ipydrawio contributors
3+
# Copyright 2022 ipydrawio contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

.github/environment-conda-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# a sufficient environment for building conda packages
22

3-
# Copyright 2021 ipydrawio contributors
3+
# Copyright 2022 ipydrawio contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

.github/environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# a sufficient environment for acceptance testing
22

3-
# Copyright 2021 ipydrawio contributors
3+
# Copyright 2022 ipydrawio contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -53,6 +53,7 @@ dependencies:
5353
- pytest-cov
5454
- pytest-html
5555
- pytest-tornasync
56+
- pytest-xdist
5657
# acceptance testing
5758
- firefox =91
5859
- geckodriver >=0.28.0

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# main continuous integration workflow
22

3-
# Copyright 2021 ipydrawio contributors
3+
# Copyright 2022 ipydrawio contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -22,6 +22,10 @@ on:
2222
branches:
2323
- master
2424

25+
concurrency:
26+
group: ${{ github.ref }}
27+
cancel-in-progress: true
28+
2529
env:
2630
PYTHONUNBUFFERED: '1'
2731
PYTHONIOENCODING: 'utf-8'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ _output
1515
*.tgz
1616
*.tsbuildinfo
1717
**/*DRAWIO_DEBUG*
18-
*doit.db
18+
*doit.db*
1919
atest/output/
2020
build/
2121
dist/

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2021 ipydrawio contributors
1+
# Copyright 2022 ipydrawio contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

CHANGELOG.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
### ipydrawio 1.2.0
66

7+
- fixes selection in widget diagrams with more than 10 shapes [#85]
8+
- adds `cell_ids` to widget diagrams [#88]
9+
- `jupyter ipydrawio clean` can now cleans `.ipynb` metadata and outputs [#88]
710
- minimum supported python is now to 3.7
811

912
#### @deathbeds/ipydrawio 1.2.0
@@ -22,6 +25,9 @@
2225

2326
#### @deathbeds/ipydrawio-pdf 1.2.0
2427

28+
[#85]: https://github.com/deathbeds/ipydrawio/issues/85
29+
[#88]: https://github.com/deathbeds/ipydrawio/issues/88
30+
2531
---
2632

2733
## Releases
@@ -60,8 +66,7 @@
6066

6167
### ipydrawio-export 1.1.2
6268

63-
- a `yarn.lock` is shipped to reduce provisioning time and increase
64-
reproducibility
69+
- a `yarn.lock` is shipped to reduce provisioning time and increase reproducibility
6570
- update to newer PDF exporter for better performance
6671

6772
#### @deathbeds/ipydrawio-pdf 1.1.2
@@ -72,8 +77,8 @@
7277

7378
### ipydrawio 1.1.1
7479

75-
- adds `jupyter ipydrawio clean` for removing `host`, `agent`, `modified`
76-
attributes and pretty printing, restoring `lxml` as a dependency [#44]
80+
- adds `jupyter ipydrawio clean` for removing `host`, `agent`, `modified` attributes and
81+
pretty printing, restoring `lxml` as a dependency [#44]
7782

7883
#### @deathbeds/ipydrawio 1.1.1
7984

@@ -103,20 +108,20 @@
103108
### ipydrawio 1.1.0
104109

105110
- new documentation site at https://ipydrawio.rtfd.io [#40]
106-
- no longer depends on `lxml`, future XML-based features will hopefully support
107-
the standard library `xml` module [#40]
111+
- no longer depends on `lxml`, future XML-based features will hopefully support the
112+
standard library `xml` module [#40]
108113

109114
#### @deathbeds/ipydrawio 1.1.0
110115

111116
- the `sketch` theme is now available as the `ui` [#40]
112-
- the _Custom Diagram..._ Launcher card offers all the themes, templates, and
113-
editable formats [#40]
117+
- the _Custom Diagram..._ Launcher card offers all the themes, templates, and editable
118+
formats [#40]
114119
- templates can be added by extensions [#41]
115120
- additional configuration defaults added to `urlParams` [#40]
116-
- the <kbd>Esc</kbd> button now shifts focus back to the main application
117-
allowing for use of more keyboard shortcuts. [#40]
118-
- the previous inescapable behavior can be restored in _Adanced Settings_ by
119-
setting `"disableEscapeFocus": true`
121+
- the <kbd>Esc</kbd> button now shifts focus back to the main application allowing for
122+
use of more keyboard shortcuts. [#40]
123+
- the previous inescapable behavior can be restored in _Adanced Settings_ by setting
124+
`"disableEscapeFocus": true`
120125

121126
#### @deathbeds/ipydrawio-notebook 1.1.0
122127

@@ -175,15 +180,14 @@
175180
#### @deathbeds/ipydrawio 1.0.0
176181

177182
- [#22] adds more _Main Menu_ options and _Command Palette_ Commands
178-
- [#22] new file names created by _Export Diagram as..._ commands use
179-
best-effort, two-digit numbers (if needed) incrementer instead of timestamp
180-
- [#20] add `allow-downloads` sandbox exception for the drawio `iframe`,
181-
enabling some more built-in features
183+
- [#22] new file names created by _Export Diagram as..._ commands use best-effort,
184+
two-digit numbers (if needed) incrementer instead of timestamp
185+
- [#20] add `allow-downloads` sandbox exception for the drawio `iframe`, enabling some
186+
more built-in features
182187

183188
#### @deathbeds/ipydrawio-notebook 1.0.0
184189

185-
- [#21] fixes overload of default _Notebook_ activity for _Edit with_ for
186-
`.ipynb` files
190+
- [#21] fixes overload of default _Notebook_ activity for _Edit with_ for `.ipynb` files
187191

188192
#### @deathbeds/ipydrawio-webpack 14.5.9
189193

@@ -228,11 +232,10 @@
228232

229233
For pre-releases of the previously-named package, see the [old CHANGELOG][]
230234

231-
[old changelog]:
232-
https://github.com/deathbeds/ipydrawio/tree/3a577ac/CHANGELOG.md
235+
[old changelog]: https://github.com/deathbeds/ipydrawio/tree/3a577ac/CHANGELOG.md
233236

234237
```
235-
Copyright 2021 ipydrawio contributors
238+
Copyright 2022 ipydrawio contributors
236239
237240
Licensed under the Apache License, Version 2.0 (the "License");
238241
you may not use this file except in compliance with the License.

CONTRIBUTING.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ source activate ipydrawio
3232
doit
3333
```
3434

35+
## Start JupyterLab
36+
37+
```bash
38+
doit serve:lab
39+
```
40+
41+
### Start JupyterLite
42+
43+
```bash
44+
doit serve:demo
45+
```
46+
3547
## Prepare a Release
3648

3749
```bash
@@ -92,7 +104,7 @@ doit dist
92104
- [ ] update release procedures
93105

94106
```
95-
Copyright 2021 ipydrawio contributors
107+
Copyright 2022 ipydrawio contributors
96108
97109
Licensed under the Apache License, Version 2.0 (the "License");
98110
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)