Fixed logEntryMetadataViewer LWC's 'View Full Source' button not showing for non-admins
Core Unlocked Package Changes
-
Worked with @jamessimone to troubleshoot & fix some additional issues in the
logEntryMetadataViewer
LWC that prevented the 'View Full Source' button from showing up for non-admins. This involved 3 related changes- Added ApexClass access in the permission sets
LoggerAdmin
,LoggerLogViewer
,LoggerEndUser
for the Apex classLogEntryMetdataViewerController
to fix some permission errors that could occur in some orgs/situations. - Fixed some excessively large whitespace in the LWC caused by a present-but-not-visible spinner.
- Updated the
logEntryMetadataViewer
LWC to imperatively call Apex controller methods - using the@wire
annotation caused weird, silent failures when calling the Apex methods, but calling it imperatively seems to work wonderfully (and is more consistent with how the other LWCs in Nebula Logger are written).
- Added ApexClass access in the permission sets
Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.13.7...v4.13.8
- SF CLI:
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001MkHbQAK
- SFDX CLI:
sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001MkHbQAK
- Sandbox: https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001MkHbQAK
- Production: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5Y000001MkHbQAK