-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Custom buttons and columns #18
Comments
Hi @nilgoyette Indeed, right now, it is not possible to extend the OE2 interface. I was thinking of adding some "customizable buttons" some day but they would simply perform a simple action like GET/POST to a URL. Probably not enough for what you need and certainly not any visual feedback. Right now, I'm afraid your only solution is forking the OE2 code to include your own buttons. BTW, are you aware that we have implemented "labels" in Orthanc and they are implemented at study level in OE2 - not yet at series level. Would series level labels meet your particular requirements ? On another side, feel free to share your plugin extension code such that I can have an idea of what you are doing when I work on "customizable buttons". BR, Alain |
The problem is that there could be dozens of series in the study we receive so someone must check the image (visual feedback), then decide which images is the T1 and so on. Still, the GET/POST to a URL would be a good start, I could use I guess the series level labels feature would do the job! I can see the labels I added in OE1 but I haven't found how to add labels using the OE2 UI though. In the meantime, I'll simply code a Python script that adds DWI/T1/RevB0 label to the right series, using the REST API. |
You need the very latest OE2 for that: 1.0.1 released last week. |
I tried what you suggested but I can't get anything to change in the UI. Since everything is in a .so, I think all the html/js/css code get compiled into
How do you guys change anything in Orthanc UI? Everything I tried is ignored! |
You must rebuild the frontend separately with npm: https://github.com/orthanc-server/orthanc-explorer-2#compilation |
I have two requests that might be similar enough to use this issue, otherwise I can open new ones:
|
I was able to add a button in Orthanc Explorer 1 using
OrthancPluginExtendOrthancExplorer
(orExtendOrthancExplorer
in Python). However, this is not possible wth Orthanc Explorer 2. (Confirmed with Sébastien Jodogne).My goal is to add a button in the Series section and use the REST API to do something. To be more precise, when we receive study containing several series, we must "tag" them as "DWI", "T1" and "Reverse_b0". I would add 3 buttons (or 1 with a dropdown) to make the tagging easier and faster for the users
As for the column, I would simply print their tag (nothing if they haven't been tagged), or add a T1 icon, etc.
The text was updated successfully, but these errors were encountered: