@localstack/appinspector-ui 1.0.50 → 1.0.51
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/dist/index.cjs +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12768,6 +12768,15 @@ function useLocalStorage(key, initialValue) {
|
|
|
12768
12768
|
return [storedValue, setValue];
|
|
12769
12769
|
}
|
|
12770
12770
|
|
|
12771
|
+
// src/hooks/use-include-read-operations.tsx
|
|
12772
|
+
var useIncludeReadOperations = () => {
|
|
12773
|
+
const [includeReadOperations, setIncludeReadOperations] = useLocalStorage("includeReadOperations", false);
|
|
12774
|
+
return {
|
|
12775
|
+
includeReadOperations,
|
|
12776
|
+
setIncludeReadOperations
|
|
12777
|
+
};
|
|
12778
|
+
};
|
|
12779
|
+
|
|
12771
12780
|
// src/hooks/use-spans.ts
|
|
12772
12781
|
var import_react47 = require("react");
|
|
12773
12782
|
|
|
@@ -14822,7 +14831,7 @@ var TraceGraphPage = ({ onClose, spanId, traceId }) => {
|
|
|
14822
14831
|
const api = useAppInspectorApi();
|
|
14823
14832
|
const [spans, setSpans] = (0, import_react61.useState)();
|
|
14824
14833
|
const [loading, setLoading] = (0, import_react61.useState)(false);
|
|
14825
|
-
const
|
|
14834
|
+
const { includeReadOperations } = useIncludeReadOperations();
|
|
14826
14835
|
const [fetchError, setFetchError] = (0, import_react61.useState)();
|
|
14827
14836
|
const fetchSpans = (0, import_react61.useCallback)(async () => {
|
|
14828
14837
|
setLoading(true);
|
|
@@ -14890,7 +14899,7 @@ var TraceGraphPage = ({ onClose, spanId, traceId }) => {
|
|
|
14890
14899
|
// src/pages/spans-list-page.tsx
|
|
14891
14900
|
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
14892
14901
|
var SpansListPage = () => {
|
|
14893
|
-
const
|
|
14902
|
+
const { includeReadOperations, setIncludeReadOperations } = useIncludeReadOperations();
|
|
14894
14903
|
const {
|
|
14895
14904
|
checkStatus,
|
|
14896
14905
|
clearingSpans,
|