Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/follow-redirects-1…
Browse files Browse the repository at this point in the history
….15.6
  • Loading branch information
pozil committed May 14, 2024
2 parents c028985 + fca15fb commit 8e7d851
Show file tree
Hide file tree
Showing 6 changed files with 923 additions and 1,090 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Default owners for everything in the repo.
# They will be assigned for review on all PRs.
* @pozil
#ECCN:EAR99
14 changes: 8 additions & 6 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
# Checkout the code in the pull request
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install Volta to enforce proper node and package manager versions
- name: 'Install Volta'
Expand All @@ -23,7 +23,7 @@ jobs:
# Cache node_modules to speed up the process
- name: 'Restore node_modules cache'
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -48,10 +48,11 @@ jobs:
- name: 'LWC unit tests'
run: npm run test:coverage

# Upload LWC code coverage data
# Upload code coverage data
- name: 'Upload code coverage for LWC to Codecov.io'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: LWC

scratch-org-tests:
Expand All @@ -61,7 +62,7 @@ jobs:
steps:
# Checkout the code in the pull request
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install Salesforce CLI
- name: 'Install Salesforce CLI'
Expand Down Expand Up @@ -100,8 +101,9 @@ jobs:

# Upload Apex code coverage data
- name: 'Upload code coverage for Apex to Codecov.io'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: Apex

# Housekeeping
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
# Checkout the code in the pull request
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install Volta to enforce proper node and package manager versions
- name: 'Install Volta'
Expand All @@ -24,7 +24,7 @@ jobs:
# Cache node_modules to speed up the process
- name: 'Restore node_modules cache'
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -51,8 +51,9 @@ jobs:

# Upload LWC code coverage data
- name: 'Upload code coverage for LWC to Codecov.io'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: LWC

scratch-org-tests:
Expand All @@ -61,7 +62,7 @@ jobs:
steps:
# Checkout the code in the pull request
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install Salesforce CLI
- name: 'Install Salesforce CLI'
Expand Down Expand Up @@ -94,8 +95,9 @@ jobs:

# Upload Apex code coverage data
- name: 'Upload code coverage for Apex to Codecov.io'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: Apex

# Housekeeping
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,14 @@ Here's how you can retrieve recent records and set them as default search result

1. Initialize the lookup default results when the parent component loads:

```js
connectedCallback() {
this.initLookupDefaultResults();
}
```
```js
connectedCallback() {
this.initLookupDefaultResults();
}
```

> [!NOTE] > `initLookupDefaultResults()` is called in two places because the wire could load before the lookup is rendered.
> [!NOTE]
> The `initLookupDefaultResults()` function is called in two places because the wire could load before the lookup is rendered.
### Saving form state when creating new records (optional)

Expand Down
Loading

0 comments on commit 8e7d851

Please sign in to comment.