From b4abd88d0d97c83bb52d233dcfaf3d9b8ac2f829 Mon Sep 17 00:00:00 2001 From: Ariella Gilmore Date: Thu, 12 Dec 2024 12:33:59 -0800 Subject: [PATCH 1/3] fix(issue-triage): hardcode repository (#4403) --- .github/workflows/issue-triage.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 56994a72569..c4b94a9ac47 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -7,7 +7,6 @@ on: env: ISSUE_NUMBER: ${{ github.event.issue.number }} OWNER: ${{ github.repository_owner }} - REPOSITORY: ${{ github.repository }} PROJECT_NUMBER: 39 PROJECT_ID: PVT_kwDOAYA3Ss1Nvw @@ -28,7 +27,7 @@ jobs: - name: Get issue ID id: get_issue_id run: | - ISSUE_ID=$(gh project item-list $PROJECT_NUMBER --owner=$OWNER --limit=$ITEM_FETCH_LIMIT --format=json --jq ".items[] | select(.content.number == $ISSUE_NUMBER and .content.repository == $REPOSITORY) | .id") + ISSUE_ID=$(gh project item-list $PROJECT_NUMBER --owner=$OWNER --limit=$ITEM_FETCH_LIMIT --format=json --jq '.items[] | select(.content.number == $ISSUE_NUMBER and .content.repository == "carbon-design-system/carbon-website") | .id') if [ -z "$ISSUE_ID" ]; then echo "Issue ID not found for issue number $ISSUE_NUMBER" exit 1 From 07d56c086ed0c8fb1f4bb482ab932ad4bafb40f1 Mon Sep 17 00:00:00 2001 From: Ariella Gilmore Date: Thu, 12 Dec 2024 13:28:01 -0800 Subject: [PATCH 2/3] fix(worfklow): AGAIN! update dynamic env (#4405) --- .github/workflows/issue-triage.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index c4b94a9ac47..41d7bc8b32b 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -5,7 +5,6 @@ on: issue_comment: types: [created] env: - ISSUE_NUMBER: ${{ github.event.issue.number }} OWNER: ${{ github.repository_owner }} PROJECT_NUMBER: 39 @@ -27,19 +26,17 @@ jobs: - name: Get issue ID id: get_issue_id run: | - ISSUE_ID=$(gh project item-list $PROJECT_NUMBER --owner=$OWNER --limit=$ITEM_FETCH_LIMIT --format=json --jq '.items[] | select(.content.number == $ISSUE_NUMBER and .content.repository == "carbon-design-system/carbon-website") | .id') - if [ -z "$ISSUE_ID" ]; then - echo "Issue ID not found for issue number $ISSUE_NUMBER" - exit 1 - fi - echo "Issue ID is $ISSUE_ID" - echo "issue_id=$ISSUE_ID" >> "$GITHUB_OUTPUT" + ISSUE_ID=$(gh project item-list $PROJECT_NUMBER --owner=$OWNER --limit=$ITEM_FETCH_LIMIT --format=json --jq '.items[] | select(.content.number == '"${{ github.event.issue.number }}"' and .content.repository == "carbon-design-system/carbon-website") | .id') + if [ -z "$ISSUE_ID" ]; then + echo "Issue ID not found for issue number ${{ github.event.issue.number }}" + exit 1 + fi + echo "Issue ID is $ISSUE_ID" + echo "issue_id=$ISSUE_ID" >> "$GITHUB_OUTPUT" env: GH_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }} - name: Update issue with website area field - run: - gh project item-edit --project-id $PROJECT_ID --id $ISSUE_ID - --field-id $AREA_FIELD_ID --single-select-option-id $AREA_WEBSITE + run: | + gh project item-edit --project-id $PROJECT_ID --id ${{ steps.get_issue_id.outputs.issue_id }} --field-id $AREA_FIELD_ID --single-select-option-id $AREA_WEBSITE env: GH_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }} - $ISSUE_ID: ${{ steps.get_issue_id.outputs.issue_id }} From 8ed97f2afcc8c8495778c22d1c97e5c876d79dc3 Mon Sep 17 00:00:00 2001 From: thyhmdo <77697351+thyhmdo@users.noreply.github.com> Date: Sun, 15 Dec 2024 23:53:20 -0600 Subject: [PATCH 3/3] [Combobox] Autocomplete (#4386) * autocomplete * update2 --------- Co-authored-by: Kritvi <158570656+Kritvi-bhatia17@users.noreply.github.com> --- src/pages/components/dropdown/usage.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/components/dropdown/usage.mdx b/src/pages/components/dropdown/usage.mdx index c4d3dfdc558..398ea698aab 100755 --- a/src/pages/components/dropdown/usage.mdx +++ b/src/pages/components/dropdown/usage.mdx @@ -826,11 +826,11 @@ boxes are useful when the data populating the list may come from a database. -- The menu opens by clicking anywhere in the field and you can start typing to - sort through the list of options. The option that best matches the typed - characters is highlighted. -- After typing text in the field, the close (x) icon appears to the right of the - text in the field. This clears any text that’s been entered in the field. +- The menu opens by clicking anywhere in the field, allowing users to type and + sort through the list of options. The best-matching option is highlighted as + users type. +- A close (x) icon clears the input, and autocomplete refines options as users + type.