-
Notifications
You must be signed in to change notification settings - Fork 53
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
Image viewer for package demos #1070
Image viewer for package demos #1070
Conversation
d9f0331
to
692d6d8
Compare
9cf5f78
to
5829523
Compare
ec0eccb
to
0743f0a
Compare
"@itk-viewer/element": "^0.2.12", | ||
"@itk-viewer/io": "^0.1.8", | ||
"@shoelace-style/shoelace": "^2.12.0", | ||
"itk-wasm": "1.0.0-b.170", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workspace:
This is worth a review. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent!
Just a few minor issues noted inline.
@@ -89,7 +61,8 @@ <h3>👨💻 Live API Demo ✨</h3> | |||
<sl-details disabled id="compareImages-metrics-details" summary="metrics: Metrics for the baseline with the fewest number of pixels outside the tolerances."></sl-details> | |||
<sl-button variant="neutral" outline name="metrics-download" disabled>Download</sl-button> | |||
<br /><br /> | |||
<sl-details disabled id="compareImages-difference-image-details" summary="differenceImage: Absolute difference image"></sl-details> | |||
<!-- <sl-details disabled id="compareImages-difference-image-details" summary="differenceImage: Absolute difference image"></sl-details> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented
@@ -115,7 +88,8 @@ <h3>👨💻 Live API Demo ✨</h3> | |||
</sl-select> | |||
<sl-button variant="neutral" outline name="difference-image-download" disabled>Download</sl-button> | |||
<br /><br /> | |||
<sl-details disabled id="compareImages-difference-uchar-2d-image-details" summary="differenceUchar2dImage: Unsigned char, 2D difference image for rendering"></sl-details> | |||
<!-- <sl-details disabled id="compareImages-difference-uchar-2d-image-details" summary="differenceUchar2dImage: Unsigned char, 2D difference image for rendering"></sl-details> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented
@@ -0,0 +1,29 @@ | |||
{ | |||
"name": "@itk-wasm/demo-app", | |||
"version": "0.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.1.0
"name": "@itk-wasm/demo-app", | ||
"version": "0.0.0", | ||
"packageManager": "pnpm@8.11.0", | ||
"description": "Try pipelines in a browser", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try itk-wasm pipelines in a browser
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed all the comments!
79458b7
to
8f4e620
Compare
Please rebase for CI testing. |
Manually updated readImage and compareImages TS code and index.html.
ef742c3
to
2ac281c
Compare
Reflect disable attribute in itk-image-details so cypress waits until enabled to click. Ask cypress to query the shadow dom.
2ac281c
to
67596fd
Compare
All checks green 💚 |
itk-image-details
componentdemo-app
package?Dev steps to rebuild demo web app
Make edits in
packages/core/typescript/itk-wasm/src/bindgen/typescript/demo
Then in a package, ie
packages/downsample
Then in typescript dir, ie
packages/downsample/typescript