diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 33662b6bc650..000000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: Report a bug -about: Let us know so we can fix it! ---- - - - -Sandcastle example: - -Browser: - -Operating System: - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 000000000000..ceb1213d820b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,50 @@ +name: Report a bug +description: Let us know so we can fix it! +labels: ["needs triage", "type - bug"] +body: + - type: markdown + attributes: + value: | + Thanks for helping us improve CesiumJS! Please describe what the expected behavior is vs what actually happens. + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + validations: + required: true + - type: textarea + id: repro + attributes: + label: Reproduction steps + description: "How do you trigger this bug? Please walk us through it step by step." + value: | + 1. + 2. + 3. + ... + - type: input + id: sandcastle + attributes: + label: Sandcastle example + description: Creating a Sandcastle example (https://sandcastle.cesium.com) that reproduces the issue helps us a lot in tracking down bugs. Paste the link you get from the "Share" button in Sandcastle below. + placeholder: ex. https://sandcastle.cesium.com/... + validations: + required: false + - type: textarea + id: environment + attributes: + label: Environment + description: What Browsers, OS, and CesiumJS version are you experiencing this issue on? + value: | + Browser: + CesiumJS Version: + Operating System: + - type: markdown + attributes: + value: | + If you can also contribute a fix, we'd absolutely appreciate it! Fixing a bug in CesiumJS often means fixing a bug for thousands of applications and millions of end users. + + Check out the contributor guide to get started: [CONTRIBUTING.md](https://github.com/CesiumGS/cesium/blob/main/CONTRIBUTING.md) + + Just let us know you're working on it and we'd be happy to provide advice and feedback. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index a49531a2c9b3..000000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Request a feature -about: New ideas & improvements to Cesium are always welcome. ---- - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 000000000000..c9b3e4ae1dd5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,20 @@ +name: Request a feature +description: New ideas & improvements to CesiumJS are always welcome. +labels: ["needs triage", "type - enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for helping make CesiumJS better! + + When suggesting an idea, give examples of the intended use case. Features that benefit the wider community are more likely to be prioritized. + - type: textarea + id: new-feature + attributes: + label: Feature + validations: + required: true + - type: markdown + attributes: + value: | + The best way to get your ideas into CesiumJS is to help us! We love contributions and are always happy to be provide feedback and advice. Check out the contributor guide to get started: [CONTRIBUTING.md](https://github.com/CesiumGS/cesium/blob/main/CONTRIBUTING.md) \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index 7f8d2800d44b..000000000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -name: Ask a question -about: Please use the community forum (https://community.cesium.com/) for general questions about using Cesium. ---- - -:exclamation: Please use the [community forum](https://community.cesium.com/) for asking questions about how to use Cesium and best practices. The core Cesium team actively monitors the forum and we love seeing what people are working on! :exclamation: diff --git a/.github/ISSUE_TEMPLATE/question.yaml b/.github/ISSUE_TEMPLATE/question.yaml new file mode 100644 index 000000000000..d5a28db08e07 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yaml @@ -0,0 +1,15 @@ +name: Ask a question +description: Please use the community forum (https://community.cesium.com/) for general questions about using CesiumJS. +labels: ["needs triage"] +body: + - type: markdown + attributes: + value: | + :exclamation: Please use the [community forum](https://community.cesium.com/) for asking questions about how to use CesiumJS and best practices. The core CesiumJS team actively monitors the forum and we love seeing what people are working on! :exclamation: + - type: checkboxes + id: verify + attributes: + label: Verification + description: Confirm you will ask your question on our forums linked above + options: + - label: "Yes" \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000000..ceeb9ee546a1 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,35 @@ + + +# Description + + + + + + + +## Issue number and link + + + + + +## Testing plan + + + +# Author checklist + +- [ ] I have submitted a Contributor License Agreement +- [ ] I have added my name to `CONTRIBUTORS.md` +- [ ] I have updated `CHANGES.md` with a short summary of my change +- [ ] I have added or updated unit tests to ensure consistent code coverage +- [ ] I have update the inline documentation, and included code examples where relevant +- [ ] I have performed a self-review of my code diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index bbf3024c5303..e7d1ddf8dc42 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -97,7 +97,22 @@ jobs: - uses: ./.github/actions/verify-package - name: deploy to s3 if: ${{ env.AWS_ACCESS_KEY_ID != '' }} - run: npm run deploy-s3 -- -b "cesium-public-builds" -d cesium/$BRANCH -c 'no-cache' --confirm + run: | + aws s3 sync . s3://cesium-public-builds/cesium/$BRANCH/ \ + --cache-control "no-cache" \ + --exclude ".git/*" \ + --exclude ".concierge/*" \ + --exclude ".github/*" \ + --exclude ".husky/*" \ + --exclude ".vscode/*" \ + --exclude "Build/Coverage/*" \ + --exclude "Build/CesiumDev/*" \ + --exclude "Build/Specs/e2e" \ + --exclude "Documentation/*" \ + --exclude "node_modules/*" \ + --exclude "scripts/*" \ + --exclude "Tools/*" \ + --delete - name: set status if: ${{ env.AWS_ACCESS_KEY_ID != '' }} run: npm run deploy-status -- --status success --message Deployed diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index a906ee8e309b..63fc926c4b12 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -45,4 +45,10 @@ jobs: run: npm run build-apps - name: deploy to cesium.com if: ${{ env.AWS_ACCESS_KEY_ID != '' }} - run: npm run deploy-s3 -- -b "cesium.com-next" -c 'public, max-age=1800' --skip --confirm \ No newline at end of file + run: | + curl -LO $(curl https://api.github.com/repos/CesiumGS/cesium/releases/latest -H "Authorization: ${GITHUB_TOKEN}" | jq -r '.assets[0].browser_download_url') + unzip Cesium-$(cat package.json | jq -r '.version' | sed 's/\.0$//').zip -d Build/release/ -x "Apps" + 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 diff --git a/.slackbot.yml b/.slackbot.yml index f1b54f977c8d..ca0d87fc8160 100644 --- a/.slackbot.yml +++ b/.slackbot.yml @@ -4,5 +4,11 @@ releaseSchedule: - ggetz, 3/1/2023 - jjhembd, 4/3/2023 - ggetz, 5/1/2023 - -jjhembd, 6/1/2023 + - jjhembd, 6/1/2023 - ggetz, 7/1/2023 + - jjhembd, 8/1/2023 + - ggetz, 9/1/2023 + - jjhembd, 10/1/2023 + - ggetz, 11/1/2023 + - jjhembd, 12/1/2023 + - ggetz, 1/2/2024 diff --git a/Apps/Sandcastle/gallery/3D Tiles Next CDB Yemen.html b/Apps/Sandcastle/gallery/3D Tiles 1.1 CDB Yemen.html similarity index 98% rename from Apps/Sandcastle/gallery/3D Tiles Next CDB Yemen.html rename to Apps/Sandcastle/gallery/3D Tiles 1.1 CDB Yemen.html index 6ad00b2bbb77..cc1e609e1210 100644 --- a/Apps/Sandcastle/gallery/3D Tiles Next CDB Yemen.html +++ b/Apps/Sandcastle/gallery/3D Tiles 1.1 CDB Yemen.html @@ -9,9 +9,9 @@ /> - + Cesium Demo + + + + +
+
+

Loading...

+
+
+ + + + + + + + + + + +
Exaggeration + + +
Relative Height + + +
+
+ + + diff --git a/Apps/Sandcastle/gallery/3D Tiles Vertical Exaggeration.jpg b/Apps/Sandcastle/gallery/3D Tiles Vertical Exaggeration.jpg new file mode 100644 index 000000000000..3db48e2ae825 Binary files /dev/null and b/Apps/Sandcastle/gallery/3D Tiles Vertical Exaggeration.jpg differ diff --git a/Apps/Sandcastle/gallery/Bing Maps Labels Only.html b/Apps/Sandcastle/gallery/Bing Maps Labels Only.html new file mode 100644 index 000000000000..2a827d793e0b --- /dev/null +++ b/Apps/Sandcastle/gallery/Bing Maps Labels Only.html @@ -0,0 +1,166 @@ + + + + + + + + + Cesium Demo + + + + + + + +
+
+
+

Loading...

+
+ + + + diff --git a/Apps/Sandcastle/gallery/Bing Maps Labels Only.jpg b/Apps/Sandcastle/gallery/Bing Maps Labels Only.jpg new file mode 100644 index 000000000000..1dc05ea0c4b0 Binary files /dev/null and b/Apps/Sandcastle/gallery/Bing Maps Labels Only.jpg differ diff --git a/Apps/Sandcastle/gallery/Custom Shaders 3D Tiles.html b/Apps/Sandcastle/gallery/Custom Shaders 3D Tiles.html index 41ff38b556e9..fd48cd444b11 100644 --- a/Apps/Sandcastle/gallery/Custom Shaders 3D Tiles.html +++ b/Apps/Sandcastle/gallery/Custom Shaders 3D Tiles.html @@ -8,7 +8,7 @@ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> - + Cesium Demo