Custom lightning-input-field
Allowing the Label and Helptext of lightning-input-field to be customised while maintaining all the other standard features as part of a record-edit-form. Long story, mostly solved, long way still to go.
Allowing the Label and Helptext of lightning-input-field to be customised while maintaining all the other standard features as part of a record-edit-form. Long story, mostly solved, long way still to go.
Salesforce dashboard for monitoring Test Execution time long term intended to encourage writing faster tests.
Clearing Test Execution History from a Sandbox automatically as a workaround to a known issue with CLI failing to read Test Results with “Cannot read properties of undefined (reading ‘Status’)” error. A lesson in misdirection by expectation and the need for attention to detail in troubleshooting.
Peeping into the Unit of Work to help with Batch job chaining and having to really think about who extends who when mocking and testing.
Building a flexible SOQL query result cache usable with Enterprise Patterns’ Selectors.
TL; DR; Creating a Logger to measure Limit usage in Apex and building Dashboard to monitor improvements (or otherwise) over time. The Problem Reviewing the logs is not easy. Sometimes, it’s even impossible. There is a limit to how much can be stored and the rest gets omitted. And having… Read More »Trigger Performance – Monitoring
Analysing trigger performance issues in Salesforce triggers and preparing a strategy for effective improvements taking complexity and risk into consideration
TL; DR; Finding the right “position” in the diff view for a GitHub Review Comment from a line number in static analysis report. Current version of the GitHub Action is published. Help me test and improve it. The Scene You can read how this all started in my previous post.… Read More »SFDX GitHub Code Review – Part 2
TL; DR; Building a GitHub Action to do code review on a Pull Request using Salesforce Code Analyzer CLI plugin. (previously known as Code Scanner). Check out the current version on GitHub or jump down a few paragraphs to skip the intro waffling. I originally wrote this post at the… Read More »SFDX GitHub Code Review – Part 1
TL; DR; Standardising mocking throughout your code base in the simplest way possible without mixing test-only and production code. See on GitHub or below (in full) The Problem Mocking in (Apex) unit tests is very useful. There are, however, a few challenges to it. How exactly do you replace the… Read More »Class Factory