Giter VIP home page Giter VIP logo

dwv-react's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar greenkeeper[bot] avatar greenkeeperio-bot avatar ivmartel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dwv-react's Issues

An in-range update of material-ui is breaking the build 🚨

There have been updates to the material-ui monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the material-ui group definition.

material-ui is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

About new update

Are you updating new tools with this package? And migrate to latest reactjs versions?
Is it available with Typescript?

An in-range update of react is breaking the build 🚨

There have been updates to the react monorepo:

    • The dependency react was updated from 16.6.1 to 16.6.2.
  • The dependency react-dom was updated from 16.6.1 to 16.6.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the react group definition.

react is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

How do I pass mutiple dicom files as a parameter url

I am using Dicom viewer on Reactjs - I am using the version - "dwv": "^0.27.1 ",
For some dicom files it gives me that error-
image

And also I need to use multiple Dicom files URL in the Dicom input - parameter URL, For that, I have posted this question
ivmartel/dwv#841
But still, I am not getting any solution.
All files have a unique address and I do not have a Dicom root address.

Load state file

I tried to drag and drop a state file (in json format and .json ext), and got "TypeError: Cannot read property 'getParent' of undefined". Any thoughts?

An in-range update of material-ui is breaking the build 🚨

There have been updates to the material-ui monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the material-ui group definition.

material-ui is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v3.9.3
Mar 28, 2019

Big thanks to the 11 contributors who made this release possible!

This release fixes an important regression with TypeScript: #15076.

@material-ui/[email protected]

Docs

Core

N/A

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Additional tools in React implementation

Hey man,

How would you go about adding the other tools, for instance Tags, to this React implementation? Been trying to get it working myself that past week or so but haven’t had success so I thought it was time to throw the question up to you. Let me know if you have any guidance.

Thanks

How to apply filter

I'm trying to apply the filter e.g Threshold, Sobel, Sharpen, but still having difficulties to dig into it. I've been searching for docs on dwv site but still haven't had any clues to use it correctly. Please help me figure it out. Any help would be much appreciated it. Thank you for the awesome library and have a great week :). Looking forward for the reply

iOS Safari compatibility

Hi,

Great tools for viewing DICOM files. I have one question. Is this compatible with the latest ios Safari? Because when we try to open our web app from iphone it's always restarting progress at 50%. No problem with Safari in iPadOS or macOS though. We are trying to use web inspector and give a console.log at progress event. But web keep reload from 0 but the console log stuck at 50. There is no sign of error logged

Thanks.

image

Jpeg Baseline Decoder

Having some trouble figuring out how to get the jpeg baseline decoder to work. I brought the file in locally along with jpg.js, and added it as a decoder script like this:

            dwv.image.decoderScripts = {
                "jpeg-baseline": "./decode-jpegbaseline.js"
            };

but at runtime when trying to load a jpeg baseline image i get the following error 8 times in my console.
Uncaught SyntaxError: Unexpected token < decode-jpegbaseline.js:1

It's definitely possible I am missing something small/obvious, but may be a bug with react integration. Do you have any insight in to this? If not i can dig deeper.

Update dwv to v0.25.2

A new version of dwv is out. It does not have the fitToWindow option so the code must be updated to compensate for it.

Add window/level preset chooser

The viewer must provide a drop-down menu with different window/level pre-sets: the ones of the DICOM file, modality specific ones and some user specific.

An in-range update of material-ui is breaking the build 🚨

There have been updates to the material-ui monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the material-ui group definition.

material-ui is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v3.4.0
Nov 5, 2018

Big thanks to the 16 contributors who made this release possible!

