From d35056d29eb18c1b141166a4ab173ea5c7b1e56a Mon Sep 17 00:00:00 2001 From: Tooru Fujisawa Date: Thu, 25 Dec 2025 19:17:54 +0900 Subject: [PATCH] Put radio buttons into labels --- .../shared/StackImplementationSetting.tsx | 11 +- .../__snapshots__/FlameGraph.test.tsx.snap | 71 +- .../__snapshots__/MarkerChart.test.tsx.snap | 71 +- .../__snapshots__/MarkerTable.test.tsx.snap | 71 +- .../ProfileCallTreeView.test.tsx.snap | 1207 ++++++++++------- .../__snapshots__/StackChart.test.tsx.snap | 355 ++--- .../__snapshots__/StackSettings.test.tsx.snap | 71 +- 7 files changed, 1044 insertions(+), 813 deletions(-) diff --git a/src/components/shared/StackImplementationSetting.tsx b/src/components/shared/StackImplementationSetting.tsx index 8c71753ab0..aa14cf97ea 100644 --- a/src/components/shared/StackImplementationSetting.tsx +++ b/src/components/shared/StackImplementationSetting.tsx @@ -47,7 +47,7 @@ class StackImplementationSettingImpl extends PureComponent { ) { const htmlId = `implementation-radio-${implementationFilter}`; return ( - <> + ); } diff --git a/src/test/components/__snapshots__/FlameGraph.test.tsx.snap b/src/test/components/__snapshots__/FlameGraph.test.tsx.snap index 7070e5dfa6..bcd4d35814 100644 --- a/src/test/components/__snapshots__/FlameGraph.test.tsx.snap +++ b/src/test/components/__snapshots__/FlameGraph.test.tsx.snap @@ -415,48 +415,57 @@ exports[`FlameGraph matches the snapshot 1`] = `
  • - - -
  • diff --git a/src/test/components/__snapshots__/MarkerChart.test.tsx.snap b/src/test/components/__snapshots__/MarkerChart.test.tsx.snap index 68263b885b..038ff2c56c 100644 --- a/src/test/components/__snapshots__/MarkerChart.test.tsx.snap +++ b/src/test/components/__snapshots__/MarkerChart.test.tsx.snap @@ -449,48 +449,57 @@ exports[`MarkerChart renders the normal marker chart and matches the snapshot 1` > Filter stacks: - - - diff --git a/src/test/components/__snapshots__/MarkerTable.test.tsx.snap b/src/test/components/__snapshots__/MarkerTable.test.tsx.snap index 9f0f0c256a..f60c56760d 100644 --- a/src/test/components/__snapshots__/MarkerTable.test.tsx.snap +++ b/src/test/components/__snapshots__/MarkerTable.test.tsx.snap @@ -55,48 +55,57 @@ exports[`MarkerTable renders some basic markers and updates when needed 1`] = ` > Filter stacks: - - - diff --git a/src/test/components/__snapshots__/ProfileCallTreeView.test.tsx.snap b/src/test/components/__snapshots__/ProfileCallTreeView.test.tsx.snap index 0789545904..937030aa27 100644 --- a/src/test/components/__snapshots__/ProfileCallTreeView.test.tsx.snap +++ b/src/test/components/__snapshots__/ProfileCallTreeView.test.tsx.snap @@ -16,48 +16,57 @@ exports[`ProfileCallTreeView with JS Allocations matches the snapshot for JS all
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -
  • - - -