diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9a709396..bde9051db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -291,6 +291,11 @@ jobs: DEV_HUB_CONSUMER_KEY: ${{ secrets.DEV_HUB_CONSUMER_KEY }} DEV_HUB_JWT_SERVER_KEY: ${{ secrets.DEV_HUB_JWT_SERVER_KEY }} + # TODO remove this after the plugin @salesforce/packaging has been upgraded + # to a new version that only looks at package directories + - name: 'Temporarily delete problematic metadata' + run: rm -rf ./config/experience-cloud + - name: 'Create Beta Managed Package Version' run: npm run package:version:create:managed @@ -339,6 +344,11 @@ jobs: env: PKG_DEMO_ORG_SFDX_URL: ${{ secrets.NEBULA_PKG_DEMO_SANDBOX_SFDX_URL }} + # TODO remove this after the plugin @salesforce/packaging has been upgraded + # to a new version that only looks at package directories + - name: 'Temporarily delete problematic metadata' + run: rm -rf ./config/experience-cloud + - name: 'Create & Install Package Version' run: npx pwsh ./scripts/build/create-and-install-package-version.ps1 -targetpackagealias '"Nebula Logger - Core"' -targetreadme ./README.md -targetusername nebula-logger-package-demo diff --git a/README.md b/README.md index b53d774c5..51056d56a 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,15 @@ The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects. -## Unlocked Package - v4.11.3 +## Unlocked Package - v4.11.4 -[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001HZd0QAG) -[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001HZd0QAG) +[![Install Unlocked Package in a Sandbox](./images/btn-install-unlocked-package-sandbox.png)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001HZdPQAW) +[![Install Unlocked Package in Production](./images/btn-install-unlocked-package-production.png)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001HZdPQAW) [![View Documentation](./images/btn-view-documentation.png)](https://jongpie.github.io/NebulaLogger/) -`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001HZd0QAG` +`sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001HZdPQAW` -`sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001HZd0QAG` +`sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001HZdPQAW` --- diff --git a/config/scratch-orgs/base-scratch-def.json b/config/scratch-orgs/base-scratch-def.json index d4ab182c2..07d8c39c7 100644 --- a/config/scratch-orgs/base-scratch-def.json +++ b/config/scratch-orgs/base-scratch-def.json @@ -7,7 +7,7 @@ "features": [], "settings": { "chatterSettings": { - "enableChatter": true + "enableChatter": false }, "communitiesSettings": { "enableNetworksEnabled": false diff --git a/nebula-logger/core/main/log-management/classes/LoggerEmailSender.cls b/nebula-logger/core/main/log-management/classes/LoggerEmailSender.cls index 792c8dce3..10fe40b49 100644 --- a/nebula-logger/core/main/log-management/classes/LoggerEmailSender.cls +++ b/nebula-logger/core/main/log-management/classes/LoggerEmailSender.cls @@ -26,21 +26,21 @@ public without sharing class LoggerEmailSender { } @TestVisible - private static Boolean IS_EMAIL_DELIVERABILITY_ENABLED { + private static Boolean IS_EMAIL_DELIVERABILITY_AVAILABLE { get { - if (IS_EMAIL_DELIVERABILITY_ENABLED == null) { + if (IS_EMAIL_DELIVERABILITY_AVAILABLE == null) { try { System.Messaging.reserveSingleEmailCapacity(1); - IS_EMAIL_DELIVERABILITY_ENABLED = true; + IS_EMAIL_DELIVERABILITY_AVAILABLE = true; } catch (System.NoAccessException e) { // Exception thrown when email deliverability is disabled - IS_EMAIL_DELIVERABILITY_ENABLED = false; + IS_EMAIL_DELIVERABILITY_AVAILABLE = false; } catch (System.HandledException handledException) { // Exception thrown when org limits are reached - IS_EMAIL_DELIVERABILITY_ENABLED = false; + IS_EMAIL_DELIVERABILITY_AVAILABLE = false; } } - return IS_EMAIL_DELIVERABILITY_ENABLED; + return IS_EMAIL_DELIVERABILITY_AVAILABLE; } set; } @@ -122,7 +122,7 @@ public without sharing class LoggerEmailSender { private static void sendEmail(Messaging.SingleEmailMessage message) { SENT_EMAILS.add(message); - if (IS_EMAIL_DELIVERABILITY_ENABLED == true) { + if (IS_EMAIL_DELIVERABILITY_AVAILABLE == true) { List messages = new List{ message }; List emailResults = Messaging.sendEmail(messages); diff --git a/nebula-logger/core/main/log-management/flexipages/LogEntryTagRecordPage.flexipage-meta.xml b/nebula-logger/core/main/log-management/flexipages/LogEntryTagRecordPage.flexipage-meta.xml index da5a147d7..20d56a400 100644 --- a/nebula-logger/core/main/log-management/flexipages/LogEntryTagRecordPage.flexipage-meta.xml +++ b/nebula-logger/core/main/log-management/flexipages/LogEntryTagRecordPage.flexipage-meta.xml @@ -40,24 +40,10 @@ main Region - - - - - context - RECORD - - forceChatter:exposedFeed - forceChatter_exposedFeed - - - sidebar - Region - Nebula Logger: Log Entry Tag Record Page LogEntryTag__c RecordPage diff --git a/nebula-logger/core/main/log-management/flexipages/LogRecordPage.flexipage-meta.xml b/nebula-logger/core/main/log-management/flexipages/LogRecordPage.flexipage-meta.xml index 2a0562821..ac2094866 100644 --- a/nebula-logger/core/main/log-management/flexipages/LogRecordPage.flexipage-meta.xml +++ b/nebula-logger/core/main/log-management/flexipages/LogRecordPage.flexipage-meta.xml @@ -924,6 +924,10 @@ columns Facet-bd93b6fa-7edb-4404-9635-26fa1ec10da5 + + horizontalAlignment + false + label Information @@ -938,6 +942,10 @@ columns Facet-45c75e70-6963-46be-859e-c1df0d4b5c08 + + horizontalAlignment + false + label Log Management @@ -952,6 +960,10 @@ columns Facet-12145474-d012-4654-ba48-4100dbbbc893 + + horizontalAlignment + false + label User Details @@ -966,6 +978,10 @@ columns Facet-9fb0fd0b-69be-44f7-8c04-fb654709fe28 + + horizontalAlignment + false + label Session Details @@ -986,6 +1002,10 @@ columns Facet-f8d82d02-dbf4-468f-aae1-45cfb6763435 + + horizontalAlignment + false + label Experience Cloud Site Details @@ -1006,6 +1026,10 @@ columns Facet-d7efb447-a626-4612-8219-5b554c751159 + + horizontalAlignment + false + label Organization Details @@ -1083,20 +1107,6 @@ Facet-0bb71d38-e0b0-4931-838e-b2254d40c2ea Facet - - - - - context - RECORD - - forceChatter:exposedFeed - forceChatter_exposedFeed - - - Facet-cd3bf9c9-7895-4537-a614-5e58e75317f2 - Facet - @@ -1158,20 +1168,6 @@ customTab3 - - - - body - Facet-cd3bf9c9-7895-4537-a614-5e58e75317f2 - - - title - Standard.Tab.collaborate - - flexipage:tab - collaborateTab - - Facet-4be58932-ea47-4516-80d6-14dedd7c1fc0 Facet diff --git a/nebula-logger/core/main/log-management/flexipages/LoggerConsoleUtilityBar.flexipage-meta.xml b/nebula-logger/core/main/log-management/flexipages/LoggerConsoleUtilityBar.flexipage-meta.xml index e8029a33e..41f7c2b3a 100644 --- a/nebula-logger/core/main/log-management/flexipages/LoggerConsoleUtilityBar.flexipage-meta.xml +++ b/nebula-logger/core/main/log-management/flexipages/LoggerConsoleUtilityBar.flexipage-meta.xml @@ -1,46 +1,6 @@ - - - - context - NEWS - - - eager - decorator - false - - - height - decorator - 480 - - - icon - decorator - feed - - - label - decorator - Chatter Feed - - - scrollable - decorator - true - - - width - decorator - 520 - - forceChatter:exposedFeed - forceChatter_exposedFeed - - console:history diff --git a/nebula-logger/core/main/log-management/flexipages/LoggerScenarioRecordPage.flexipage-meta.xml b/nebula-logger/core/main/log-management/flexipages/LoggerScenarioRecordPage.flexipage-meta.xml index b67eccb47..bb645707e 100644 --- a/nebula-logger/core/main/log-management/flexipages/LoggerScenarioRecordPage.flexipage-meta.xml +++ b/nebula-logger/core/main/log-management/flexipages/LoggerScenarioRecordPage.flexipage-meta.xml @@ -120,20 +120,6 @@ Facet-f057dac9-734a-4003-bfc0-0c452db10e0a Facet - - - - - context - RECORD - - forceChatter:exposedFeed - forceChatter_exposedFeed - - - Facet-75112b31-f7b2-4fb3-9690-338e5b295cb2 - Facet - @@ -181,20 +167,6 @@ flexipage_tab2 - - - - body - Facet-75112b31-f7b2-4fb3-9690-338e5b295cb2 - - - title - Standard.Tab.collaborate - - flexipage:tab - flexipage_tab - - maintabs Facet @@ -212,7 +184,7 @@ main Region - Nebula Logger: Log Scenario Record Page + Nebula Logger: Logger Scenario Record Page LoggerScenario__c