@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.
Files changed (83) hide show
  1. package/lib/commonjs/highlight-updates/HighlightUpdatesOverlay.js +285 -1
  2. package/lib/commonjs/highlight-updates/components/HighlightFilterView.js +1371 -1
  3. package/lib/commonjs/highlight-updates/components/HighlightUpdatesModal.js +564 -1
  4. package/lib/commonjs/highlight-updates/components/IdentifierBadge.js +267 -1
  5. package/lib/commonjs/highlight-updates/components/IsolatedRenderList.js +178 -1
  6. package/lib/commonjs/highlight-updates/components/ModalHeaderContent.js +309 -1
  7. package/lib/commonjs/highlight-updates/components/RenderCauseBadge.js +500 -1
  8. package/lib/commonjs/highlight-updates/components/RenderDetailView.js +803 -1
  9. package/lib/commonjs/highlight-updates/components/RenderHistoryViewer.js +894 -1
  10. package/lib/commonjs/highlight-updates/components/RenderListItem.js +220 -1
  11. package/lib/commonjs/highlight-updates/components/RendersCopySettingsView.js +562 -1
  12. package/lib/commonjs/highlight-updates/components/StatsDisplay.js +70 -1
  13. package/lib/commonjs/highlight-updates/components/index.js +97 -1
  14. package/lib/commonjs/highlight-updates/types/copySettings.js +107 -1
  15. package/lib/commonjs/highlight-updates/utils/HighlightUpdatesController.js +1819 -1
  16. package/lib/commonjs/highlight-updates/utils/PerformanceLogger.js +359 -1
  17. package/lib/commonjs/highlight-updates/utils/ProfilerInterceptor.js +371 -1
  18. package/lib/commonjs/highlight-updates/utils/RenderCauseDetector.js +1828 -1
  19. package/lib/commonjs/highlight-updates/utils/RenderTracker.js +919 -1
  20. package/lib/commonjs/highlight-updates/utils/ViewTypeMapper.js +264 -1
  21. package/lib/commonjs/highlight-updates/utils/copySettingsStorage.js +49 -1
  22. package/lib/commonjs/highlight-updates/utils/renderExportFormatter.js +58 -1
  23. package/lib/commonjs/highlight-updates/utils/rendersExportFormatter.js +485 -1
  24. package/lib/commonjs/index.js +320 -1
  25. package/lib/commonjs/preset.js +278 -1
  26. package/lib/commonjs/sync/highlightUpdatesSyncAdapter.js +83 -0
  27. package/lib/module/highlight-updates/HighlightUpdatesOverlay.js +278 -1
  28. package/lib/module/highlight-updates/components/HighlightFilterView.js +1365 -1
  29. package/lib/module/highlight-updates/components/HighlightUpdatesModal.js +558 -1
  30. package/lib/module/highlight-updates/components/IdentifierBadge.js +259 -1
  31. package/lib/module/highlight-updates/components/IsolatedRenderList.js +174 -1
  32. package/lib/module/highlight-updates/components/ModalHeaderContent.js +304 -1
  33. package/lib/module/highlight-updates/components/RenderCauseBadge.js +491 -1
  34. package/lib/module/highlight-updates/components/RenderDetailView.js +797 -1
  35. package/lib/module/highlight-updates/components/RenderHistoryViewer.js +888 -1
  36. package/lib/module/highlight-updates/components/RenderListItem.js +215 -1
  37. package/lib/module/highlight-updates/components/RendersCopySettingsView.js +558 -1
  38. package/lib/module/highlight-updates/components/StatsDisplay.js +67 -1
  39. package/lib/module/highlight-updates/components/index.js +16 -1
  40. package/lib/module/highlight-updates/types/copySettings.js +102 -1
  41. package/lib/module/highlight-updates/utils/HighlightUpdatesController.js +1815 -1
  42. package/lib/module/highlight-updates/utils/PerformanceLogger.js +353 -1
  43. package/lib/module/highlight-updates/utils/ProfilerInterceptor.js +358 -1
  44. package/lib/module/highlight-updates/utils/RenderCauseDetector.js +1818 -1
  45. package/lib/module/highlight-updates/utils/RenderTracker.js +916 -1
  46. package/lib/module/highlight-updates/utils/ViewTypeMapper.js +255 -1
  47. package/lib/module/highlight-updates/utils/copySettingsStorage.js +43 -1
  48. package/lib/module/highlight-updates/utils/renderExportFormatter.js +54 -1
  49. package/lib/module/highlight-updates/utils/rendersExportFormatter.js +478 -1
  50. package/lib/module/index.js +74 -1
  51. package/lib/module/preset.js +272 -1
  52. package/lib/module/sync/highlightUpdatesSyncAdapter.js +78 -0
  53. package/lib/typescript/highlight-updates/HighlightUpdatesOverlay.d.ts.map +1 -0
  54. package/lib/typescript/highlight-updates/components/HighlightFilterView.d.ts.map +1 -0
  55. package/lib/typescript/highlight-updates/components/HighlightUpdatesModal.d.ts.map +1 -0
  56. package/lib/typescript/highlight-updates/components/IdentifierBadge.d.ts.map +1 -0
  57. package/lib/typescript/highlight-updates/components/IsolatedRenderList.d.ts.map +1 -0
  58. package/lib/typescript/highlight-updates/components/ModalHeaderContent.d.ts.map +1 -0
  59. package/lib/typescript/highlight-updates/components/RenderCauseBadge.d.ts.map +1 -0
  60. package/lib/typescript/highlight-updates/components/RenderDetailView.d.ts.map +1 -0
  61. package/lib/typescript/highlight-updates/components/RenderHistoryViewer.d.ts.map +1 -0
  62. package/lib/typescript/highlight-updates/components/RenderListItem.d.ts.map +1 -0
  63. package/lib/typescript/highlight-updates/components/RendersCopySettingsView.d.ts.map +1 -0
  64. package/lib/typescript/highlight-updates/components/StatsDisplay.d.ts.map +1 -0
  65. package/lib/typescript/highlight-updates/components/index.d.ts.map +1 -0
  66. package/lib/typescript/highlight-updates/types/copySettings.d.ts.map +1 -0
  67. package/lib/typescript/highlight-updates/utils/HighlightUpdatesController.d.ts +90 -0
  68. package/lib/typescript/highlight-updates/utils/HighlightUpdatesController.d.ts.map +1 -0
  69. package/lib/typescript/highlight-updates/utils/PerformanceLogger.d.ts.map +1 -0
  70. package/lib/typescript/highlight-updates/utils/ProfilerInterceptor.d.ts.map +1 -0
  71. package/lib/typescript/highlight-updates/utils/RenderCauseDetector.d.ts.map +1 -0
  72. package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts +10 -0
  73. package/lib/typescript/highlight-updates/utils/RenderTracker.d.ts.map +1 -0
  74. package/lib/typescript/highlight-updates/utils/ViewTypeMapper.d.ts.map +1 -0
  75. package/lib/typescript/highlight-updates/utils/copySettingsStorage.d.ts.map +1 -0
  76. package/lib/typescript/highlight-updates/utils/renderExportFormatter.d.ts.map +1 -0
  77. package/lib/typescript/highlight-updates/utils/rendersExportFormatter.d.ts.map +1 -0
  78. package/lib/typescript/index.d.ts +1 -0
  79. package/lib/typescript/index.d.ts.map +1 -0
  80. package/lib/typescript/preset.d.ts.map +1 -0
  81. package/lib/typescript/sync/highlightUpdatesSyncAdapter.d.ts +36 -0
  82. package/lib/typescript/sync/highlightUpdatesSyncAdapter.d.ts.map +1 -0
  83. package/package.json +7 -7
