-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added home page & dashboard to console app #498
Conversation
…lag in build.yml when using the namespace is not needed
…ackage (namespaces are the worst), and updated some package.json scripts to use the new sfdx syntax for assigning permission sets
… folder to LoggerReports
…gerSettings lwc, logEntryEventStream lwc, and logBatchPurge lwc
…istent with LogReports LogReports has been in the codebase for a few years, and renaming folders from 'Log' to 'Logger' would cause orgs to need to re-assign any custom folder permissions, which isn't worth it right now
…cleaned up some code bits
74dbf05
to
9ba3b4f
Compare
…t & dashboard folders, misc code cleanup
d955741
to
aeab760
Compare
9647fef
to
72bbea0
Compare
…s, based on data retrieved from the Status API and from querying the Organization object
72bbea0
to
2d9c20b
Compare
fb8842a
to
050d232
Compare
050d232
to
8c7e538
Compare
…ave a more consistent naming convention--no-verify
3850529
to
dad3e32
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #498 +/- ##
==========================================
- Coverage 95.09% 95.07% -0.03%
==========================================
Files 57 59 +2
Lines 5835 5944 +109
Branches 118 129 +11
==========================================
+ Hits 5549 5651 +102
- Misses 281 288 +7
Partials 5 5
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
This PR is focused on some related enhancements to help improve the usability & usefulness of the included lightning console app, including:
These enhancements have culminated in a new home page, available in the console app
Console app changes
Changed label of console app from "Logger Console" to "Nebula Logger". The API name of the app,
LoggerConsole
, is not changing - this is just a label change.Added new home page
LoggerHomePage.flexipage-meta.xml
to the console app (configured as the app's default home page). It includes:A new custom header component,
![image](https://private-user-images.githubusercontent.com/1267157/241988783-b0d04fec-a813-4260-aa2d-6e5844b482f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMTQ4ODEsIm5iZiI6MTcyNjExNDU4MSwicGF0aCI6Ii8xMjY3MTU3LzI0MTk4ODc4My1iMGQwNGZlYy1hODEzLTQyNjAtYWEyZC02ZTU4NDRiNDgyZjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDQxNjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTJmNWU1Y2Y3ODMxZWYzZGJlMGJiNGRiODAxZDM2MjViODQxOTJlY2NlNGUxMTc1MjE0YzIyZDMxZDA1OTczYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.m9OP-9syLqvGSuWG_kkHS1c_MGpHeisQTmEGLUxAvYc)
loggerHomeHeader
, that provides quick access to information about the current environment & quick access to the latest release notes for Nebula LoggerA tab set that includes 4 tabs:
LoggerAdmin
dashboard that is now included (previously, this dashboard was available as a separate plugin package)loggerSettings
, which was previously available via the custom tab "Logger Settings"logEntryEventStream
, which was previously available via the custom tab "Log Entry Event Stream"logBatchPurge
, which was previously available via the custom tab "Log Batch Purge"Removed several custom tabs from the console app's navigation menu. Since the new home page displays several custom LWCs, their corresponding customs tabs are no longer included in the console app's navigation
⚠For orgs that use the unlocked package & are upgrading: by default, you will still see the old navigation options. You can either leave them as-is, or you can reset the tabs to use the new defaults. To reset & see the new navigation options, open the console app:
Reports & Dashboard Changes
LoggerAdmin
. The dashboard is based on 7 new reports that are also included:LogEntryDailyRetentionSummary
LogEntryDailySummary
LogEntryDetails
LogEntryOriginSummary
LogEntryScenarioSummary
LogEntrySummary
LogEntryTagDetails
LWC Changes
logBatchPurge
LWCisExposed = true
and added the targetlightning__HomePage
so that the component can be added in App Builder to the new home pagelightning-datatable
(when refreshing the data), instead of the spinner overlaying the entire pagelogEntryEventStream
LWC EnhancementsisExposed = true
and added the targetlightning__HomePage
so that the component can be added in App Builder to the new home pageconnectedCallback()
that was settingdocument.title
loggerSettings
LWC EnhancementsisExposed = true
and added the targetlightning__HomePage
so that the component can be added in App Builder to the new home pageconnectedCallback()
that was settingdocument.title
loggerHomeHeader
LWC - New!Organization
object and from making a callout to Salesforce's Status API,https://api.status.salesforce.com/v1/instances/
.Backend Changes
LogEntryEventBuilder.setExceptionDetails(System.Exception apexException)
so it properly handlesnull
valuesLogManagementDataSelector.getUsersByNameSearch(String searchTerm)
to useLIMIT 20
so it doesn't hit a SOQL query limit in large orgs 😨Logger.callStatusApi()
, used to centralize some existing code that is used to retrieve additional orgs details from Salesforce's Status API,https://api.status.salesforce.com/v1/instances/
. Note that this method is only intended to be used internally by Nebula Logger and could change in future releases.Logger Admin Dashboard Plugin - Now Deprecated!⚠️
The Logger Admin Dashboard plugin is now deprecated, and will need to be uninstalled prior to upgrading to
v4.10.4
. The same dashboard & reports are now included in the core package, with one change: the dashboard is no longer a dynamic dashboard (due to the org limit of 5 dynamic dashboards).