Skip to content

Commit fdf4fc2

Browse files
Merge pull request #727 from lukecotter/feat-tl-new-categories
feat: add new timeline categories and debug category tracking
2 parents 0539fe9 + a9fe03d commit fdf4fc2

File tree

29 files changed

+1003
-646
lines changed

29 files changed

+1003
-646
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5252
- **Copy**: `Cmd/Ctrl+C` copies the selected frame name.
5353
- **Marker Navigation**: Click markers to select; arrow Left/Right to navigate between markers.
5454
- **Clear Selection**: Press `Escape` to deselect the current frame or marker.
55-
- **Visual Display**:
56-
- Time axis auto-spaces markers intelligently and more naturally as you zoom.
57-
- Search + highlight dims non-matches for fast scanning.
55+
- **⏱️ Time Axis Auto-Spacing**: Markers intelligently and naturally auto-space as you zoom.
56+
- **🔍 Search + Highlight**: Dims non-matches for fast scanning.
57+
- **Timeline Categories**: Redesigned timeline categories for clearer, more meaningful event grouping. ([#98])
58+
- Apex (Apex code), Automation (Workflow, NBA), Callout, Code Unit, DML, SOQL, System (System, Visualforce), Validation
5859
- **🎨 Themes**:
5960
- 18 curated timeline themes plus the default theme has been improved for better contrast and readability.
6061
- Add your own multiple custom themes via **Settings -> Apex Log Analyzer -> Timeline -> Custom Themes**.
@@ -474,6 +475,7 @@ Skipped due to adopting odd numbering for pre releases and even number for relea
474475

475476
<!-- Unreleased -->
476477

478+
[#98]: https://github.com/certinia/debug-log-analyzer/issues/98
477479
[#204]: https://github.com/certinia/debug-log-analyzer/issues/204
478480
[#714]: https://github.com/certinia/debug-log-analyzer/issues/714
479481
[#245]: https://github.com/certinia/debug-log-analyzer/issues/245

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,27 @@ Seamlessly navigate between the visual analysis and your raw `.log` files:
167167
Adjust event colors in `settings.json`:
168168

169169
```json
170-
"lana.timeline.colors": {
171-
"Method": "#2B8F81",
172-
"DML": "#285663",
173-
"SOQL": "#5D4963",
174-
...
170+
"lana.timeline.customThemes": {
171+
"Glacial Warmth": {
172+
"apex": "#6882A6",
173+
"codeUnit": "#7A9B6E",
174+
"system": "#9E8E7C",
175+
"automation": "#D98650",
176+
"dml": "#C85A5A",
177+
"soql": "#57A89A",
178+
"callout": "#C9A64D",
179+
"validation": "#8B7BAC"
180+
},
181+
"Orchid Slate": {
182+
"apex": "#647C96",
183+
"codeUnit": "#8872A8",
184+
"system": "#8A7E7E",
185+
"automation": "#C08545",
186+
"dml": "#C94C6E",
187+
"soql": "#5A9E85",
188+
"callout": "#B5A044",
189+
"validation": "#4EA6A6"
190+
}
175191
}
176192
```
177193

apex-log-parser/__tests__/ApexLogParser.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ describe('Recalculate durations tests', () => {
11201120
it('Recalculates parent node', () => {
11211121
const parser = new ApexLogParser();
11221122
const node = new DummyLine(parser, ['14:32:07.563 (1)', 'DUMMY']);
1123-
node.subCategory = 'Method';
1123+
node.category = 'Apex';
11241124
node.exitStamp = 3;
11251125

11261126
node.recalculateDurations();

0 commit comments

Comments
 (0)