Commit 2462fca
authored
Added the option to automatically call the lightning-logger LWC (#743)
* Resolved #722 by adding the optional ability to automatically call Salesforce's lightning-logger LWC when logging via lightning components, which creates a "Lightning Logger" event in Event Monitoring
* This includes new fields LoggerSettings__c.IsJavaScriptLightningLoggerEnabled__c and LoggerScenarioRule__mdt.IsJavaScriptLightningLoggerEnabled__c to control enabling this feature
* Finished some code cleanup left over from v4.13.15 in logEntryBuilder.js and ComponentLogger.cls
* Now browser details are represented as an object in both JS and Apex, and some old deprecated properties have been removed
* Also added some extra jest tests to validate that the browser details are being properly set
* Scope creep: fixed a small bug in a Logger where a System.debug() statement for scenario-based logging was using the wrong variable
* Scope creep: removed unnecessary access to FlowLogger in the permission set LoggerLogCreator
* FlowLogger should only be called internally by Nebula Logger, so there's no need for users to have direct access to it
* Created additional scratch def files & added them to build.yml - each one corresponds to a specific Salesforce feature that's optionally used by Nebula Logger
* There are now 5 scratch def files - 1 used for dev, and 4 used by the pipeline (base (used for packaging), event monitoring, experience cloud, and platform cache)
* The pipeline will only create 2 scratch orgs at a time to avoid the dev hub's limit of 3 active scratch orgs (1 of 3 available is used for dev work)
* Removed an old/duplicate Experience Cloud site (used by the pipeline)
* Added Apex class access to 2 Experience Cloud Guest User profiles (used by the pipeline + dev) to simplify manual testing efforts
* Upgraded to sf rc v2.56.6 to use the new --concise flag on sf apex test run
* Upgraded to v4 of the codecov action in build.yml
* Added a new bash script, ./scripts/dev/setup-dev-scratch-org.sh, to automate setting up a new dev scratch org1 parent 70cecec commit 2462fca
66 files changed
Lines changed: 2018 additions & 2839 deletions
File tree
- .github
- ISSUE_TEMPLATE
- workflows
- config
- experience-cloud
- experiences
- Logger_Test_Site1
- brandingSets
- config
- routes
- themes
- views
- networks
- profiles
- sites
- scratch-orgs
- docs
- apex/Logger-Engine
- lightning-components
- nebula-logger
- core
- main
- configuration
- layouts
- objects
- LoggerScenarioRule__mdt/fields
- LoggerSettings__c
- fields
- listViews
- log-management/lwc/loggerSettings
- __tests__/data
- logger-engine
- classes
- lwc/logger
- __tests__
- permissionsets
- tests
- log-management/classes
- logger-engine/classes
- extra-tests/tests
- scripts
- data
- dev
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
198 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
199 | 261 | | |
200 | 262 | | |
201 | 263 | | |
| |||
226 | 288 | | |
227 | 289 | | |
228 | 290 | | |
229 | | - | |
| 291 | + | |
230 | 292 | | |
231 | 293 | | |
232 | 294 | | |
233 | 295 | | |
234 | 296 | | |
235 | | - | |
| 297 | + | |
236 | 298 | | |
237 | 299 | | |
238 | 300 | | |
| |||
252 | 314 | | |
253 | 315 | | |
254 | 316 | | |
| 317 | + | |
255 | 318 | | |
256 | | - | |
| 319 | + | |
257 | 320 | | |
258 | 321 | | |
259 | 322 | | |
| |||
262 | 325 | | |
263 | 326 | | |
264 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
265 | 390 | | |
266 | 391 | | |
267 | | - | |
| 392 | + | |
268 | 393 | | |
269 | 394 | | |
270 | 395 | | |
| |||
377 | 502 | | |
378 | 503 | | |
379 | 504 | | |
380 | | - | |
| 505 | + | |
381 | 506 | | |
382 | 507 | | |
383 | 508 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 0 additions & 6 deletions
This file was deleted.
0 commit comments