Here are some highlights ✨:

  • βš›οΈ Fix some React 16.6.0 warnings in StrictMode (#13498, #13477) @eps1lon.
  • πŸ’… Improve the customization of the outlined input (#13428) @oliviertassinari.
  • And many more bug fixes and documentation improvements.

@material-ui/[email protected]

@material-ui/[email protected]

Docs

Core

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Error on property fitToContainer to launch website

Hi, this project solution is great!, but some error was found:

This error say "Uncaught TypeError: Cannot read property 'fitToContainer' of null
at w.App.fitToContainer (dwv.min.js:3)
at onResize (dwv.min.js:3)"

and the file dicom attached doesn't be loaded ( see image and image2)

image
image2
}
Any possible solution please let me know.
Thanks for your time!

Drag'n'Drop critical bug

Hello.

To reproduce the bug, you need to:

  • open DICOM file
  • select "Draw"
  • draw line
  • drag it. Not by line, but by tooltip

image

In addition to the console error, the components starts making hundreds of requests to the server and freezes.

An in-range update of material-ui is breaking the build 🚨

There have been updates to the material-ui monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the material-ui group definition.

material-ui is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v3.5.0
Nov 12, 2018

Big thanks to the 13 contributors who made this release possible!

Here are some highlights ✨:

  • Introduce a new @material-ui/styles package πŸ’… (#13503).

The Material-UI's styling solution has pretty much stayed the same for the last 12 months.
Some interesting CSS-in-JS libraries like styled-components, emotion or linaria have emerged.
This new package is a significant step forward. Some of the key features:

  • Supports 4 different APIs: hooks, styled-components, higher-order components and render props.
  • Allow accessing the component's props from within the style object.
  • Replace the usage of the old React APIs with the new ones.
  • 15.0 KB gzipped.

Here is an example: https://codesandbox.io/s/vjzn5z4k77.

import Button from '@material-ui/core/Button';
import React from 'react';
import { makeStyles } from '@material-ui/styles';

// Like https://github.com/brunobertolini/styled-by
const styledBy = (property, mapping) => props => mapping[props[property]];

const useStyles = makeStyles({
root: {
background: styledBy('color', {
red: 'linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)',
blue: 'linear-gradient(45deg, #2196F3 30%, #21CBF3 90%)',
}),
border: 0,
borderRadius: 3,
boxShadow: styledBy('color', {
red: '0 3px 5px 2px rgba(255, 105, 135, .3)',
blue: '0 3px 5px 2px rgba(33, 203, 243, .3)',
}),
color: 'white',
height: 48,
padding: '0 30px',
},
});

function MyButton(props) {
const { color, ...other } = props;
const classes = useStyles(props);
return <Button className={classes.root} {...other} />;
}

function AdaptingHook() {
return (
<div>
<MyButton color="red">Red</MyButton>
<br />
<br />
<MyButton color="blue">Blue</MyButton>
</div>
);
}

export default AdaptingHook;

Powered by JSS.

  • Remove some usages of the old React's APIs (#13487, #13529, #13503) @eps1lon.
  • Add a language menu in the documentation and persist states between repeated visits (#13544, #13567) @mbrookes
  • And many more πŸ› bug fixes and πŸ“ documentation improvements.

@material-ui/[email protected]

@material-ui/[email protected]

Docs

Core

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Can I integrate Socket.io with dwv-react ?

I want to integrate socket.io features with dwv so that whenever users connect to the same socket.io event and if one user uploads a dicom image then it should show in the viewer of other users who are connected too . is it possible ? please help

updated [email protected]

➜  webApp git:(master) βœ— npm install dwv-react

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @ahooksjs/[email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from [email protected]
npm WARN   node_modules/ahooks
npm WARN     ahooks@"3.7.5" from [email protected]
npm WARN     node_modules/form-render
npm WARN   180 more (antd, rc-dropdown, rc-dialog, rc-menu, rc-select, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.8.0 || ^17.0.0" from @ahooksjs/[email protected]
npm WARN node_modules/@ahooksjs/use-request
npm WARN   @ahooksjs/use-request@"^2.0.0" from @umijs/[email protected]
npm WARN   node_modules/@alita/plugins/node_modules/@umijs/plugins
npm WARN   1 more (@umijs/plugins)

package.json
"react": "^18.2.0",
"react-dom": "^18.2.0",

About event listeners in drawings

Hello. Is it possible and how to create a event listener that fires when

  1. the user finishes drawing the shape
  2. the user moves the figure to the trash
    ?

I couldn't find it in the docs at the moment, but it would be extremely helpful

Error coming when i am toggling from fullscreen view to normal view

So I have put a feature to view dicom viewer in fullscreen and whenever i am toggling the fullscreen mode and exiting it . I am getting this error : Error: Cannot fit to zero sized container. . Can anyone tell what kind of error is this .
I am using nextjs with javascript in my app .

Move to Github actions

Travis seems to have changed their priorities and is taking too long to answer to build credit requests. Github actions provides the same services, it will be used to build this repo from now on.

Decoded UTF-16 Binary read

Hi,

I was wondering if there was a way to either read UTF-16 decoded binary or receive data as a byte array. I am not allowed to get DICOM directly from the file store and it has to pass through an intermediate microservice(for authorization). If so, can you point me to the relevant section of code for implementation/modification.

Customizing UI

Hello,

I'm currently using this viewer for my project, I would like to ask how easy would it be to customize the UI?

  1. I would like to include the window level values
  2. Current slice number

An in-range update of react is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye πŸ‘‹ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


There have been updates to the react monorepo:

    • The dependency react was updated from 16.13.0 to 16.13.1.
  • The dependency react-dom was updated from 16.13.0 to 16.13.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the react group definition.

react is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Can you do a MPR example?

Can you do a select example to change the visualization mode like the dwv viewer? Axial, Coronal and Sagittal.

Getting "Cannot Read properties of null"

Hi,

While trying to reset or choose a different tool, I am getting the below error. It's as if the app object doesn't exist. Could you please help me with this?

image

Add input file option

The front page must provide an input file option to load data via file selection.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.