From b70fa5f356d81fc362a7b3206f28b42f55282ec5 Mon Sep 17 00:00:00 2001 From: En Rong <53928333+chownces@users.noreply.github.com> Date: Thu, 2 May 2024 12:57:00 +0800 Subject: [PATCH 01/10] Migrate playground hulk hotkey bindings to alt+shift+h --- .../AssessmentWorkspace.tsx.snap | 9 ------ src/commons/editor/Editor.tsx | 13 ++------- src/commons/repl/Repl.tsx | 11 ++------ .../__tests__/__snapshots__/Repl.tsx.snap | 9 ++---- .../sourceRecorder/SourceRecorderEditor.tsx | 13 ++------- src/pages/playground/Playground.tsx | 28 ++++++++----------- .../__snapshots__/Playground.tsx.snap | 6 ---- 7 files changed, 19 insertions(+), 70 deletions(-) diff --git a/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap b/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap index f24bedebae..dea696bdbb 100644 --- a/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap +++ b/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap @@ -220,7 +220,6 @@ exports[`AssessmentWorkspace AssessmentWorkspace page with ContestVoting questio >
- The data visualizer helps you to visualize data structures.
-
-
- It is activated by calling the function
-
-
- draw_data(x
-
- 1
-
- , x
-
- 2
-
- , ... x
-
- n
-
- )
-
- , where
-
-
- x
-
- k
-
-
-
- would be the
-
-
- k
-
- th
-
-
-
- data structure that you want to visualize and
-
- n
-
- is the number of structures.
-
-
- The data visualizer uses box-and-pointer diagrams, as introduced in
-
-
-
- Structure and Interpretation of Computer Programs, JavaScript Edition, Chapter 2, Section 2
-
-
- .
-
+ draw_data(x
+
+ 1
+
+ , x
+
+ 2
+
+ , ... x
+
+ n
+
+ )
+
+ , where
+
+
+ x
+
+ k
+
+
+
+ would be the
+
+
+ k
+
+ th
+
+
+
+ data structure that you want to visualize and
+
+ n
+
+ is the number of structures.
+
- The data visualizer helps you to visualize data structures.
-
-
- It is activated by calling the function
-
-
- draw_data(x
-
- 1
-
- , x
-
- 2
-
- , ... x
-
- n
-
- )
-
- , where
-
-
- x
-
- k
-
-
-
- would be the
-
-
- k
-
- th
-
-
-
- data structure that you want to visualize and
-
- n
-
- is the number of structures.
-
-
- The data visualizer uses box-and-pointer diagrams, as introduced in
-
-
-
- Structure and Interpretation of Computer Programs, JavaScript Edition, Chapter 2, Section 2
-
-
- .
-
+ draw_data(x
+
+ 1
+
+ , x
+
+ 2
+
+ , ... x
+
+ n
+
+ )
+
+ , where
+
+
+ x
+
+ k
+
+
+
+ would be the
+
+
+ k
+
+ th
+
+
+
+ data structure that you want to visualize and
+
+ n
+
+ is the number of structures.
+