- testing: Fix assert_images_match
(
f7df995)
Fix assertion error in assert_images_match where was asserted that the total number of mismatched pixels between the two images was inferior to a float between 0.0 and 1.0
- user-script: Remove invalid version
(
94bed56)
- Update pre-commit
(
76eba1d)
Update pre-commit configuration to align with latest trame standards
- ws: Enable ws proxy via MessageChannel
(
1af1f5d)
- tests: Update python version
(
dfa0b05)
- Handler: Add a client script dispatcher widget
(
8b8aa26)
This new Handler widget aims to allow library consumers to register JS module files with minimal boilerplate, and later call functions defined in those registered scripts at runtime in the trame client. Scripts can be either ES or UMD modules and can be registered from the local filesystem or remote URL.
Used so files with read errors don't halt execution, instead are handled gracefully and submitted to the server
-
js: Add type definitions to js-lib (
d2512ff) -
js: Advance @kitware/trame to v1.0.0 (
b558e1d) -
js: Remove vtk.js dependency from js-lib (
ba2b813)
- exit: Close websocket on exit
(
e8524b4)
Co-authored-by: Justine Antoine justine.antoine@kitware.com
- input: Support webkitdirectory
(
2c084c8)
Add support for webkitdirectory parameter for Input element
- connect_parent: Add flag to disable auto widget connection
(
5ef388f)
- Change selenium requirement to playwright
(
1870469)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- Trigger release
(
e2a620c)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- playwright: Use playwright for tests instead of selenium
(
cdd2e01)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- Add default slot to components
(
fbcdeea)
- retry: Provide empty retry array in html
(
9e7ee79)
- launcher: Enable retry option on launcher
(
8b1ae2d)
- js: Allow script/css loading failure
(
e46ccf3)
- widget: Add getter/setter definition
(
3aced83)
- html: New generated html widgets
(
c2e5c84)
- html: Update html/vue available components
(
b3652d2)
- event: Remove scroll, resize, select from default
(
804206e)
-
model/bind/event: Fix event and directive processing (
c6f6138) -
mouse-event: Add missing enter/leave (
dadd593)
- Update links in readme
(
8e3e204)
- v_on: Better handling events modifiers
(
942cbe3)
- DeepReactive: Delete removed key
(
00417f4)
- vue3: Update vue.js to v3.5.13
(
acdb5f0)
Co-authored-by: Justine Antoine justine.antoine@kitware.com
- vue2-app: Fix URL params reading
(
0a6d33a)
- TrameComponent: Provide helper class to handle method decoration
(
53390eb)
- test: Fix test helpers for Windows
(
cd4b0d4)
- Use full current python path when running Selenium server python process * Fix port parsing in xprocess logs for Windows * Add option to disable log prints to avoid test clutter
- Skip changelog for codespell
(
15c968d)
- ci: Use pyproject and ruff
(
279a0c8)
- DeepReactive: Add vue3 component to enable deep reactivity
(
3ea4dc9)
- child-server: Add support for child server in SizeObserver/Style/Script
(
ff498fd)
- script: Add script tag to client widgets
(
1e94bdf)
- translation: Auto translate state names in event too
(
46a2c74)
- url: Can request url on layout when server started as task
(
f0584c1)
- security: Clean url from trame search params
(
f0e093b)
- vue2: Lint code
(
55389c7)
- SharedArrayBuffer: Disable by default service worker
(
92e0659)
- api: Add doc to method definition
(
7bdb00a)
- base: Use for relative url resolution
(
1e42189)
- numpy: Add support for numpy 2.0
(
b45403b)
-
SharedArrayBuffer: Enable by default while adding a disable option (
49df5ed) -
vue2: Add support for module scripts (
9535d20)
- ready: Remove unused future
(
9b1eb0c)
-
js-lib: Add missing new keyword (
0a1bf78) -
js-lib: Auto publish (
4d6cc61) -
js-lib: Bump version to rename exported object (
557d1c4) -
js-lib: Fix publication automation (
539f09f) -
js-lib: Try publishing library (
c877746)
- js-lib: Fix vite example
(
cc8ef8f)
- widget: Add state/ctrl/context property
(
d12b475)
- jupyter: Allow jupyter-hub to be autodetected
(
4ec5db2)
- SizeObserver: New network don't properly handle native js type
(
d9f9871)
- ClientTriggers: Add built-in exit event
(
0103d30)
- Bring back testing
(
8bc7168)
-
msgpack: Convert msgpack Uint8Array into blob for backward compatibility (
566c274) -
wslink: Simplify file upload helper by removing chunking (
f87d8de)
BREAKING CHANGE: this requires the new chunking wslink
- Disable test due to cross version dep
(
aabb2de)
- wslink: Use msgpack and chunking for ws data exchange
(
77e17f5)
BREAKING CHANGE: use wslink>=2 that deeply change network handling
- wslink: Use wslink>=2 that deeply change network handling
- jupyter-hub: Fix url generator and add auto detect
(
3da386c)
- Fix precommit issues
(
56ee21d)
- client: Add ClientStateChange/ClientTriggers/LifeCycleMonitor/SizeObserver
(
5fa7fcf)
- template: Properly template name mapping
(
589991f)
- loading: Use fetch instead of iframe
(
d21b992)
- Uniform init.py for package
(
589e617)
- template: Allow template name with underscore
(
dedd0aa)
replace underscore with - to be vue.js compatible
fix #465
-
docs: Fix typo in CHANGELOG.md (
9f1542a) -
vue3: Fix vue3 components remounting every time a key is added to state (
417a71f)
- loading: Enable loading screen to be overriden
(
9d13b21)
For that just provide your own ./loading/index.html
Then in vue3, you can also override dynamically the error view for disconnect or disconnect-with-reconnect. You just need to define layout for "error" and "error_reconnect". Also a variable "trame_error_report_msg" will be available for you to leverage in your custom template.
- raw_attrs: Widgets support raw_attrs at construction
(
131618a)
- translation: Proper type handling with state translation
(
37b0e08)
- debug: Add helper for finding invalid args
(
d1d5c8f)
- py: Remove python 3.9 requirement
(
17f2029)
- tests: Add trame-server as a dependency
(
ed23fc4)
- translator: Template patching via translator
(
350bd63)
- translator: Improve Translator tests
(
d7c99f7)
- widget: Allow style attr to be dict
(
11f4ca5)
- jupyter: Iframe builders return a dict instead of a str
(
083b046)
- WebModule: Add helper for serving web content
(
501caec)
- global: Expose state methods on global trame.state
(
0238651)
- ipywidget: Can skip ipywidget even if available
(
091410b)
- jupyter: Better base url handling with extension
(
fdc7156)
- jupyter: Allow base url to be customized
(
547b388)
-
js: Handle exception when accessing cross-origin parent window (
9f12f69) -
jupyter: Kernel generate www when collocated with server (
c883fae)
- jupyter: Add support for jupyter extension
(
6d2bc50)
- router: Add infrastructure to handle routes for vue3
(
021f871)
- vue3: Getter helper is now working
(
0008761)
- directive: Add helper to register directives
(
e2add71)
- repr: Pretty print
(
2159799)
- vue3: Update vue version to latest
(
d49445c)
- testing: Add utilities functions
(
68c8509)
- testing: Add more testing helper
(
c5a4d9c)
- testing: Allow enable_testing to be used as decorator
(
ce6f784)
- testing: Add testing utilities
(
a1c9c5c)
- Run black
(
ab221ea)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
-
selenium: Add dependencies (
5524dc5) -
server: Better management of port extract (
2ce2c25) -
test: Add selenium test (
28657da) -
test: Add trame as dependency (
03b4e3b) -
test: Explicitly use window (
b57a62a)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- test: Remove vue3 tts validation
(
0c814d1)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- tests: Add back tts test
(
85e8d9a)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- tests: Comment out failing tests for now
(
2ec90a3)
We should fix these soon, though.
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- jupyter: Add display support for layouts
(
5373ac8)
- widget: Remove attribute when setting to None
(
2f827cb)
- Getter: Expose name, update(value), updateNested(path, value)
(
257669d)
- getter: Enable reactive handling of dynamic name value
(
0576edd)
- example: Make dynamic template hot reloadable
(
9dc58d4)
- html: Add v-slot and v-model modifier
(
1863cc0)
- vue3: Destruct from window
(
9350e37)
- vue3: Keep template syntax similar to vue2
(
c6778bc)
- examples: Update vue3 template without .value
(
276c389)
- layout: Keep track of the original root
(
66355b3)
- vue2: Properly expose vue 2.7.14 for composition API
(
0371a12)
- vue2.7: Include composition API in vue2
(
ead4c74)
- vue3: Add support for ref/js_call
(
ec983ff)
- readme: Cleanup for vue2-3
(
3846b2c)
-
default-var: Allow right default to be a dict to update many vars (
ca7a5dc) -
vue3: Fix client update for client_only props (
093cecd)
-
py: Removed unused component from Python (
d581e43) -
refs: Start on js_call/ref handling (
3aa2c53) -
vue2: Rename components to match vue3 trame ones (
ae98400) -
vue2/3: Parity (
0d91ded)
-
codespell: Skip public/*.js (
2c9533a) -
codespell: Utils/vtk/index.js for pixelX (
463e2bd) -
vue2/3: Update path (
fdb9c43)
- example: Add client widgets example
(
e81909f)
- vue3: Add support for vue@3
(
423599b)
- version: Add trame_client.version
(
0b970b5)
The get_version() function added here will also be used in all other trame-* packages.
Partially addresses Kitware/trame#183
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- utils.tree: Add helper to convert obj for VTreeview
(
f78edd9)
- text: Fix error message text grammar
(
911259f)
- Reconnect: Allow template name to be used
(
3cad023)
- cache: Try to prevent web caching
(
2bb25a0)
- Reconnect: Add support for reconnection
(
45a3b20)
If you add ?reconnect in the URL, you will get a button to let you try to reconnect. If you add ?reconnect=auto in the URL, the client will try to reconnect automatically and stop after 10 attempts.
- trigger: Access client via
this.client(9963d32)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- trigger: Add decorator logic for file objects
(
05235d5)
This is needed for the triggers to work properly with the file objects.
Signed-off-by: Patrick Avery patrick.avery@kitware.com
-
Style: Add wwidget.client.Style widget to add custom css (
48d0e0c) -
trigger: Apply decorators on args/kwargs (
8a3971a) -
wslink: Update version to support relative sessionManagerURL (
2e62e57)
-
sessionManagerURL: Add option to read it from the html element dataset (
7d174c4) -
sessionManagerURL: Use data-session-manager-url (
b9cbd68)
- decorators: Replace blob.arrayBuffer with backward-compatible code
(
439b50e)
blob.arrayBuffer() is not available in IE11, which we need to use for the pywebview desktop apps.
We can instead replace it with this code that is more backward-compatible, and it works with IE11.
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- protocol: Update wslink for protocol resolution
(
12b64ab)
- install: Generator json files dependency optional for runtime
(
9312181)
- state: Ensure flush to not skip pending change
(
73694c5)
- state: Local change don't need server round trip
(
4eba70d)
- decorator: Implement file chunking to prevent size limit
(
171a787)
- download: Allow promise as content
(
87bc3d7)
- semantic-release: Bump version to latest
(
5e05792)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- ci: Add coverage and codecov upload
(
c90ed26)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- coverage: Add .coveragerc
(
f451bad)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- coverage: Remove codecov PR comment
(
e9b0d9b)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- readme: Add CI badge
(
77cafe2)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- virtual-node: Follow builder pattern when possible
(
d0a5ce8)
- desktop: Add edge 18 support
(
2238072)
- cfe: Add chrome 66 compatibility for cfe runtime
(
5dc7b5b)
- state: Prevent equal value to trigger change
(
8ab648d)
- contributing: Add CONTRIBUTING.rst
(
ad214da)
Signed-off-by: Patrick Avery patrick.avery@kitware.com
- VirtualNode: Introduce the virtual node concept
(
e1585ed)
- use_: Fix case sensitivity of use_host(name)
(
78c4bfd)
- state: Properly handle _filter after reload
(
c43046b)
- CI: Add initial CI with semantic-release
(
51323fd)
This also fixes any pre-commit issues.
Signed-off-by: Patrick Avery patrick.avery@kitware.com