@buoy-gg/highlight-updates 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/highlight-updates/HighlightUpdatesOverlay.js +285 -1
- package/lib/commonjs/highlight-updates/components/HighlightFilterView.js +1371 -1
- package/lib/commonjs/highlight-updates/components/HighlightUpdatesModal.js +564 -1
- package/lib/commonjs/highlight-updates/components/IdentifierBadge.js +267 -1
- package/lib/commonjs/highlight-updates/components/IsolatedRenderList.js +178 -1
- package/lib/commonjs/highlight-updates/components/ModalHeaderContent.js +309 -1
- package/lib/commonjs/highlight-updates/components/RenderCauseBadge.js +500 -1
- package/lib/commonjs/highlight-updates/components/RenderDetailView.js +803 -1
- package/lib/commonjs/highlight-updates/components/RenderHistoryViewer.js +894 -1
- package/lib/commonjs/highlight-updates/components/RenderListItem.js +220 -1
- package/lib/commonjs/highlight-updates/components/RendersCopySettingsView.js +562 -1
- package/lib/commonjs/highlight-updates/components/StatsDisplay.js +70 -1
- package/lib/commonjs/highlight-updates/components/index.js +97 -1
- package/lib/commonjs/highlight-updates/types/copySettings.js +107 -1
- package/lib/commonjs/highlight-updates/utils/HighlightUpdatesController.js +1819 -1
- package/lib/commonjs/highlight-updates/utils/PerformanceLogger.js +359 -1
- package/lib/commonjs/highlight-updates/utils/ProfilerInterceptor.js +371 -1
- package/lib/commonjs/highlight-updates/utils/RenderCauseDetector.js +1828 -1
- package/lib/commonjs/highlight-updates/utils/RenderTracker.js +919 -1
- package/lib/commonjs/highlight-updates/utils/ViewTypeMapper.js +264 -1
- package/lib/commonjs/highlight-updates/utils/copySettingsStorage.js +49 -1
- package/lib/commonjs/highlight-updates/utils/renderExportFormatter.js +58 -1
- package/lib/commonjs/highlight-updates/utils/rendersExportFormatter.js +485 -1
- package/lib/commonjs/index.js +320 -1
- package/lib/commonjs/preset.js +278 -1
- package/lib/commonjs/sync/highlightUpdatesSyncAdapter.js +83 -0
- package/lib/module/highlight-updates/HighlightUpdatesOverlay.js +278 -1
- package/lib/module/highlight-updates/components/HighlightFilterView.js +1365 -1
- package/lib/module/highlight-updates/components/HighlightUpdatesModal.js +558 -1
- package/lib/module/highlight-updates/components/IdentifierBadge.js +259 -1
- package/lib/module/highlight-updates/components/IsolatedRenderList.js +174 -1
- package/lib/module/highlight-updates/components/ModalHeaderContent.js +304 -1
- package/lib/module/highlight-updates/components/RenderCauseBadge.js +491 -1
- package/lib/module/highlight-updates/components/RenderDetailView.js +797 -1
- package/lib/module/highlight-updates/components/RenderHistoryViewer.js +888 -1
- package/lib/module/highlight-updates/components/RenderListItem.js +215 -1
- package/lib/module/highlight-updates/components/RendersCopySettingsView.js +558 -1
- package/lib/module/highlight-updates/components/StatsDisplay.js +67 -1
- package/lib/module/highlight-updates/components/index.js +16 -1
- package/lib/module/highlight-updates/types/copySettings.js +102 -1
- package/lib/module/highlight-updates/utils/HighlightUpdatesController.js +1815 -1
- package/lib/module/highlight-updates/utils/PerformanceLogger.js +353 -1
- package/lib/module/highlight-updates/utils/ProfilerInterceptor.js +358 -1
- package/lib/module/highlight-updates/utils/RenderCauseDetector.js +1818 -1
- package/lib/module/highlight-updates/utils/RenderTracker.js +916 -1
- package/lib/module/highlight-updates/utils/ViewTypeMapper.js +255 -1
- package/lib/module/highlight-updates/utils/copySettingsStorage.js +43 -1
- package/lib/module/highlight-updates/utils/renderExportFormatter.js +54 -1
- package/lib/module/highlight-updates/utils/rendersExportFormatter.js +478 -1
- package/lib/module/index.js +74 -1
- package/lib/module/preset.js +272 -1
- package/lib/module/sync/highlightUpdatesSyncAdapter.js +78 -0
- package/lib/typescript/highlight-updates/HighlightUpdatesOverlay.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/HighlightFilterView.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/HighlightUpdatesModal.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/IdentifierBadge.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/IsolatedRenderList.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/ModalHeaderContent.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/RenderCauseBadge.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/RenderDetailView.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/RenderHistoryViewer.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/RenderListItem.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/RendersCopySettingsView.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/StatsDisplay.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/components/index.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/types/copySettings.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/HighlightUpdatesController.d.ts +90 -0
- package/lib/typescript/highlight-updates/utils/HighlightUpdatesController.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/PerformanceLogger.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/ProfilerInterceptor.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/RenderCauseDetector.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts +10 -0
- package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/ViewTypeMapper.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/copySettingsStorage.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/renderExportFormatter.d.ts.map +1 -0
- package/lib/typescript/highlight-updates/utils/rendersExportFormatter.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/preset.d.ts.map +1 -0
- package/lib/typescript/sync/highlightUpdatesSyncAdapter.d.ts +36 -0
- package/lib/typescript/sync/highlightUpdatesSyncAdapter.d.ts.map +1 -0
- package/package.json +7 -7
|
@@ -1 +1,97 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "CategoryBadge", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _IdentifierBadge.CategoryBadge;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "DetailViewHeader", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _ModalHeaderContent.DetailViewHeader;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "FilterViewHeader", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _ModalHeaderContent.FilterViewHeader;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "HeaderActions", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _ModalHeaderContent.HeaderActions;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "HighlightFilterView", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _HighlightFilterView.HighlightFilterView;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "HighlightUpdatesModal", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _HighlightUpdatesModal.HighlightUpdatesModal;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "IDENTIFIER_CONFIG", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _IdentifierBadge.IDENTIFIER_CONFIG;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "IdentifierBadge", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return _IdentifierBadge.IdentifierBadge;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "IsolatedRenderList", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _IsolatedRenderList.IsolatedRenderList;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "MainListHeader", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return _ModalHeaderContent.MainListHeader;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "RenderDetailView", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _RenderDetailView.RenderDetailView;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "RenderListItem", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return _RenderListItem.RenderListItem;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "SearchSection", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _ModalHeaderContent.SearchSection;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "StatsDisplay", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () {
|
|
87
|
+
return _StatsDisplay.StatsDisplay;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
var _HighlightUpdatesModal = require("./HighlightUpdatesModal");
|
|
91
|
+
var _RenderListItem = require("./RenderListItem");
|
|
92
|
+
var _RenderDetailView = require("./RenderDetailView");
|
|
93
|
+
var _HighlightFilterView = require("./HighlightFilterView");
|
|
94
|
+
var _IdentifierBadge = require("./IdentifierBadge");
|
|
95
|
+
var _IsolatedRenderList = require("./IsolatedRenderList");
|
|
96
|
+
var _StatsDisplay = require("./StatsDisplay");
|
|
97
|
+
var _ModalHeaderContent = require("./ModalHeaderContent");
|
|
@@ -1 +1,107 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.PRESET_METADATA = exports.DEFAULT_COPY_SETTINGS = exports.COPY_PRESETS = void 0;
|
|
7
|
+
exports.detectActivePreset = detectActivePreset;
|
|
8
|
+
/**
|
|
9
|
+
* Highlight Updates Copy Settings
|
|
10
|
+
*
|
|
11
|
+
* Configuration for exporting render reports as compact debug-focused output.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
// -1 = all
|
|
15
|
+
|
|
16
|
+
const DEFAULT_COPY_SETTINGS = exports.DEFAULT_COPY_SETTINGS = {
|
|
17
|
+
format: "summary",
|
|
18
|
+
topN: 25,
|
|
19
|
+
minRenders: 2,
|
|
20
|
+
filterCauses: [],
|
|
21
|
+
groupByName: true,
|
|
22
|
+
aggregateCauses: true,
|
|
23
|
+
sortBy: "renderCount",
|
|
24
|
+
includeHistory: false
|
|
25
|
+
};
|
|
26
|
+
const COPY_PRESETS = exports.COPY_PRESETS = {
|
|
27
|
+
/** LLM-pasteable summary — the default */
|
|
28
|
+
llm: {
|
|
29
|
+
format: "summary",
|
|
30
|
+
topN: 25,
|
|
31
|
+
minRenders: 2,
|
|
32
|
+
filterCauses: [],
|
|
33
|
+
groupByName: true,
|
|
34
|
+
aggregateCauses: true,
|
|
35
|
+
sortBy: "renderCount",
|
|
36
|
+
includeHistory: false
|
|
37
|
+
},
|
|
38
|
+
/** Markdown table for PR descriptions */
|
|
39
|
+
table: {
|
|
40
|
+
format: "markdown-table",
|
|
41
|
+
topN: 50,
|
|
42
|
+
minRenders: 2,
|
|
43
|
+
filterCauses: [],
|
|
44
|
+
groupByName: true,
|
|
45
|
+
aggregateCauses: true,
|
|
46
|
+
sortBy: "renderCount",
|
|
47
|
+
includeHistory: false
|
|
48
|
+
},
|
|
49
|
+
/** Compact JSON, no history */
|
|
50
|
+
json: {
|
|
51
|
+
format: "json",
|
|
52
|
+
topN: -1,
|
|
53
|
+
minRenders: 1,
|
|
54
|
+
filterCauses: [],
|
|
55
|
+
groupByName: false,
|
|
56
|
+
aggregateCauses: true,
|
|
57
|
+
sortBy: "renderCount",
|
|
58
|
+
includeHistory: false
|
|
59
|
+
},
|
|
60
|
+
/** Full JSON dump including history (escape hatch) */
|
|
61
|
+
full: {
|
|
62
|
+
format: "json",
|
|
63
|
+
topN: -1,
|
|
64
|
+
minRenders: 1,
|
|
65
|
+
filterCauses: [],
|
|
66
|
+
groupByName: false,
|
|
67
|
+
aggregateCauses: false,
|
|
68
|
+
sortBy: "renderCount",
|
|
69
|
+
includeHistory: true
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
function detectActivePreset(settings) {
|
|
73
|
+
for (const [name, preset] of Object.entries(COPY_PRESETS)) {
|
|
74
|
+
const matches = Object.keys(preset).every(key => {
|
|
75
|
+
const a = settings[key];
|
|
76
|
+
const b = preset[key];
|
|
77
|
+
if (Array.isArray(a) && Array.isArray(b)) {
|
|
78
|
+
return a.length === b.length && a.every((v, i) => v === b[i]);
|
|
79
|
+
}
|
|
80
|
+
return a === b;
|
|
81
|
+
});
|
|
82
|
+
if (matches) return name;
|
|
83
|
+
}
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
const PRESET_METADATA = exports.PRESET_METADATA = {
|
|
87
|
+
llm: {
|
|
88
|
+
label: "LLM",
|
|
89
|
+
description: "Compact summary for AI",
|
|
90
|
+
color: "#10B981"
|
|
91
|
+
},
|
|
92
|
+
table: {
|
|
93
|
+
label: "Table",
|
|
94
|
+
description: "Markdown table",
|
|
95
|
+
color: "#3B82F6"
|
|
96
|
+
},
|
|
97
|
+
json: {
|
|
98
|
+
label: "JSON",
|
|
99
|
+
description: "Structured data",
|
|
100
|
+
color: "#F59E0B"
|
|
101
|
+
},
|
|
102
|
+
full: {
|
|
103
|
+
label: "Full",
|
|
104
|
+
description: "Everything incl. history",
|
|
105
|
+
color: "#6B7280"
|
|
106
|
+
}
|
|
107
|
+
};
|