Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nto dit13711/7180-add-tokens-to-loader
  • Loading branch information
DitwanP committed Dec 10, 2024
2 parents d779dde + dc71e7f commit 36e32b5
Show file tree
Hide file tree
Showing 101 changed files with 341 additions and 10 deletions.
45 changes: 45 additions & 0 deletions .github/scripts/omitPrFromChangelog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// @ts-check
const {
labels: { planning },
} = require("./support/resources");

/** @param {import('github-script').AsyncFunctionArguments} AsyncFunctionArguments */
module.exports = async ({ github, context }) => {
const { repo, owner } = context.repo;
const payload = /** @type {import('@octokit/webhooks-types').PullRequestLabeledEvent} */ (context.payload);
const {
label,
pull_request: { number },
} = payload;

const pullRequestBody = payload.pull_request.body;
const omitComment = `\n\nBEGIN_COMMIT_OVERRIDE\nEND_COMMIT_OVERRIDE`;
const omitCommentRegex = /BEGIN_COMMIT_OVERRIDE/gm;

if (!pullRequestBody) {
console.log("No issue body was found, ending run.");
return;
}

if (pullRequestBody.match(omitCommentRegex)) {
console.log("This PR is already omitted from the changelog, ending run.");
return;
}

if (label?.name === planning.noChangelogEntry) {
const pullRequestProps = {
owner,
repo,
pull_number: number,
};

const newPullRequestBody = `${pullRequestBody}${omitComment}`;

await github.rest.pulls.update({
...pullRequestProps,
body: newPullRequestBody,
});
} else {
console.log(`The \`no changleog entry\` label is not present on this PR.`);
}
};
1 change: 1 addition & 0 deletions .github/scripts/support/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const resources = {
needsMilestone: "needs milestone",
spike: "spike",
spikeComplete: "spike complete",
noChangelogEntry: "no changelog entry",
},
priority: {
low: "p - low",
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/omit-pr-from-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Remove PR from changelog
on:
pull_request:
types:
- labeled
- opened
branches:
- dev
jobs:
add-changelog-omit-comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Add omit comment to PR
uses: actions/github-script@v7
with:
script: |
const action = require('${{ github.workspace }}/.github/scripts/omitPrFromChangelog.js')
await action({github, context, core})
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions packages/calcite-components-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.0.0-next.54](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-12-10)

**Note:** Version bump only for package @esri/calcite-components-react

## [3.0.0-next.53](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-12-09)

**Note:** Version bump only for package @esri/calcite-components-react
Expand Down
4 changes: 2 additions & 2 deletions packages/calcite-components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@esri/calcite-components-react",
"version": "3.0.0-next.53",
"version": "3.0.0-next.54",
"description": "A set of React components that wrap calcite components",
"homepage": "https://developers.arcgis.com/calcite-design-system/",
"repository": {
Expand All @@ -26,7 +26,7 @@
"tsc": "tsc"
},
"dependencies": {
"@esri/calcite-components": "3.0.0-next.53",
"@esri/calcite-components": "3.0.0-next.54",
"@lit/react": "1.0.6"
},
"peerDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/calcite-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.0.0-next.54](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-12-10)

**Note:** Version bump only for package @esri/calcite-components

## [3.0.0-next.53](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-12-09)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/calcite-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@esri/calcite-components",
"version": "3.0.0-next.53",
"version": "3.0.0-next.54",
"description": "Web Components for Esri's Calcite Design System.",
"homepage": "https://developers.arcgis.com/calcite-design-system/",
"repository": {
Expand Down Expand Up @@ -71,7 +71,7 @@
"@arcgis/components-controllers": "4.32.0-next.35",
"@arcgis/components-utils": "4.32.0-next.35",
"@arcgis/lumina": "4.32.0-next.35",
"@esri/calcite-ui-icons": "4.0.0-next.1",
"@esri/calcite-ui-icons": "4.0.0-next.2",
"@floating-ui/dom": "1.6.12",
"@floating-ui/utils": "0.2.8",
"@types/color": "3.0.6",
Expand Down
6 changes: 6 additions & 0 deletions packages/calcite-ui-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.0.0-next.2](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-12-10)

### Features

- add ArcGIS Knowledge Studio 11.5 Icons ([#11018](https://github.com/Esri/calcite-design-system/issues/11018)) ([552d711](https://github.com/Esri/calcite-design-system/commit/552d711ddd756d8ad85723ba08b990213e885fd3))

## [4.0.0-next.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2024-11-26)

### Features
Expand Down
161 changes: 161 additions & 0 deletions packages/calcite-ui-icons/docs/keywords.json
Original file line number Diff line number Diff line change
Expand Up @@ -9290,5 +9290,166 @@
"alias": ["4.0.0", "weather", "weather", "conditions", "forecast"],
"category": "Weather",
"release": "4.0.0"
},
"add-link-chart-root-nodes": {
"alias": [
"4.0.0",
"knowledge graph",
"filter",
"points",
"model",
"select",
"add to",
"nodes",
"area",
"distance "
],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"cluster-radius": {
"alias": ["4.0.0", "knowledge graph", "area", "nodes", "distance", "select", "model"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"collapse-entities": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes", "simplify", "condense"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"collapse-relationships": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes", "simplify", "condense"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"community-detection": {
"alias": ["4.0.0", "knowledge graph", "calculator", "filter", "points", "model", "select", "add to", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"editing-trim-to-length": {
"alias": ["4.0.0", "knowledge graph", "area", "nodes", "distance", "select", "model"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"filtered-find-add-path": {
"alias": ["4.0.0", "knowledge graph", "filter", "points", "model", "select", "add to", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"find-add-path": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add to", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"hide-data": {
"alias": ["4.0.0", "knowledge graph", "server", "memory"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"hide-link-chart-nonspatial-data": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "remove", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"hide-link-chart-root-nodes": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "remove", "nodes", "area", "distance"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-apply-to": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-centrality": {
"alias": ["4.0.0", "knowledge graph", "calculator", "filter", "points", "model", "select", "add to", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-collapse-ends": {
"alias": ["4.0.0", "knowledge graph", "close", "delete", "points", "model", "select", "add to", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-connect": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-connect-between": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-connect-from": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-find-between": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-select-between": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-sync-selection": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"link-chart-tools": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "nodes", "wrench"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"multi-timeline": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes", "clock", "time"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"select-nonspatial-data": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"select-root-chart-nodes": {
"alias": ["4.0.0", "knowledge graph", "view", "area", "nodes", "distance", "select", "model"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"show-data": {
"alias": ["4.0.0", "knowledge graph", "view", "server", "memory"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"show-link-chart-nonspatial-data": {
"alias": ["4.0.0", "knowledge graph", "eye", "view", "points", "model", "select", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"show-link-chart-root-nodes": {
"alias": ["4.0.0", "knowledge graph", "view", "area", "nodes", "distance", "select", "model"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"single-timeline": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "add", "nodes", "clock", "time"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"uncollapse-entities": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
},
"uncollapse-relationships": {
"alias": ["4.0.0", "knowledge graph", "points", "model", "select", "nodes"],
"category": "Knowledge Graph",
"release": "4.0.0"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/calcite-ui-icons/icons/cluster-radius-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/calcite-ui-icons/icons/cluster-radius-24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/calcite-ui-icons/icons/cluster-radius-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/calcite-ui-icons/icons/collapse-entities-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/calcite-ui-icons/icons/collapse-entities-24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/calcite-ui-icons/icons/collapse-entities-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 36e32b5

Please sign in to comment.