From c1a14d88d34363f265431148d8ff6d9ce567efd8 Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Mon, 29 Sep 2025 17:30:23 -0400 Subject: [PATCH 1/9] change banner links --- Apps/Sandcastle/index.html | 2 +- packages/sandcastle/src/App.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Apps/Sandcastle/index.html b/Apps/Sandcastle/index.html index ce1aa2991fb1..c465042b40ae 100644 --- a/Apps/Sandcastle/index.html +++ b/Apps/Sandcastle/index.html @@ -81,7 +81,7 @@ data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region: 'top'" > - Try the new version of Sandcastle today! diff --git a/packages/sandcastle/src/App.tsx b/packages/sandcastle/src/App.tsx index dda8e909a388..dee44787a4cd 100644 --- a/packages/sandcastle/src/App.tsx +++ b/packages/sandcastle/src/App.tsx @@ -483,7 +483,10 @@ function App() { synchronizeColorScheme >
- + Looking for the old Sandcastle? It's still here (for a little while) →
From 3fda5a057a87ce3335e3dcb5f61c9d59f3e30d2d Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Mon, 29 Sep 2025 17:30:36 -0400 Subject: [PATCH 2/9] update gallery focus outline style --- packages/sandcastle/src/Gallery/Gallery.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/sandcastle/src/Gallery/Gallery.css b/packages/sandcastle/src/Gallery/Gallery.css index 539007f1ae54..d24958ab2cfe 100644 --- a/packages/sandcastle/src/Gallery/Gallery.css +++ b/packages/sandcastle/src/Gallery/Gallery.css @@ -126,11 +126,9 @@ padding: var(--stratakit-space-x2); gap: var(--stratakit-space-x2); overflow-y: auto; - &:focus-visible { - /* small margin to allow focus highlight to be visible all the way around */ - margin: 0 3px 4px; - border-radius: var(--stratakit-ext-radius-xs); - } + /* small margin to allow focus highlight to be visible all the way around */ + margin: 0 3px 4px; + border-radius: var(--stratakit-ext-radius-xs); } .empty-list div { From 3a0a7a430ee55c9b3e15854d46f135607ab1e033 Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Mon, 29 Sep 2025 17:30:51 -0400 Subject: [PATCH 3/9] update local server links to new sandcastle --- index.html | 5 ++--- index.release.html | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 9c90d4314c53..95d3a3184763 100644 --- a/index.html +++ b/index.html @@ -32,12 +32,11 @@ Hello World
  • - Sandcastle + Sandcastle
  • diff --git a/index.release.html b/index.release.html index 0cf60e9f9de2..ef8ad8a45484 100644 --- a/index.release.html +++ b/index.release.html @@ -90,7 +90,7 @@

    Local links

    - Sandcastle + Sandcastle Cesium's live code editor and example gallery. Browse examples highlighting features of the Cesium API and edit and run them From 75e1e34d7428d190ed90e9e51e5addbe07d1558a Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Tue, 30 Sep 2025 15:56:45 -0400 Subject: [PATCH 4/9] don't include dev sandcastles in prod --- packages/sandcastle/sandcastle.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sandcastle/sandcastle.config.js b/packages/sandcastle/sandcastle.config.js index 19f74d2b23d5..a9e6103e4bdc 100644 --- a/packages/sandcastle/sandcastle.config.js +++ b/packages/sandcastle/sandcastle.config.js @@ -1,3 +1,5 @@ +import process from "process"; + const config = { root: ".", sourceUrl: "https://github.com/CesiumGS/cesium/blob/main/packages/sandcastle", @@ -19,7 +21,7 @@ const config = { labels: [], development: false, }, - includeDevelopment: true, + includeDevelopment: !process.env.PROD, }, }; From 8e75bfc2d94f5224482f0418ccb397fa3923c6b8 Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:10:06 -0400 Subject: [PATCH 5/9] revert release sandcastle link --- index.release.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.release.html b/index.release.html index ef8ad8a45484..0cf60e9f9de2 100644 --- a/index.release.html +++ b/index.release.html @@ -90,7 +90,7 @@

    Local links

    - Sandcastle + Sandcastle Cesium's live code editor and example gallery. Browse examples highlighting features of the Cesium API and edit and run them From 8aab6dfd199baf5c0f81b0fc52c20de5c4730835 Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:35:54 -0400 Subject: [PATCH 6/9] deploy new sandcastle in prod --- .github/workflows/prod.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index baa75bb0d8f3..628d8890ac5e 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -1,8 +1,8 @@ name: prod -on: +on: push: - branches: - - 'cesium.com' + branches: + - "cesium.com" jobs: lint: runs-on: ubuntu-latest @@ -11,7 +11,7 @@ jobs: - name: install node 22 uses: actions/setup-node@v5 with: - node-version: '22' + node-version: "22" - name: npm install run: npm install - name: lint *.js @@ -36,13 +36,17 @@ jobs: - name: install node 22 uses: actions/setup-node@v5 with: - node-version: '22' + node-version: "22" - name: npm install run: npm install - name: build website release run: npm run website-release - name: build apps run: npm run build-apps + - name: build types + run: npm run build-ts + - name: build prod sandcastle + run: npm run build-prod -w packages/sandcastle -- -l warn - name: deploy to cesium.com if: ${{ env.AWS_ACCESS_KEY_ID != '' }} run: | @@ -51,4 +55,4 @@ jobs: aws s3 sync Build/release/ s3://cesium-website/cesiumjs/releases/$(cat package.json | jq -r '.version' | sed 's/\.0$//')/ --cache-control "public, max-age=1800" --delete aws s3 sync Build/Documentation/ s3://cesium-website/cesiumjs/ref-doc/ --cache-control "public, max-age=1800" --delete aws s3 sync Build/CesiumViewer/ s3://cesium-website/cesiumjs/cesium-viewer/ --cache-control "public, max-age=1800" --delete - aws s3 sync Build/Sandcastle/ s3://cesium-sandcastle-website/ --cache-control "public, max-age=1800" --delete + aws s3 sync Build/Sandcastle2/ s3://cesium-sandcastle-website/ --cache-control "public, max-age=1800" --delete From 28719ef9190ea627ec119b9c40730a744fe695aa Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:52:22 -0400 Subject: [PATCH 7/9] exclude gallery from the zip --- gulpfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gulpfile.js b/gulpfile.js index 3108effc626d..21e896ce804a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -663,6 +663,7 @@ export const makeZip = gulp.series(release, async function createZipFile() { "!**/*.gitignore", "!Specs/e2e/*-snapshots/**", "!Apps/Sandcastle/gallery/development/**", + "!Apps/Sandcastle2/**", ], { encoding: false, From cbb08839fe8ff0fba003bbe1713724d5de67ac29 Mon Sep 17 00:00:00 2001 From: jjspace <8007967+jjspace@users.noreply.github.com> Date: Tue, 30 Sep 2025 17:18:50 -0400 Subject: [PATCH 8/9] backport extra build during website-release from cesium.com branch --- gulpfile.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 21e896ce804a..50cddce9cba2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -447,6 +447,13 @@ export const websiteRelease = gulp.series( node: false, }); }, + function () { + return buildCesium({ + minify: true, + removePragmas: true, + node: false, + }); + }, combineForSandcastle, buildDocs, ); From 74c943dec63a92b2f7745076237d32969dfb176a Mon Sep 17 00:00:00 2001 From: ggetz Date: Wed, 1 Oct 2025 10:22:58 -0400 Subject: [PATCH 9/9] Update CHANGES.md --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 0afa5f0dbc30..2a55e3800e91 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,8 @@ ## 1.134 - 2025-10-01 +- [Sandcastle](https://sandcastle.cesium.com/) has been updated at `https://sandcastle.cesium.com`! The [legacy Sandcastle app](https://cesium.com/downloads/cesiumjs/releases/1.134/Apps/Sandcastle/index.html) will remain available through November 3, 2025. + ### @cesium/engine #### Fixes :wrench: