-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added home page & dashboard to console app (#498)
* Moved Admin Dashboard plugin's metadata into core, deprecated Logger Admin Dashboard plugin * Added new flexipage LoggerHomePage that displays admin dashboard, loggerSettings lwc, logEntryEventStream lwc, and logBatchPurge lwc * Added new loggerHomeHeader lwc to LoggerHomePage.flexipage * Updated existing LWCs logBatchPurge, logEntryEventStream, and loggerSettings to have isExposed=true and target lightning__HomePage to support displaying these components on the new home page * Added LightningConfirm in logBatchPurge to verify job execution, and cleaned up some code bits * Renamed some LWC functions and Apex methods in LWC logBatchPurge to have a more consistent naming convention--no-verify * Cleaned up some CSS formatting in logEntryEventStream * Bugfix: Added LIMIT 50 to the method LogManagementDataSelector.getUsersByNameSearch(), downgraded sfdx CLI to try to resolve a packaging error for the managed package * Bugfix: Fixed LogEntryEventBuilder.setExceptionDetails() so it handles null exceptions * Added public method Logger.callStatusApi() to provide a reusable method for getting info from Salesforce's status API * Updated some dependencies in package.json
- Loading branch information
Showing
55 changed files
with
8,241 additions
and
7,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export const CurrentPageReference = jest.fn(); | ||
|
||
const Navigate = Symbol('Navigate'); | ||
const GenerateUrl = Symbol('GenerateUrl'); | ||
|
||
export const NavigationMixin = Base => { | ||
return class extends Base { | ||
[Navigate](pageReference, replace) { | ||
const detailObj = { | ||
detail: { | ||
pageReference, | ||
replace | ||
} | ||
}; | ||
this.dispatchEvent(new CustomEvent('navigate', detailObj)); | ||
} | ||
[GenerateUrl](pageReference) { | ||
const detailObj = { | ||
detail: { | ||
pageReference | ||
} | ||
}; | ||
this.dispatchEvent(new CustomEvent('generate', detailObj)); | ||
} | ||
}; | ||
}; | ||
NavigationMixin.Navigate = Navigate; | ||
NavigationMixin.GenerateUrl = GenerateUrl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
## LoggerHomeHeaderController class | ||
|
||
Controller class for the LWC `loggerHomeHeader` | ||
|
||
--- | ||
|
||
### Methods | ||
|
||
#### `getEnvironmentDetails()` → `Environment` | ||
|
||
Returns the current version number of Nebula Logger | ||
|
||
##### Return | ||
|
||
**Type** | ||
|
||
Environment | ||
|
||
**Description** | ||
|
||
An instance of `LoggerHomeHeaderController.Environment` | ||
|
||
--- | ||
|
||
### Inner Classes | ||
|
||
#### LoggerHomeHeaderController.Environment class | ||
|
||
--- | ||
|
||
##### Properties | ||
|
||
###### `loggerNamespacePrefix` → `String` | ||
|
||
###### `loggerVersionNumber` → `String` | ||
|
||
###### `organizationApiVersion` → `String` | ||
|
||
###### `organizationCreatedByUsername` → `String` | ||
|
||
###### `organizationDomainUrl` → `String` | ||
|
||
###### `organizationEnvironment` → `String` | ||
|
||
###### `organizationFormattedCreatedDate` → `String` | ||
|
||
###### `organizationId` → `String` | ||
|
||
###### `organizationInstanceLocation` → `String` | ||
|
||
###### `organizationInstanceName` → `String` | ||
|
||
###### `organizationInstanceProducts` → `String` | ||
|
||
###### `organizationMaintenanceWindow` → `String` | ||
|
||
###### `organizationName` → `String` | ||
|
||
###### `organizationReleaseNumber` → `String` | ||
|
||
###### `organizationReleaseVersion` → `String` | ||
|
||
###### `organizationStatus` → `String` | ||
|
||
###### `organizationType` → `String` | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.