feat: add new timeline categories and debug category tracking#727
Merged
lcottercertinia merged 7 commits intocertinia:mainfrom Feb 12, 2026
Merged
feat: add new timeline categories and debug category tracking#727lcottercertinia merged 7 commits intocertinia:mainfrom
lcottercertinia merged 7 commits intocertinia:mainfrom
Conversation
- apex (Apex Code), codeUnit, system (system, Apex Profiling, visualforce), automation (workflow, NBA, Data Access), dml, soql, callout, validation (hidden until supported in parser) The old timeline does does not show the categories but here is the mapping - Method (Apex Code, callout, validation), codeUnit, system (system, Apex Profiling, visualforce, validation), automation (workflow, NBA, Data Access), dml, soql - Changed type imports from 'apex-log-parser' to use LogCategory instead of LogSubCategory across multiple files. - Updated event creation functions to use the new category type. - Refactored tests in TemporalSegmentTree to reflect the new category names and ensure consistency. - Adjusted HitTestManager, MinimapDensityQuery, and Timeline services to accommodate the category changes. - Modified color mapping and themes to align with the new category structure. - Ensured all relevant areas in the codebase are updated to use the new category definitions, improving clarity and maintainability.
lcottercertinia
approved these changes
Feb 12, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 PR Overview
Modernises the timeline category system by renaming categories to be clearer (
Method→Apex,System Method→System,Flow/Workflow→Automation) and adds a newCalloutcategory. Also introducesdebugCategoryon LogEvent to track the original Salesforce debug log category separately from the display category, and adds aValidationcategory.🛠️ Changes made
apex-log-parser): RenamesubCategory→category, adddebugCategoryfield, useLOG_CATEGORYconstants instead of string literals, addCallout/Validation/AutomationcategoriesLogSubCategorystring union withLOG_CATEGORYconst object andLogCategorytype, addDEBUG_CATEGORYconst for SF debug log categoriesApex,System,Automation, etc.)ApexLogTimeline,BucketColorResolver,MinimapDensityQuery,RectangleManager,HitTestManagerto use new category namesSettings.tsandTimelineView.tsfor new category names🧩 Type of change (check all applicable)
🔗 Related Issues
resolves #98
✅ Tests added?
📚 Docs updated?
Anything else we need to know?
Breaking change:
LogEvent.subCategoryis renamed toLogEvent.categoryand the category string values have changed (Method→Apex,System Method→System,Flow/Workflow→Automation).