Skip to content

Commit

Permalink
Summer '20 release (#336)
Browse files Browse the repository at this point in the history
* bumped all meta files and sfdx-project.json to API v49

* Pc/prerelease/project upgrade (#277)

* updated flexipages to new Summer20 itemInstances metadata type

* updating sfdx-lwc-jest to prerelease

* fixed mis-matched case on sf package name

* fixed mis-matched case on sf package name

* running with temp sfdx-lwc-jest polyfill

* inline message template and svg refactor (#275)

* Include SVG in template so that is can be scaled
* Use link instead of checkbox to show details
* Add inline message template

Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: pozil <[email protected]>

* apply lms recipes to prerelease (#288)

LMS recipes work. Needs tests.

* SLDS related changes (#289)

* Hello tab slds changes

* Apex tab slds changes

* Data Service tab slds changes

* Contact record page slds changes

* Composition tab slds changes

* Child-to-parent tab slds changes

* Parent-to-child tab slds changes

* Pub-sub tab slds changes

* Aura Interop tab slds changes

* Wire tab slds changes

* Navigation tab slds changes

* Misc tab slds changes

* 3rd party libs tab slds changes

* Tabs test slds changes

* sharing css styles among Lightning web components (#294)

* Rename app to "LWC Recipes" (#301)

* Rerun CI on PR edit (#304)

* pc/prerelease/rebase - rebase to master (#306)

* Excluded static resources from codecov (#279)

* Excluded static resources from codecov

* Codecov ignore syntax fix

* feat: 🤘🏼adding new GitHub actions (#276)

* feat: 🤘🏼adding new GitHub actions

* feat: add pull request template

* fix: use GitHub task list instead of icons

* ci: switched 'npm install' to 'npm ci' (#284)

* Fixed DE install instructions (#293)

* ci: Relaxed branch naming rule to allow capitals' (#290)

* Bump lint-staged from 10.2.2 to 10.2.7 (#296)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.2 to 10.2.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v10.2.2...v10.2.7)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump @salesforce/eslint-config-lwc from 0.5.0 to 0.7.0 (#295)

* Bump @salesforce/eslint-config-lwc from 0.5.0 to 0.7.0

Bumps [@salesforce/eslint-config-lwc](https://github.com/salesforce/eslint-config-lwc) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/salesforce/eslint-config-lwc/releases)
- [Commits](salesforce/eslint-config-lwc@v0.5.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Excluded LWC wire lint rule from tests

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: pozil <[email protected]>

* Bump prettier-plugin-apex from 1.3.0 to 1.5.0 (#297)

Bumps prettier-plugin-apex from 1.3.0 to 1.5.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Added new package version ID 04tB0000000OzdLIAS (#298)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* bumped all meta files and sfdx-project.json to API v49

* Pc/prerelease/project upgrade (#277)

* updated flexipages to new Summer20 itemInstances metadata type

* updating sfdx-lwc-jest to prerelease

* fixed mis-matched case on sf package name

* fixed mis-matched case on sf package name

* running with temp sfdx-lwc-jest polyfill

* inline message template and svg refactor (#275)

* Include SVG in template so that is can be scaled
* Use link instead of checkbox to show details
* Add inline message template

Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: pozil <[email protected]>

* apply lms recipes to prerelease (#288)

LMS recipes work. Needs tests.

* SLDS related changes (#289)

* Hello tab slds changes

* Apex tab slds changes

* Data Service tab slds changes

* Contact record page slds changes

* Composition tab slds changes

* Child-to-parent tab slds changes

* Parent-to-child tab slds changes

* Pub-sub tab slds changes

* Aura Interop tab slds changes

* Wire tab slds changes

* Navigation tab slds changes

* Misc tab slds changes

* 3rd party libs tab slds changes

* Tabs test slds changes

* sharing css styles among Lightning web components (#294)

* Rename app to "LWC Recipes" (#301)

* Rerun CI on PR edit (#304)

* updating dependencies

Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: René Winkelmeyer <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: pozil <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alba Rivas <[email protected]>
Co-authored-by: satyasekharcvb <[email protected]>

* pc/prerelease/rebase - rebase to master (#306)

* Excluded static resources from codecov (#279)

* Excluded static resources from codecov

* Codecov ignore syntax fix

* feat: 🤘🏼adding new GitHub actions (#276)

* feat: 🤘🏼adding new GitHub actions

* feat: add pull request template

* fix: use GitHub task list instead of icons

* ci: switched 'npm install' to 'npm ci' (#284)

* Fixed DE install instructions (#293)

* ci: Relaxed branch naming rule to allow capitals' (#290)

* Bump lint-staged from 10.2.2 to 10.2.7 (#296)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.2 to 10.2.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v10.2.2...v10.2.7)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump @salesforce/eslint-config-lwc from 0.5.0 to 0.7.0 (#295)

* Bump @salesforce/eslint-config-lwc from 0.5.0 to 0.7.0

Bumps [@salesforce/eslint-config-lwc](https://github.com/salesforce/eslint-config-lwc) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/salesforce/eslint-config-lwc/releases)
- [Commits](salesforce/eslint-config-lwc@v0.5.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Excluded LWC wire lint rule from tests

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: pozil <[email protected]>

* Bump prettier-plugin-apex from 1.3.0 to 1.5.0 (#297)

Bumps prettier-plugin-apex from 1.3.0 to 1.5.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Added new package version ID 04tB0000000OzdLIAS (#298)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* bumped all meta files and sfdx-project.json to API v49

* Pc/prerelease/project upgrade (#277)

* updated flexipages to new Summer20 itemInstances metadata type

* updating sfdx-lwc-jest to prerelease

* fixed mis-matched case on sf package name

* fixed mis-matched case on sf package name

* running with temp sfdx-lwc-jest polyfill

* inline message template and svg refactor (#275)

* Include SVG in template so that is can be scaled
* Use link instead of checkbox to show details
* Add inline message template

Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: pozil <[email protected]>

* apply lms recipes to prerelease (#288)

LMS recipes work. Needs tests.

* SLDS related changes (#289)

* Hello tab slds changes

* Apex tab slds changes

* Data Service tab slds changes

* Contact record page slds changes

* Composition tab slds changes

* Child-to-parent tab slds changes

* Parent-to-child tab slds changes

* Pub-sub tab slds changes

* Aura Interop tab slds changes

* Wire tab slds changes

* Navigation tab slds changes

* Misc tab slds changes

* 3rd party libs tab slds changes

* Tabs test slds changes

* sharing css styles among Lightning web components (#294)

* Rename app to "LWC Recipes" (#301)

* Rerun CI on PR edit (#304)

* updating dependencies

Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: René Winkelmeyer <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: pozil <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alba Rivas <[email protected]>
Co-authored-by: satyasekharcvb <[email protected]>

* pc/prerelease/rebase - rebase to master (#306)

* Excluded static resources from codecov (#279)

* Excluded static resources from codecov

* Codecov ignore syntax fix

* feat: 🤘🏼adding new GitHub actions (#276)

* feat: 🤘🏼adding new GitHub actions

* feat: add pull request template

* fix: use GitHub task list instead of icons

* ci: switched 'npm install' to 'npm ci' (#284)

* Fixed DE install instructions (#293)

* ci: Relaxed branch naming rule to allow capitals' (#290)

* Bump lint-staged from 10.2.2 to 10.2.7 (#296)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.2 to 10.2.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v10.2.2...v10.2.7)

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump @salesforce/eslint-config-lwc from 0.5.0 to 0.7.0 (#295)

* Bump @salesforce/eslint-config-lwc from 0.5.0 to 0.7.0

Bumps [@salesforce/eslint-config-lwc](https://github.com/salesforce/eslint-config-lwc) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/salesforce/eslint-config-lwc/releases)
- [Commits](salesforce/eslint-config-lwc@v0.5.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Excluded LWC wire lint rule from tests

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: pozil <[email protected]>

* Bump prettier-plugin-apex from 1.3.0 to 1.5.0 (#297)

Bumps prettier-plugin-apex from 1.3.0 to 1.5.0.

Signed-off-by: dependabot-preview[bot] <[email protected]>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Added new package version ID 04tB0000000OzdLIAS (#298)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* bumped all meta files and sfdx-project.json to API v49

* Pc/prerelease/project upgrade (#277)

* updated flexipages to new Summer20 itemInstances metadata type

* updating sfdx-lwc-jest to prerelease

* fixed mis-matched case on sf package name

* fixed mis-matched case on sf package name

* running with temp sfdx-lwc-jest polyfill

* inline message template and svg refactor (#275)

* Include SVG in template so that is can be scaled
* Use link instead of checkbox to show details
* Add inline message template

Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: pozil <[email protected]>

* apply lms recipes to prerelease (#288)

LMS recipes work. Needs tests.

* SLDS related changes (#289)

* Hello tab slds changes

* Apex tab slds changes

* Data Service tab slds changes

* Contact record page slds changes

* Composition tab slds changes

* Child-to-parent tab slds changes

* Parent-to-child tab slds changes

* Pub-sub tab slds changes

* Aura Interop tab slds changes

* Wire tab slds changes

* Navigation tab slds changes

* Misc tab slds changes

* 3rd party libs tab slds changes

* Tabs test slds changes

* sharing css styles among Lightning web components (#294)

* Rename app to "LWC Recipes" (#301)

* Rerun CI on PR edit (#304)

* updating dependencies

Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: René Winkelmeyer <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: pozil <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alba Rivas <[email protected]>
Co-authored-by: satyasekharcvb <[email protected]>

* added connect-src allow rule (#307)

* Updated codecov actions (#308)

* pc/prerelease/refactor lms vf (#309)

move VF js static resources to use ES6 module and one js file per vf recipe page.

* Added apex unit tests for LMSVisualforceController (#310)

* update sfdx-lwc-jest and added lms lwc tests (#313)

* removing all pubsub dependencies (#315)

* moves data service tab before apex tab (#319)

* Added features for permission-based recipe (#322)

* added test suite for c/miscMultipleTemplates (#327)

* added tests for c/mortgage library (#326)

* updated flexipage (#334)

* Added tests for ldsUtils (#335)

* Added tests for ldsUtils

* Fixed test path

* api version update

* added back in linting packages

* fixing broken aura linting

Co-authored-by: Alba Rivas <[email protected]>
Co-authored-by: Philippe Ozil <[email protected]>
Co-authored-by: pozil <[email protected]>
Co-authored-by: satyasekharcvb <[email protected]>
Co-authored-by: René Winkelmeyer <[email protected]>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
8 people authored Jul 20, 2020
1 parent 5b56311 commit c44ebf6
Show file tree
Hide file tree
Showing 275 changed files with 13,658 additions and 8,288 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
**/aura/**/*.json
**/aura/**/*.svg
**/aura/**/*.xml
**/aura/**/*.tokens
.sfdx
4 changes: 2 additions & 2 deletions .github/workflows/scratch-org-sfdx-ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: 'Upload code coverage for LWC to Codecov.io'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: LWC

scratch-org-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- name: 'Upload code coverage for Apex to Codecov.io'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: Apex

# Remove test result files
- name: 'Remove test result files'
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/scratch-org-sfdx-ci-pr-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ jobs:
- name: 'Unit test Lightning Web Components'
run: npm run test:unit:coverage

# Upload code coverage data
- name: 'Upload code coverage for LWC to Codecov.io'
uses: codecov/codecov-action@v1
with:
flags: LWC

scratch-org-test:
runs-on: ubuntu-latest
needs: formatting-and-linting
Expand Down Expand Up @@ -100,6 +106,12 @@ jobs:
- name: 'Run Apex tests'
run: 'sfdx force:apex:test:run -c -r human -d ./tests/apex -w 20'

# Upload code coverage data
- name: 'Upload code coverage for Apex to Codecov.io'
uses: codecov/codecov-action@v1
with:
flags: Apex

# Housekeeping
- name: 'Delete scratch org'
if: always()
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/scratch-org-sfdx-ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Salesforce DX PR (scratch org)
# Definition when the workflow should run
on:
pull_request:
types: [opened, synchronize, reopened]
types: [opened, edited, synchronize, reopened]
branches-ignore:
- prerelease/spring[2-9][0-9]
- prerelease/summer[2-9][0-9]
Expand Down Expand Up @@ -51,6 +51,12 @@ jobs:
- name: 'Unit test Lightning Web Components'
run: npm run test:unit:coverage

# Upload code coverage data
- name: 'Upload code coverage for LWC to Codecov.io'
uses: codecov/codecov-action@v1
with:
flags: LWC

scratch-org-test:
runs-on: ubuntu-latest
needs: formatting-and-linting
Expand Down Expand Up @@ -96,6 +102,12 @@ jobs:
- name: 'Run Apex tests'
run: 'sfdx force:apex:test:run -c -r human -d ./tests/apex -w 20'

# Upload code coverage data
- name: 'Upload code coverage for Apex to Codecov.io'
uses: codecov/codecov-action@v1
with:
flags: Apex

# Housekeeping
- name: 'Delete scratch org'
if: always()
Expand Down
8 changes: 6 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
# More information: https://prettier.io/docs/en/ignore.html
#

**/staticresources/**
.localdevserver
.sfdx
coverage/
.vscode
.vscode

# Only prettify specifc static resources
force-app/main/default/staticresources/*
!/force-app/main/default/staticresources/lmsvf
!/force-app/main/default/staticresources/sampleExternalResource
6 changes: 3 additions & 3 deletions force-app/main/default/applications/LWC_Recipes.app-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
<formFactors>Large</formFactors>
<isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled>
<isNavPersonalizationDisabled>false</isNavPersonalizationDisabled>
<label>LWC</label>
<label>LWC Recipes</label>
<navType>Standard</navType>
<tabs>Hello</tabs>
<tabs>Apex</tabs>
<tabs>Data_Service</tabs>
<tabs>Apex</tabs>
<tabs>standard-Contact</tabs>
<tabs>Composition</tabs>
<tabs>Events</tabs>
<tabs>Parent_to_Child</tabs>
<tabs>Pub_Sub</tabs>
<tabs>Message_Service</tabs>
<tabs>Aura_Interoperability</tabs>
<tabs>Wire</tabs>
<tabs>Navigation</tabs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<span class="aura">Aura Component</span>
</aura:set>

<div class="slds-m-around_medium">
<div class="slds-var-m-around_medium">
<lightning:layout>
<lightning:layoutItem size="6">
<!-- This is an LWC component -->
<c:contactList oncontactselect="{!c.handleContactSelect}" />
</lightning:layoutItem>
<lightning:layoutItem size="6" class="slds-p-left_medium">
<lightning:layoutItem size="6" class="slds-var-p-left_medium">
<aura:if isTrue="{!v.selectedContact}">
<img
src="{!v.selectedContact.Picture__c}"
Expand All @@ -43,7 +43,7 @@
</lightning:layout>
</div>

<div class="slds-card__footer">
<div class="slds-text-align_left slds-card__footer">
Embed a Lightning Web component in a parent Aura component and
communicate with events
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
xmlns="urn:metadata.tooling.soap.sforce.com"
fqn="auraDomEventListener"
>
<apiVersion>48.0</apiVersion>
<apiVersion>49.0</apiVersion>
<description>A Lightning Component Bundle</description>
</AuraDefinitionBundle>
30 changes: 15 additions & 15 deletions force-app/main/default/aura/auraEmbeddedLWC/auraEmbeddedLWC.css
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
.THIS img {
width: 80px;
height: 80px;
border-radius: 50%;
margin-bottom: 8px;
width: token(squareIconLargeBoundaryAlt);
height: token(squareIconLargeBoundaryAlt);
border-radius: token(borderRadiusCircle);
margin-bottom: token(varSpacingXSmall);
}

.THIS .slds-card__footer {
text-align: left;
color: #706e6b;
color: rgb(112, 110, 107);
}

.THIS .aura {
background-color: #f39f75;
color: #ffffff;
padding: 1px 4px;
color: rgb(255, 255, 255);
padding: token(borderWidthThin) token(varSpacingXxSmall);
border-radius: 3px;
}

.THIS c-contact-list {
position: relative;
border: solid 1px #ecebea;
border-radius: 4px;
border: solid token(borderWidthThin) #ecebea;
border-radius: token(borderRadiusMedium);
display: block;
padding: 10px 2px 2px 2px;
padding: 10px token(varSpacingXxxSmall) token(varSpacingXxxSmall)
token(varSpacingXxxSmall);
}

.THIS c-contact-list:before {
content: 'c-contact-list (Lightning Web component)';
color: #dddbda;
color: rgb(221, 219, 218);
position: absolute;
top: -9px;
left: 4px;
background-color: #ffffff;
padding: 0 4px;
left: token(varSpacingXxSmall);
background-color: token(colorBackgroundAlt);
padding: 0 token(varSpacingXxSmall);
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<aura:tokens extends="force:base">

</aura:tokens>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>49.0</apiVersion>
<description>A Lightning Component Bundle</description>
</AuraDefinitionBundle>
Loading

0 comments on commit c44ebf6

Please sign in to comment.