Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into feat/3Dcursor

This commit introduces the volume picking inside cornerstone 3D, allowing users to interact with the 3D scene
  • Loading branch information
anaisabel1909 committed Mar 8, 2025
2 parents b31b457 + 0b67f91 commit 74933b8
Show file tree
Hide file tree
Showing 245 changed files with 5,791 additions and 17,071 deletions.
34 changes: 9 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
- run: bun install
- persist_to_workspace:
root: ~/repo
paths: .
paths:
- "."

BUILD:
<<: *defaults
Expand All @@ -64,22 +65,6 @@ jobs:
- commit.txt
- version.json

API_CHECK:
<<: *defaults
steps:
- attach_workspace:
at: ~/repo
- install_bun
- run: bun install -d ajv
- run: bun run api-check
FORMAT_CHECK:
<<: *defaults
steps:
- attach_workspace:
at: ~/repo
- install_bun
- run: bun run format-check

# https://circleci.com/docs/2.0/collect-test-data/#karma
TEST:
<<: *defaults
Expand Down Expand Up @@ -117,7 +102,8 @@ jobs:
mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking
no\n" > ~/.ssh/config
- add_ssh_keys:
fingerprints: 7e:0f:5b:bb:e3:7a:2e:2f:b4:85:bd:66:09:69:cb:f2
fingerprints:
- "7e:0f:5b:bb:e3:7a:2e:2f:b4:85:bd:66:09:69:cb:f2"
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "ohif-bot"
Expand Down Expand Up @@ -150,12 +136,6 @@ workflows:
- BUILD:
requires:
- CHECKOUT
- FORMAT_CHECK:
requires:
- BUILD
- API_CHECK:
requires:
- BUILD
- TEST:
requires:
- CHECKOUT # TODO: Also require build?
Expand All @@ -168,13 +148,17 @@ workflows:
branches:
only:
- main
# - beta
- beta
- BUILD:
requires:
- CHECKOUT
- TEST:
requires:
- CHECKOUT
# - HOLD_FOR_APPROVAL:
# type: approval
# requires:
# - BUILD
- NPM_PUBLISH:
requires:
- BUILD
Expand Down
10 changes: 9 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@
"tsconfigRootDir": "./",
"warnOnUnsupportedTypeScriptVersion": false
},
"ignorePatterns": ["packages/docs", "dist", "**/*_test.js", "**/*_jest.js", "**/*babel*", "**/*.d.ts", "**/*_types.ts"],
"ignorePatterns": [
"packages/docs",
"dist",
"**/*_test.js",
"**/*_jest.js",
"**/*babel*",
"**/*.d.ts",
"**/*_types.ts"
],
"rules": {
"import/no-cycle": ["error", { "maxDepth": 15 }],
// Enforce consistent brace style for all control statements for readability
Expand Down
2 changes: 0 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ after the commits are squashed.
- [] My code has been well-documented (function documentation, inline comments,
etc.)

- [] I have run the `yarn build:update-api` to update the API documentation, and have
committed the changes to this PR. (Read more here https://www.cornerstonejs.org/docs/contribute/update-api)


#### Public Documentation Updates
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Format Check

on:
pull_request:
branches: [ '*' ]
push:
branches: [ main, beta ]

jobs:
format-check:
timeout-minutes: 30
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.18.1'
cache: 'npm'

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install

- name: Build dependencies
run: bun run build:esm

- name: Run format check
run: bun run format-check
env:
NODE_OPTIONS: --max_old_space_size=32896
64 changes: 64 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,70 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.0.5](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.4...v3.0.5) (2025-03-06)

### Bug Fixes

- **segmentation:** Add segmentation ID requirement for threshold operations ([#1879](https://github.com/cornerstonejs/cornerstone3D/issues/1879)) ([eae9577](https://github.com/cornerstonejs/cornerstone3D/commit/eae957729848d44971050ca40d684dae8f919170))

## [3.0.4](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.3...v3.0.4) (2025-03-05)

### Bug Fixes

- **worker:** should not change type of input ([#1877](https://github.com/cornerstonejs/cornerstone3D/issues/1877)) ([a97effd](https://github.com/cornerstonejs/cornerstone3D/commit/a97effd52abe35eaf532a5634a69b76f932099e7))

## [3.0.3](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.2...v3.0.3) (2025-03-04)

### Bug Fixes

- try to pass the fake version number ([#1873](https://github.com/cornerstonejs/cornerstone3D/issues/1873)) ([06c82fb](https://github.com/cornerstonejs/cornerstone3D/commit/06c82fba65c1cf578eb322642dfe080d39ce0719))

## [3.0.2](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.1...v3.0.2) (2025-03-04)

### Bug Fixes

- **CrosshairsTool:** support HPDI screens in CrosshairsTool ([#1824](https://github.com/cornerstonejs/cornerstone3D/issues/1824)) ([cd299e4](https://github.com/cornerstonejs/cornerstone3D/commit/cd299e40723fb94a6f2568a8008935d8e01ff4f4)), closes [#1822](https://github.com/cornerstonejs/cornerstone3D/issues/1822)
- **segmentation:** resolve variable declaration and null check issues ([#1872](https://github.com/cornerstonejs/cornerstone3D/issues/1872)) ([029966d](https://github.com/cornerstonejs/cornerstone3D/commit/029966d0a3ffc86fa38d3e089d9b0d7d5c105f32))

### Features

- **surface-segmentation:** add visibilty configuration for surface segmentation ([#1846](https://github.com/cornerstonejs/cornerstone3D/issues/1846)) ([e1b5bc6](https://github.com/cornerstonejs/cornerstone3D/commit/e1b5bc646f3997be88ec237f86406c310420379a))

## [3.0.1](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.0...v3.0.1) (2025-02-27)

**Note:** Version bump only for package root

# [3.0.0](https://github.com/cornerstonejs/cornerstone3D/compare/v2.19.16...v3.0.0) (2025-02-27)

### Features

- Cornerstone3D 3.0 ([#1865](https://github.com/cornerstonejs/cornerstone3D/issues/1865)) ([fe65459](https://github.com/cornerstonejs/cornerstone3D/commit/fe654590d16414e76361e1b2826fd64c3734ae87))

# [3.0.0-beta.6](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2025-02-27)

### Features

- Add key image adapters for key image point mark ([#1754](https://github.com/cornerstonejs/cornerstone3D/issues/1754)) ([a1fd3f9](https://github.com/cornerstonejs/cornerstone3D/commit/a1fd3f9d0ea40d53cafd792d59bc1dbfc90663a5))

# [3.0.0-beta.5](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2025-02-25)

**Note:** Version bump only for package root

# [3.0.0-beta.4](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2025-02-25)

**Note:** Version bump only for package root

# [3.0.0-beta.3](https://github.com/cornerstonejs/cornerstone3D/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2025-02-25)

**Note:** Version bump only for package root

# [3.0.0-beta.2](https://github.com/cornerstonejs/cornerstone3D/compare/v2.19.14...v3.0.0-beta.2) (2025-02-24)

### Bug Fixes

- publish beta for 3.0 ([6000ed8](https://github.com/cornerstonejs/cornerstone3D/commit/6000ed8cb2bee031a93fe57eeda81d926ee31240))
- publish beta for 3.0 ([8bf65df](https://github.com/cornerstonejs/cornerstone3D/commit/8bf65df9bec5f52459de1c49c4834b316f680f1b))

## [2.19.14](https://github.com/cornerstonejs/cornerstone3D/compare/v2.19.13...v2.19.14) (2025-02-24)

### Bug Fixes
Expand Down
114 changes: 0 additions & 114 deletions addOns/externals/polyseg-wasm/CHANGELOG.md

This file was deleted.

15 changes: 0 additions & 15 deletions addOns/externals/polyseg-wasm/package.json

This file was deleted.

Loading

0 comments on commit 74933b8

Please sign in to comment.