Skip to content

Commit

Permalink
Removed duplicate copy of deprecated lwc logViewer, fixed comment in …
Browse files Browse the repository at this point in the history
…LoggerTestUtils, added "Deprecated" to the label on ViewJSON.quickAction
  • Loading branch information
jongpie committed Mar 8, 2022
1 parent be529ca commit de42554
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 208 deletions.

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions nebula-logger/core/main/log-management/lwc/logViewer/logViewer.css

This file was deleted.

This file was deleted.

71 changes: 0 additions & 71 deletions nebula-logger/core/main/log-management/lwc/logViewer/logViewer.js

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions nebula-logger/core/tests/common/classes/LoggerTestUtils.cls
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public class LoggerTestUtils {
}

/**
* @description Creates and inserts a `Group` record for testing queues, using the 'Standard User' profile
* @description Creates and inserts a `Group` record for testing queues, using the specified SObject Type
* @param sobjectType The SObjectType that the queue should be able to own (stored in `QueueSObject`)
* @return The inserted `Group` record - it is automatically inserted into the database, as well as 1 child `QueueSObject` record.
*/
Expand All @@ -232,7 +232,7 @@ public class LoggerTestUtils {

// To avoid a MIXED_DML_OPERATION exception, use System.runs() for inserting the QueueSObject record
System.runAs(new User(Id = UserInfo.getUserId())) {
QueueSObject loggerQueueSObject = new QueueSObject(QueueId = loggerQueue.id, SObjectType = sobjectType.getDescribe().getName());
QueueSObject loggerQueueSObject = new QueueSObject(QueueId = loggerQueue.Id, SObjectType = sobjectType.getDescribe().getName());
insert loggerQueueSObject;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<QuickAction xmlns="http://soap.sforce.com/2006/04/metadata">
<description>Shows the current log &amp; log entries in JSON format</description>
<height>700</height>
<label>View JSON</label>
<label>Deprecated: View JSON</label>
<lightningComponent>logJSONViewer</lightningComponent>
<optionsCreateFeedItem>false</optionsCreateFeedItem>
<type>LightningComponent</type>
Expand Down

0 comments on commit de42554

Please sign in to comment.