Skip to content

Commit

Permalink
[skip ci] Re-added logId property in logViewer lwc to ensure managed …
Browse files Browse the repository at this point in the history
…package versions can be upgraded, created new package versions for both the unlocked & managed packages
  • Loading branch information
jongpie committed Mar 11, 2022
1 parent f1be02b commit efd2eb2
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ nebula-logger/**/main/default/
test-coverage/
temp/

# Additional folders that are temporarily copied when creating a version of the managed package
nebula-logger/managed-package/core/main/configuration/
nebula-logger/managed-package/core/main/log-management/
nebula-logger/managed-package/core/main/logger-engine/
nebula-logger/managed-package/core/main/plugin-framework/
nebula-logger/managed-package/core/tests/

# NPM
node_modules/
yarn.lock
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ Designed for Salesforce admins, developers & architects. A robust logger for Ape

## Unlocked Package - v4.7.0

[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lX8QAI)
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lX8QAI)
[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lXSQAY)
[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y0000015lXSQAY)
[![View Documentation](./images/btn-view-documentation.png)](https://jongpie.github.io/NebulaLogger/)

## Managed Package - v4.7.0

[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015keOQAQ)
[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015keOQAQ)
[![Install Managed Package in a Sandbox](./images/btn-install-managed-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015lXNQAY)
[![Install Managed Package in Production](./images/btn-install-managed-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?mgd=true&p0=04t5Y0000015lXNQAY)
[![View Milestone](./images/btn-view-managed-package-milestone.png)](https://github.com/jongpie/NebulaLogger/milestone/6)

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import LOG_ENTRY_STACK_TRACE_FIELD from '@salesforce/schema/LogEntry__c.StackTra
import LOG_ORGANIZATION_ID_FIELD from '@salesforce/schema/Log__c.OrganizationId__c';

export default class LogViewer extends LightningElement {
// logId is deprecated - it was used before quickActions supported LWC.
// recordId is now used instead, but logId has to be kept for the managed package
@api
logId; // Deprecated

@api
recordId;

Expand Down Expand Up @@ -67,7 +72,6 @@ export default class LogViewer extends LightningElement {
}

async copyToClipboard() {
// const value = this.template.querySelector('pre').textContent;
const value = this.currentMode.data;

const textArea = document.createElement('textarea');
Expand Down
5 changes: 3 additions & 2 deletions nebula-logger/managed-package/sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"ancestorVersion": "HIGHEST",
"versionNumber": "4.7.0.NEXT",
"versionName": "Spring '22 Release",
"versionDescription": "Added new settings fields for controlling saving, default log scenario, default log owner, bugfixes & cleanup",
"versionDescription": "View the v4.7.0 milestone in GitHub for the list of changes - https://github.com/jongpie/NebulaLogger/milestone/7",
"releaseNotesUrl": "https://github.com/jongpie/NebulaLogger/releases"
}
],
Expand All @@ -23,6 +23,7 @@
"Nebula Logger - Managed [email protected]": "04t5Y000000YLDLQA4",
"Nebula Logger - Managed [email protected]": "04t5Y0000027FFgQAM",
"Nebula Logger - Managed [email protected]": "04t5Y0000027FMhQAM",
"Nebula Logger - Managed [email protected]": "04t5Y0000015keOQAQ"
"Nebula Logger - Managed [email protected]": "04t5Y0000015keOQAQ",
"Nebula Logger - Managed [email protected]": "04t5Y0000015lXNQAY"
}
}
4 changes: 2 additions & 2 deletions sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"definitionFile": "./config/scratch-orgs/base-scratch-def.json",
"versionNumber": "4.7.0.NEXT",
"versionName": "Spring '22 Release",
"versionDescription": "Added new settings fields for controlling saving, default log scenario, default log owner, bugfixes & cleanup",
"versionDescription": "Added new settings fields for controlling saving, default log scenario, & default log owner, improved logViewer lwc, bugfixes & cleanup",
"releaseNotesUrl": "https://github.com/jongpie/NebulaLogger/releases",
"default": true
},
Expand Down Expand Up @@ -76,7 +76,7 @@
"Nebula Logger - [email protected]": "04t5Y0000015lB0QAI",
"Nebula Logger - [email protected]": "04t5Y0000015lKDQAY",
"Nebula Logger - [email protected]": "04t5Y0000015lLzQAI",
"Nebula Logger - [email protected]NEXT-spring-'22-release": "04t5Y0000015lX8QAI",
"Nebula Logger - [email protected]25-spring-'22-release": "04t5Y0000015lXSQAY",
"Nebula Logger - Plugin - Log Retention Rules": "0Ho5Y000000blNfSAI",
"Nebula Logger - Plugin - Logger Admin Dashboard": "0Ho5Y000000blNkSAI",
"Nebula Logger - Plugin - Logger Admin [email protected]": "04t5Y0000015l3yQAA",
Expand Down

0 comments on commit efd2eb2

Please sign in to comment.