If you're experiencing slowness while loading the Time Tracking Lightning component, there may be multiple factors contributing to the issue. This article outlines the common causes and provides recommendations for improving performance by applying filters and configuration checks.
Potential Causes for Slowness
Simultaneous Use of Auto Tracker and Live Tracker
In some cases, users may inadvertently enable both the Auto Tracker and Live Tracker on the same object.
Running both trackers simultaneously can lead to conflicts or performance degradation.
Recommendation:
Check if the Auto Tracker is still active. If so, end that session before starting the Live Tracker.
Testing in a Sandbox Environment
Salesforce sandbox environments are typically slower than production, especially when loading data-heavy components.
This may exaggerate the perceived slowness during testing.
Large Number of Active Projects
If you're tracking time against Projects and have a high volume of active project records, Salesforce may take longer to load all of them into the component.
This can lead to noticeable delays in component rendering and user interaction.
Resolution: Apply Filters to Reduce Project Load
To address the performance issue caused by too many active projects, consider applying filters to limit the number of projects displayed in the component. Suggested filtering strategies include:
Show only active or currently billable projects.
Display projects assigned to the logged-in user.
Filter to show recently used or updated projects.
Use a custom field or flag (e.g., "Show in Time Tracker") to control which projects appear.
Implementing these filters will significantly reduce the data load on the Lightning component, resulting in faster page rendering and an improved user experience.