ohif-viewer/platform/docs
Joe Boccanfuso 5670a4d8d1
feat(PanelService): Left or right side panel to auto start as closed but auto open when needed (#3212)
* feat(SidePanel)
OHIF issue #3135
- Added a method to set a callback for a Panel to invoke when it is ready
to be shown (e.g. its data is loaded).
- Implemented such methods for both the segmentation and measurement panels.
- The SidePanel component now adds a callback to Panel components so that
it will automatically open a Panel that was initially closed and yet to
be opened.
- Updated the OHIF documentation accordingly.

* PR feedback
- added a PanelService that centralized much of the logic that existed in panel PanelModule
- the SidePanel subscribes to PanelService.EVENTS.ACTIVATE_PANEL for each of its child panels

* Removed the PanelMeasurementTableTracking setMeasurementPanelContentReadyCallback method.

* Made the forceActive flag in the PanelService optional and defaulted it to false.

* Fixed failing top level exports unit test.

* - PanelService subscriptions are now per panel (id) so subscribers do not
necessarily need to check the panel id in the event when it is fired
- PanelService activate panel trigger subscriptions are now returned
so that they can be (better) managed outside of the service
- updated/created the various documentation for panels and PanelService

* Clarified various documentation.
Moved the code to add the activate panel triggers out of the extensions
and into the longitudinal mode.

* Removed the openWhenPanelActivated flag.
PanelService now conforms to extending PubSubService like the other services.
Updated various documentation.

* Fixed failing e2e, mpr test.

* Renamed the ActivatePanelTriggers type properties.
The ExtensionManager now sets the id of various modules as a property on each of those modules.
2023-03-09 22:30:09 -05:00
..
docs feat(PanelService): Left or right side panel to auto start as closed but auto open when needed (#3212) 2023-03-09 22:30:09 -05:00
src feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
static feat: Add mode validity for the base viewer (#2525) 2021-08-30 09:36:05 -04:00
versioned_docs feat(Calibration Tool): add a calibration tool that can manually recalibrate an image and measurements on it (#3136) 2023-02-22 21:01:36 -05:00
versioned_sidebars feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
.gitignore Initial docusaurus commit 2021-06-15 11:50:38 -04:00
babel.config.js Initial docusaurus commit 2021-06-15 11:50:38 -04:00
docusaurus.config.js feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00
netlify.toml feat: new Total Metabolic Tumor Volume tmtv (#2866) 2022-08-17 15:13:59 -04:00
package.json fix(misc): Update the data source name, provide a /datasources example customization for debug (#3036) 2023-02-03 16:56:27 -05:00
pluginOHIFWebpackConfig.js docs: Remove UI components for now, we will use Storybook instead later. Clean up links and introduction. (#2520) 2021-08-24 17:53:03 -04:00
README.md Initial docusaurus commit 2021-06-15 11:50:38 -04:00
sidebars.js Initial docusaurus commit 2021-06-15 11:50:38 -04:00
tailwind.config.js feat(ViewportActionBar and CinePlayer): Add new design for action bar and cine player (#3204) 2023-02-28 15:57:19 -05:00
versions.json feat: cornerstone3D stack and volume viewports (#2787) 2022-07-27 12:39:04 -04:00
versionsArchived.json feat: Add DICOM SEG support and MPR, referenceLines and StackSync and more (#3015) 2022-11-16 14:19:52 -05:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.