@parca/profile 0.16.170 → 0.16.172
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.16.172 (2023-05-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
10
|
+
## 0.16.171 (2023-05-26)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @parca/profile
|
|
13
|
+
|
|
6
14
|
## 0.16.170 (2023-05-25)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -178,6 +178,7 @@ var GraphTooltip = function (_a) {
|
|
|
178
178
|
options: {
|
|
179
179
|
tether: false,
|
|
180
180
|
altAxis: true,
|
|
181
|
+
boundary: contextElement !== null && contextElement !== void 0 ? contextElement : undefined,
|
|
181
182
|
},
|
|
182
183
|
},
|
|
183
184
|
{
|
|
@@ -186,6 +187,12 @@ var GraphTooltip = function (_a) {
|
|
|
186
187
|
offset: [30, 30],
|
|
187
188
|
},
|
|
188
189
|
},
|
|
190
|
+
{
|
|
191
|
+
name: 'flip',
|
|
192
|
+
options: {
|
|
193
|
+
boundary: contextElement !== null && contextElement !== void 0 ? contextElement : undefined,
|
|
194
|
+
},
|
|
195
|
+
},
|
|
189
196
|
],
|
|
190
197
|
}), styles = _f.styles, attributes = _f.attributes, popperProps = __rest(_f, ["styles", "attributes"]);
|
|
191
198
|
var isShiftDown = useKeyDown().isShiftDown;
|
|
@@ -87,7 +87,7 @@ var ProfileExplorerApp = function (_a) {
|
|
|
87
87
|
var profileA = ProfileSelectionFromParams(expression_a, from_a, to_a, mergeFrom, mergeTo, labels, filter_by_function);
|
|
88
88
|
setProfileA(profileA);
|
|
89
89
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
90
|
-
}, [merge_from_a, merge_to_a, filter_by_function]);
|
|
90
|
+
}, [expression_a, from_a, to_a, merge_from_a, merge_to_a, labels_a, filter_by_function]);
|
|
91
91
|
useEffect(function () {
|
|
92
92
|
var _a;
|
|
93
93
|
var mergeFrom = merge_from_b !== null && merge_from_b !== void 0 ? merge_from_b : undefined;
|
|
@@ -96,7 +96,7 @@ var ProfileExplorerApp = function (_a) {
|
|
|
96
96
|
var profileB = ProfileSelectionFromParams(expression_b, from_b, to_b, mergeFrom, mergeTo, labels, filter_by_function);
|
|
97
97
|
setProfileB(profileB);
|
|
98
98
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
99
|
-
}, [merge_from_b, merge_to_b, filter_by_function]);
|
|
99
|
+
}, [expression_b, from_b, to_b, merge_from_b, merge_to_b, labels_b, filter_by_function]);
|
|
100
100
|
if (profileTypesLoading) {
|
|
101
101
|
return _jsx(_Fragment, { children: loader });
|
|
102
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.172",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@parca/client": "^0.16.73",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "112f088c5f17200af4f325b6301f20f910fe1657"
|
|
50
50
|
}
|
|
@@ -426,6 +426,7 @@ const GraphTooltip = ({
|
|
|
426
426
|
options: {
|
|
427
427
|
tether: false,
|
|
428
428
|
altAxis: true,
|
|
429
|
+
boundary: contextElement ?? undefined,
|
|
429
430
|
},
|
|
430
431
|
},
|
|
431
432
|
{
|
|
@@ -434,6 +435,12 @@ const GraphTooltip = ({
|
|
|
434
435
|
offset: [30, 30],
|
|
435
436
|
},
|
|
436
437
|
},
|
|
438
|
+
{
|
|
439
|
+
name: 'flip',
|
|
440
|
+
options: {
|
|
441
|
+
boundary: contextElement ?? undefined,
|
|
442
|
+
},
|
|
443
|
+
},
|
|
437
444
|
],
|
|
438
445
|
}
|
|
439
446
|
);
|
|
@@ -137,7 +137,7 @@ const ProfileExplorerApp = ({
|
|
|
137
137
|
|
|
138
138
|
setProfileA(profileA);
|
|
139
139
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
140
|
-
}, [merge_from_a, merge_to_a, filter_by_function]);
|
|
140
|
+
}, [expression_a, from_a, to_a, merge_from_a, merge_to_a, labels_a, filter_by_function]);
|
|
141
141
|
|
|
142
142
|
useEffect(() => {
|
|
143
143
|
const mergeFrom = merge_from_b ?? undefined;
|
|
@@ -155,7 +155,7 @@ const ProfileExplorerApp = ({
|
|
|
155
155
|
|
|
156
156
|
setProfileB(profileB);
|
|
157
157
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
158
|
-
}, [merge_from_b, merge_to_b, filter_by_function]);
|
|
158
|
+
}, [expression_b, from_b, to_b, merge_from_b, merge_to_b, labels_b, filter_by_function]);
|
|
159
159
|
|
|
160
160
|
if (profileTypesLoading) {
|
|
161
161
|
return <>{loader}</>;
|