docs: add llm txt (#5009)

This commit is contained in:
Alireza authored and GitHub committed 2025-05-01 18:13:21 -04:00
1 parent 4732e8093e
commit 4e185e4b21
149 files changed
+865 -7

No files matched your search

@@ -1,6 +1,7 @@
---
id: 0-general
title: General
summary: General migration changes from OHIF 3.8 to 3.9, including removing SharedArrayBuffer requirements, React 18 updates, Polyfill removal, webpack changes, scroll utility relocation, Crosshairs improvements, and toolbar button evaluation enhancements.
---
import Tabs from '@theme/Tabs';
@@ -1,6 +1,7 @@
---
id: seg-new-arch
title: New Architecture
summary: Overview of the new viewport-centric segmentation architecture in OHIF 3.9, which replaces the previous toolGroup-centric approach and introduces clearer separation between segmentation data and its visual representation.
---
@@ -1,6 +1,7 @@
---
id: seg-api
title: SegmentationService API
summary: Detailed guide to the SegmentationService API changes in OHIF 3.9, covering the transition from toolGroup to viewport-centric segmentation management, updates to key methods like getActiveSegmentation, setActiveSegmentation, and addSegment.
---
@@ -1,6 +1,7 @@
---
id: seg-representation
title: Segmentation Representations
summary: Migration guide for segmentation representation management in OHIF 3.9, explaining the transition from toolGroup-based to viewport-centric representation handling, and introducing the new specifier pattern for more flexible API usage.
---
@@ -1,6 +1,7 @@
---
id: seg-creation
title: Segmentation Creation
title: Segmentation Creation
summary: Migration guide for segmentation creation methods in OHIF 3.9, covering renamed methods like createLabelmapForViewport and createLabelmapForDisplaySet, updated parameter structures, and transition from tool group to viewport-centric approach.
---
## createEmptySegmentationForViewport
@@ -1,6 +1,7 @@
---
id: seg-service-mod
title: SegmentationService Modifications
summary: Migration guide for segmentation representation management API changes in OHIF 3.9, showing how to transition from tool group-based methods to viewport-centric approaches for adding, removing, and querying segmentation representations.
---
@@ -1,6 +1,7 @@
---
id: seg-style
title: SegmentationService Style
summary: Migration guide for segmentation styling API changes in OHIF 3.9, covering the transition to viewport-specific visibility controls, new style specification system using the specifier pattern, and updated methods for setting colors and toggling visibility.
---
@@ -1,6 +1,7 @@
---
id: seg-other
title: Other Changes
summary: Migration guide for additional segmentation service changes in OHIF 3.9, covering updates to addOrUpdateSegmentation with new data structures, loadSegmentationsForViewport, highlightSegment, and jumpToSegmentCenter methods with viewport-centric approach.
---
@@ -2,6 +2,7 @@
id: segmentation-index
title: Segmentation
sidebar_position: 1
summary: Migration guide for segmentation architecture changes in OHIF 3.9, covering the shift from tool group-centric to viewport-centric architecture to support advanced visualization capabilities and more flexible segmentation handling.
---
import DocCardList from '@theme/DocCardList';
@@ -2,6 +2,7 @@
id: 2-renamings
title: Renamings
sidebar_position: 2
summary: Migration guide for renamed components in OHIF 3.9, including the Panel Measurements name change from 'measure' to 'panelMeasurement' and addIcon utility changes to support both UI packages.
---
import Tabs from '@theme/Tabs';
@@ -2,6 +2,7 @@
id: 3-data-sources
title: Data Sources
sidebar_position: 3
summary: Migration guide for BulkDataURI configuration changes in OHIF 3.9, explaining the transition from a simple boolean flag to a more flexible configuration object with additional control options.
---
import Tabs from '@theme/Tabs';
@@ -1,5 +1,6 @@
---
title: Measurements
summary: Migration guide for measurement changes in OHIF 3.9, covering the new structured 'displayText' object with primary and secondary arrays for better organization, and the renaming of 'selected' property to 'isSelected'.
---
@@ -1,6 +1,7 @@
---
id: viewport-action-corner
title: ViewportActionCorner
summary: Migration guide for ViewportActionCornerService in OHIF 3.9, introducing the new addComponent and addComponents methods that provide more reliable positioning of multiple components within viewport corners.
---
@@ -1,6 +1,7 @@
---
id: state-sync-service
title: StateSyncService
summary: Migration guide for transitioning from StateSyncService to Zustand stores in OHIF 3.9, covering all store types including LutPresentationStore, PositionPresentationStore, ViewportGridStore, and more with examples of old and new API usage.
---
@@ -2,6 +2,7 @@
id: 6-rtstruct
title: RTSTRUCT
sidebar_position: 6
summary: Migration guide for RT Structure Set rendering in OHIF 3.9, explaining the transition from VTK-based rendering to SVG-based rendering for improved stability and speed while maintaining stack viewports instead of converting to volume viewports.
---
@@ -1,5 +1,6 @@
---
title: UI
summary: Migration guide for UI changes in OHIF 3.9, covering the new UI components from @ohif/ui-next, UINotificationService updates with Sonner integration, viewport pane Tailwind class changes, Header component refactoring, and managing both UI libraries.
---
## New Components
@@ -1,5 +1,6 @@
---
title: Refactoring
summary: Migration guide for refactored components in OHIF 3.9, including the move of PanelSegmentation from cornerstone-dicom-seg extension to cornerstone extension, centralization of dialog utilities, and improved customization ID structure for better modularity.
---
import Tabs from '@theme/Tabs';
@@ -1,5 +1,6 @@
---
title: Other Changes
summary: Migration guide for additional changes in OHIF 3.9, covering external library loading with browserImport function, the pluginConfig.json format for dynamic imports, and improvements to viewport navigation using ViewReference methods.
---
import Tabs from '@theme/Tabs';
@@ -2,6 +2,7 @@
id: 3p8-to-3p9
title: 3.8 -> 3.9
sidebar_position: 2
summary: Migration guide for upgrading from OHIF 3.8 to 3.9, covering segmentation architecture changes, renamings, data sources, measurements, viewport action corners, state sync service, RT structure improvements, UI changes, and other refactorings.
---
@@ -1,5 +1,6 @@
---
title: Commands
summary: Migration guide for commands in OHIF 3.10, covering the replacement of deleteMeasurement with removeMeasurement and setSourceViewportForReferenceLinesTool with the more generic setViewportForToolConfiguration command.
---
@@ -1,6 +1,7 @@
---
sidebar_position: 1
title: General
summary: General migration changes from OHIF 3.9 to 3.10, including Node.js version update, HTML template modifications, bundled Google Fonts, docs updates, faster development builds with rsbuild, and webpack configuration changes for AI segmentation support.
---
## Node.js Version Update
@@ -1,6 +1,7 @@
---
sidebar_position: 2
title: Hotkeys
summary: Migration guide for hotkeys management in OHIF 3.10, explaining the transition from defining hotkeys in mode factory to using the customizationService, with examples of replacing, adding, and modifying hotkey bindings.
---
@@ -1,5 +1,6 @@
---
title: routerBaseName
summary: Migration guide for router configuration in OHIF 3.10, covering the updated default behavior of routerBasename and its interaction with PUBLIC_URL, with scenario-based examples for both root and subpath hosting.
---
@@ -1,6 +1,7 @@
---
sidebar_position: 2
title: Customization Service
summary: Migration guide for OHIF's Customization Service from 3.9 to 3.10, covering unified customization getters, simplified registration, new commands, renamed customizations, and updated patterns for modifying UI components.
---
# CustomizationService
@@ -1,6 +1,7 @@
---
title: Introduction
position: 1
summary: Introduction to UI changes in OHIF 3.10, covering the migration of the image viewer to the @ohif/ui-next library, a complete rewrite of UI components offering extensibility, accessibility, and a modern design, with guidance on updating custom panels.
---
@@ -1,5 +1,6 @@
---
title: Tests
summary: Migration guide for test updates in OHIF 3.10, covering changes to how tools are identified and tested, including the transition from class-based to data-attribute-based selection in Cypress tests.
---
@@ -1,5 +1,6 @@
---
title: Colors
summary: Migration guide for OHIF 3.10's new color system, explaining the transition from custom color names to a semantic color palette using CSS variables, with detailed mapping of old color classes to new Tailwind equivalents.
---
@@ -1,5 +1,6 @@
---
title: Icons
summary: Migration guide for OHIF 3.10's Icon component updates, covering the transition from @ohif/ui to @ohif/ui-next with new PascalCase naming conventions, legacy fallback options, and a comprehensive renaming table for all icons.
---
## Migration Guide: Icon Component Updates
@@ -1,5 +1,6 @@
---
title: Button
summary: Migration guide for Button components in OHIF 3.10, explaining the transition from @ohif/ui to @ohif/ui-next, the replacement of ButtonEnums with string-based variants, and changes to IconButton, ButtonGroup, and styling approach.
---
## Key Changes:
@@ -1,5 +1,6 @@
---
title: Input
summary: Migration guide for input components in OHIF 3.10, covering the transition from Input, InputNumber, InputRange, InputDoubleRange and others to the new Numeric component system and updated input patterns in @ohif/ui-next.
---
@@ -1,5 +1,6 @@
---
title: Tooltip
summary: Migration guide for Tooltip components in OHIF 3.10, explaining the new composable structure with TooltipTrigger and TooltipContent, and replacement of TooltipClipboard with the Clipboard component.
---
## Tooltip Updates
@@ -1,5 +1,6 @@
---
title: Tooltip
title: Select
summary: Migration guide for Select components in OHIF 3.10, explaining the transition from @ohif/ui to @ohif/ui-next, with details on the new Select.Root, Select.Trigger, Select.Content, and Select.Item structure replacing the old dropdown approach.
---
@@ -1,5 +1,6 @@
---
title: Switch
summary: Migration guide for Switch component in OHIF 3.10, covering the transition from custom Toggle and CinePlayPauseButton components to the standardized Switch component, with details on prop changes and usage patterns.
---
@@ -1,5 +1,6 @@
---
title: Toolbar
summary: Migration guide for toolbar components in OHIF 3.10, covering the new uiType values (ohif.toolButton and ohif.toolButtonList), section-based definitions replacing nested structures, ToolBox updates, and changes to tool option handlers.
---
# Toolbar
@@ -1,5 +1,6 @@
---
title: Segmentation Table
summary: Migration guide for the refactored SegmentationTable component in OHIF 3.10, covering changes to the context system, compound component pattern adoption, replacement of SelectorHeader, and introduction of segment statistics features.
---
@@ -1,5 +1,6 @@
---
title: Tours and Onboarding
summary: Migration guide for Tours and Onboarding features in OHIF 3.10, explaining the transition from defining tours directly in window.config.tours to using the customization service, enabling mode-specific tours and better organization.
---
## Migration Guide: Tours
@@ -1,5 +1,6 @@
---
title: uiDialogService
summary: Migration guide for uiDialogService in OHIF 3.10, covering the transition from create/dismiss to show/hide methods, changes to dialog definition structure, and updates to utility functions like callInputDialog and colorPickerDialog.
---
@@ -1,5 +1,6 @@
---
title: uiModalService
summary: Migration guide for the uiModalService in OHIF 3.10, covering props that remain unchanged, renamed props (containerDimensions to containerClassName), removed props (movable, isOpen, contentDimensions), and automatic handling of modal closing.
---
@@ -1,6 +1,8 @@
---
sidebar_position: 1
sidebar_label: 3.9 -> 3.10 beta
title: Migration Guide from 3.9 to 3.10 beta
summary: Migration guide for upgrading from OHIF 3.9 to 3.10 beta, covering general changes, customization service improvements, UI component upgrades, command handling, hotkey updates, routing changes, and testing strategies.
---
# Migration Guide
@@ -1,6 +1,8 @@
---
sidebar_position: 2
sidebar_label: 3.7 -> 3.8
title: Migration Guide from 3.7 to 3.8
summary: Migration guide for upgrading from OHIF 3.7 to 3.8, covering changes to toolbar button definitions, active tool handling, button evaluators, tool listeners, leftPanel/rightPanel naming, URL parameters, UI components, and refactoring of enums.
---
# Migration Guide
@@ -1,6 +1,8 @@
---
sidebar_position: 3
sidebar_label: 2.x -> 3.5
title: Migration Guide from 2.x to 3.5
summary: Comprehensive migration guide for upgrading from OHIF 2.x to 3.5, covering architectural changes, UI improvements, extensions, modes, cornerstone3D integration, configuration changes, and build process updates.
---
# Migration Guide
@@ -1,5 +1,7 @@
---
id: index
title: Migration Guides Overview
summary: Introduction to OHIF migration guides covering the upgrade paths between different versions of the platform, with links to version-specific guides for migrating from one OHIF version to another.
---