-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added features for permission-based recipe #322
Conversation
Codecov Report
@@ Coverage Diff @@
## prerelease/summer20 #322 +/- ##
======================================================
Coverage ? 79.27%
======================================================
Files ? 85
Lines ? 637
Branches ? 41
======================================================
Hits ? 505
Misses ? 120
Partials ? 12
Continue to review full report at Codecov.
|
|
||
export default class MiscPermissionBasedUI extends LightningElement { | ||
// surface imported permission to HTML template | ||
isRestrictedUIAccessible = hasAccessRestrictedUI; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The preferred way is to use a getter, and not a direct assignment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this from another recipe. Opened #323 to search and squash any other instances of direct assignment to props where it would be safer to implement as getter/setter.
Otherwise, fixed here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also aligns with the recommended way, as documented here.
<apiVersion>49.0</apiVersion> | ||
<isExposed>true</isExposed> | ||
<targets> | ||
<target>lightning__AppPage</target> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Across all recipes we set all three targets: App, Home, and Record.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed this. But I'd like to ask: why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple showcase on how to set multiple targets. Also enables the learner to easily use/play with any of the components on any of the most relevant LEX experiences.
* 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>
* bumped all meta files and sfdx-project.json to API v49 * Pc/prerelease/project upgrade (trailheadapps#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 (trailheadapps#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 (trailheadapps#288) LMS recipes work. Needs tests. * SLDS related changes (trailheadapps#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 (trailheadapps#294) * Rename app to "LWC Recipes" (trailheadapps#301) * Rerun CI on PR edit (trailheadapps#304) * pc/prerelease/rebase - rebase to master (trailheadapps#306) * Excluded static resources from codecov (trailheadapps#279) * Excluded static resources from codecov * Codecov ignore syntax fix * feat: 🤘🏼adding new GitHub actions (trailheadapps#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' (trailheadapps#284) * Fixed DE install instructions (trailheadapps#293) * ci: Relaxed branch naming rule to allow capitals' (trailheadapps#290) * Bump lint-staged from 10.2.2 to 10.2.7 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#288) LMS recipes work. Needs tests. * SLDS related changes (trailheadapps#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 (trailheadapps#294) * Rename app to "LWC Recipes" (trailheadapps#301) * Rerun CI on PR edit (trailheadapps#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 (trailheadapps#306) * Excluded static resources from codecov (trailheadapps#279) * Excluded static resources from codecov * Codecov ignore syntax fix * feat: 🤘🏼adding new GitHub actions (trailheadapps#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' (trailheadapps#284) * Fixed DE install instructions (trailheadapps#293) * ci: Relaxed branch naming rule to allow capitals' (trailheadapps#290) * Bump lint-staged from 10.2.2 to 10.2.7 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#288) LMS recipes work. Needs tests. * SLDS related changes (trailheadapps#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 (trailheadapps#294) * Rename app to "LWC Recipes" (trailheadapps#301) * Rerun CI on PR edit (trailheadapps#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 (trailheadapps#306) * Excluded static resources from codecov (trailheadapps#279) * Excluded static resources from codecov * Codecov ignore syntax fix * feat: 🤘🏼adding new GitHub actions (trailheadapps#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' (trailheadapps#284) * Fixed DE install instructions (trailheadapps#293) * ci: Relaxed branch naming rule to allow capitals' (trailheadapps#290) * Bump lint-staged from 10.2.2 to 10.2.7 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#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 (trailheadapps#288) LMS recipes work. Needs tests. * SLDS related changes (trailheadapps#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 (trailheadapps#294) * Rename app to "LWC Recipes" (trailheadapps#301) * Rerun CI on PR edit (trailheadapps#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 (trailheadapps#307) * Updated codecov actions (trailheadapps#308) * pc/prerelease/refactor lms vf (trailheadapps#309) move VF js static resources to use ES6 module and one js file per vf recipe page. * Added apex unit tests for LMSVisualforceController (trailheadapps#310) * update sfdx-lwc-jest and added lms lwc tests (trailheadapps#313) * removing all pubsub dependencies (trailheadapps#315) * moves data service tab before apex tab (trailheadapps#319) * Added features for permission-based recipe (trailheadapps#322) * added test suite for c/miscMultipleTemplates (trailheadapps#327) * added tests for c/mortgage library (trailheadapps#326) * updated flexipage (trailheadapps#334) * Added tests for ldsUtils (trailheadapps#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>
Includes addition of one new recipe to show interaction of LWC with custom permission. Includes:
Caveat: the permission set must be manually assigned (or unassigned) and the page refreshed to view the change. This is stipulated in the recipe comments in the UI.