ohif-viewer/platform/core/src/utils
Bill Wallace 77f9f8e1c4
fix: Initial sort not consistent (#5224)
* fix: Initial sort not consistent

* Add better sort criteria

* Remove sorting changes

* Start replacing screen shots

* Update bun lock for version

* Leave default sort for test mode

* fix: Add consistent sorting for same series splits

* PR comments

* docs: add notes for series/display set sort

* Updated example docs

* Update sortVector to be compareSameStudy

* Add unit test

* PR comments
2025-12-04 12:26:21 -05:00
..
hotkeys feat(hotkeys): Migrate hotkeys to customization service and fix issues with overrides (#4777) 2025-02-25 13:32:30 -05:00
metadataProvider fix(rendering): Fix palette color LUT conversion causing black images (#5509) 2025-10-20 13:07:39 -04:00
absoluteUrl.js lint(curly): consistent use of curly brackets in codebase (#3584) 2023-08-09 10:07:33 -04:00
absoluteUrl.test.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
addAccessors.js feat(dicomJSON): Add Loading Other Display Sets and JSON Metadata Generation script (#3777) 2023-11-10 16:51:23 -05:00
addProxyFields.js Fix contour annotations RTSS saving (#5545) 2025-11-21 13:07:26 -05:00
addServer.test.js
addServers.js
areAllImageOrientationsEqual.ts fix: issue introduced from PR 5022 (#5223) 2025-07-23 15:05:42 -04:00
b64toBlob.js
buildButtonCommands.ts fix(toolbar): prevent duplicate command execution on repeated interactions (#5456) 2025-10-07 08:52:56 -04:00
calculateScanAxisNormal.ts fix: image slices are displayed in reverse order, if we switch from common layout to 2D MPR (#5022) 2025-07-17 08:11:26 -04:00
combineFrameInstance.ts fix(multiframes): Corrected combining frame instances for multiframes. (#5264) 2025-07-28 09:35:29 -04:00
createStacks.draft-test.js
createStudyBrowserTabs.ts fix: Initial sort not consistent (#5224) 2025-12-04 12:26:21 -05:00
debounce.js fix(segmentation): Allow for debounced pub/sub events to be reliably cancelled when unsubscribed to. (#5092) 2025-06-02 12:12:31 -04:00
dicomSplit.ts fix: Having sop instance in a per-frame or shared attribute breaks load (#4560) 2025-01-15 15:16:50 -05:00
downloadBlob.ts Fix contour annotations RTSS saving (#5545) 2025-11-21 13:07:26 -05:00
downloadCSVReport.js Fix contour annotations RTSS saving (#5545) 2025-11-21 13:07:26 -05:00
formatDate.js feat(i18n): enhanced i18n support (#3761) 2023-12-11 09:43:58 -05:00
formatPN.js feat(Mode): Ability to overwrite mode configuration and small improvements (#3580) 2023-08-08 10:05:20 -04:00
formatTime.ts feat(SR): text structured report (TEXT, CODE, NUM, PNAME, DATE, TIME and DATETIME) (#4287) 2024-07-23 11:28:48 -04:00
generateAcceptHeader.ts [Ready] fix 5288 removal of accept header options in retrieve metadata (#5293) 2025-10-16 20:01:34 -04:00
getClosestOrientationFromIOP.ts fix: jump to measurement forever (#4867) 2025-03-28 10:53:04 -04:00
getImageId.js OHIF with Cornerstone3D 2.0 (#4347) 2024-11-06 07:15:27 -05:00
getWADORSImageId.js
getWADORSImageId.test.js
guid.js
guid.test.js
hierarchicalListUtils.js docs(spelling): Add codespell config + github action, run and fix a good number of typos (#3645) 2023-09-12 07:40:38 -04:00
hierarchicalListUtils.test.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
imageIdToURI.js
index.ts Fix contour annotations RTSS saving (#5545) 2025-11-21 13:07:26 -05:00
isDicomUid.js
isDicomUid.test.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
isDisplaySetReconstructable.js fix(layouts): and fix thumbnail in touch and update migration guide for 3.8 release (#4052) 2024-04-18 23:21:02 -04:00
isEqualWithin.ts
isImage.js lint(curly): consistent use of curly brackets in codebase (#3584) 2023-08-09 10:07:33 -04:00
isImage.test.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
isLowPriorityModality.ts feat(data overlay): add foreground background control plus orientation change in the UI and add RTDOSE support (#5007) 2025-05-05 16:35:05 -04:00
makeCancelable.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
makeDeferred.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
makeDeferred.test.js
measurementFilters.ts feat(MeasurementService): add rendering of unmapped measurements (#5416) 2025-10-06 08:50:17 -04:00
objectPath.js docs(spelling): Add codespell config + github action, run and fix a good number of typos (#3645) 2023-09-12 07:40:38 -04:00
objectPath.test.js
progressTrackingUtils.js docs(spelling): Add codespell config + github action, run and fix a good number of typos (#3645) 2023-09-12 07:40:38 -04:00
progressTrackingUtils.test.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
Queue.js docs(spelling): Add codespell config + github action, run and fix a good number of typos (#3645) 2023-09-12 07:40:38 -04:00
Queue.test.js
reconstructableModalities.js
resolveObjectPath.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
resolveObjectPath.test.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
roundNumber.js OHIF with Cornerstone3D 2.0 (#4347) 2024-11-06 07:15:27 -05:00
sopClassDictionary.js feat(labelmap): Add labelmap segmentation in OHIF (#5158) 2025-06-26 11:59:44 -04:00
sortBy.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
sortInstancesByPosition.test.js
sortInstancesByPosition.ts chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
sortStudy.test.js fix: Initial sort not consistent (#5224) 2025-12-04 12:26:21 -05:00
sortStudy.ts fix: Initial sort not consistent (#5224) 2025-12-04 12:26:21 -05:00
splitComma.ts docs(spelling): Add codespell config + github action, run and fix a good number of typos (#3645) 2023-09-12 07:40:38 -04:00
str2ab.js
structuredCloneWithFunctions.ts feat: Add inherit from basic/longitudinal modes (#5435) 2025-10-01 14:31:26 -04:00
toNumber.js OHIF with Cornerstone3D 2.0 (#4347) 2024-11-06 07:15:27 -05:00
unravelIndex.ts
urlUtil.js
uuidv4.ts
writeScript.js