Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenmrice authored Dec 16, 2024
2 parents fd20399 + 8ed97f2 commit 5b3691d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ on:
issue_comment:
types: [created]
env:
ISSUE_NUMBER: ${{ github.event.issue.number }}
OWNER: ${{ github.repository_owner }}
REPOSITORY: ${{ github.repository }}

PROJECT_NUMBER: 39
PROJECT_ID: PVT_kwDOAYA3Ss1Nvw
Expand All @@ -28,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 == $REPOSITORY) | .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 }}
10 changes: 5 additions & 5 deletions src/pages/components/dropdown/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -826,11 +826,11 @@ boxes are useful when the data populating the list may come from a database.
</Column>
</Row>

- 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.

<Row>
<Column colLg={8}>
Expand Down

0 comments on commit 5b3691d

Please sign in to comment.