@@ -1 +1,97 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CategoryBadge",{enumerable:!0,get:function(){return _IdentifierBadge.CategoryBadge}}),Object.defineProperty(exports,"DetailViewHeader",{enumerable:!0,get:function(){return _ModalHeaderContent.DetailViewHeader}}),Object.defineProperty(exports,"FilterViewHeader",{enumerable:!0,get:function(){return _ModalHeaderContent.FilterViewHeader}}),Object.defineProperty(exports,"HeaderActions",{enumerable:!0,get:function(){return _ModalHeaderContent.HeaderActions}}),Object.defineProperty(exports,"HighlightFilterView",{enumerable:!0,get:function(){return _HighlightFilterView.HighlightFilterView}}),Object.defineProperty(exports,"HighlightUpdatesModal",{enumerable:!0,get:function(){return _HighlightUpdatesModal.HighlightUpdatesModal}}),Object.defineProperty(exports,"IDENTIFIER_CONFIG",{enumerable:!0,get:function(){return _IdentifierBadge.IDENTIFIER_CONFIG}}),Object.defineProperty(exports,"IdentifierBadge",{enumerable:!0,get:function(){return _IdentifierBadge.IdentifierBadge}}),Object.defineProperty(exports,"IsolatedRenderList",{enumerable:!0,get:function(){return _IsolatedRenderList.IsolatedRenderList}}),Object.defineProperty(exports,"MainListHeader",{enumerable:!0,get:function(){return _ModalHeaderContent.MainListHeader}}),Object.defineProperty(exports,"RenderDetailView",{enumerable:!0,get:function(){return _RenderDetailView.RenderDetailView}}),Object.defineProperty(exports,"RenderListItem",{enumerable:!0,get:function(){return _RenderListItem.RenderListItem}}),Object.defineProperty(exports,"SearchSection",{enumerable:!0,get:function(){return _ModalHeaderContent.SearchSection}}),Object.defineProperty(exports,"StatsDisplay",{enumerable:!0,get:function(){return _StatsDisplay.StatsDisplay}});var _HighlightUpdatesModal=require("./HighlightUpdatesModal"),_RenderListItem=require("./RenderListItem"),_RenderDetailView=require("./RenderDetailView"),_HighlightFilterView=require("./HighlightFilterView"),_IdentifierBadge=require("./IdentifierBadge"),_IsolatedRenderList=require("./IsolatedRenderList"),_StatsDisplay=require("./StatsDisplay"),_ModalHeaderContent=require("./ModalHeaderContent");
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";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PRESET_METADATA=exports.DEFAULT_COPY_SETTINGS=exports.COPY_PRESETS=void 0,exports.detectActivePreset=detectActivePreset;const DEFAULT_COPY_SETTINGS=exports.DEFAULT_COPY_SETTINGS={format:"summary",topN:25,minRenders:2,filterCauses:[],groupByName:!0,aggregateCauses:!0,sortBy:"renderCount",includeHistory:!1},COPY_PRESETS=exports.COPY_PRESETS={llm:{format:"summary",topN:25,minRenders:2,filterCauses:[],groupByName:!0,aggregateCauses:!0,sortBy:"renderCount",includeHistory:!1},table:{format:"markdown-table",topN:50,minRenders:2,filterCauses:[],groupByName:!0,aggregateCauses:!0,sortBy:"renderCount",includeHistory:!1},json:{format:"json",topN:-1,minRenders:1,filterCauses:[],groupByName:!1,aggregateCauses:!0,sortBy:"renderCount",includeHistory:!1},full:{format:"json",topN:-1,minRenders:1,filterCauses:[],groupByName:!1,aggregateCauses:!1,sortBy:"renderCount",includeHistory:!0}};function detectActivePreset(e){for(const[r,t]of Object.entries(COPY_PRESETS))if(Object.keys(t).every(r=>{const o=e[r],s=t[r];return Array.isArray(o)&&Array.isArray(s)?o.length===s.length&&o.every((e,r)=>e===s[r]):o===s}))return r;return null}const PRESET_METADATA=exports.PRESET_METADATA={llm:{label:"LLM",description:"Compact summary for AI",color:"#10B981"},table:{label:"Table",description:"Markdown table",color:"#3B82F6"},json:{label:"JSON",description:"Structured data",color:"#F59E0B"},full:{label:"Full",description:"Everything incl. history",color:"#6B7280"}};
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
+ };