From 359812b35b8892382e249514038442fcd554b0e0 Mon Sep 17 00:00:00 2001 From: Todd Schiller Date: Mon, 8 Jul 2024 11:10:16 -0400 Subject: [PATCH] #8759: always show mod variable data panel in the Page Editor (#8760) --- .../__snapshots__/EditorPane.test.tsx.snap | 17 +++++- src/pageEditor/tabs/editTab/EditTab.tsx | 4 +- .../tabs/editTab/dataPanel/DataPanel.tsx | 39 ++++++-------- ...est.tsx => StarterBrickDataPanel.test.tsx} | 6 +-- ...ataPanel.tsx => StarterBrickDataPanel.tsx} | 40 +++++++------- .../__snapshots__/DataPanel.test.tsx.snap | 4 +- ...ap => StarterBrickDataPanel.test.tsx.snap} | 6 +-- .../tabs/editTab/dataPanel/dataPanelTypes.ts | 8 +-- ...ionTab.tsx => BrickConfigFormStateTab.tsx} | 16 ++++-- ...teTab.tsx => ModComponentFormStateTab.tsx} | 14 +++-- ...eTab.test.tsx => ModVariablesTab.test.tsx} | 8 +-- .../{PageStateTab.tsx => ModVariablesTab.tsx} | 54 ++++++++++--------- ...tsx.snap => ModVariablesTab.test.tsx.snap} | 22 ++++---- .../factories/pageEditorFactories.ts | 2 +- src/tsconfig.strictNullChecks.json | 6 +-- 15 files changed, 136 insertions(+), 110 deletions(-) rename src/pageEditor/tabs/editTab/dataPanel/{FoundationDataPanel.test.tsx => StarterBrickDataPanel.test.tsx} (91%) rename src/pageEditor/tabs/editTab/dataPanel/{FoundationDataPanel.tsx => StarterBrickDataPanel.tsx} (80%) rename src/pageEditor/tabs/editTab/dataPanel/__snapshots__/{FoundationDataPanel.test.tsx.snap => StarterBrickDataPanel.test.tsx.snap} (98%) rename src/pageEditor/tabs/editTab/dataPanel/tabs/{ConfigurationTab.tsx => BrickConfigFormStateTab.tsx} (73%) rename src/pageEditor/tabs/editTab/dataPanel/tabs/{StateTab.tsx => ModComponentFormStateTab.tsx} (81%) rename src/pageEditor/tabs/editTab/dataPanel/tabs/{PageStateTab.test.tsx => ModVariablesTab.test.tsx} (92%) rename src/pageEditor/tabs/editTab/dataPanel/tabs/{PageStateTab.tsx => ModVariablesTab.tsx} (77%) rename src/pageEditor/tabs/editTab/dataPanel/tabs/__snapshots__/{PageStateTab.test.tsx.snap => ModVariablesTab.test.tsx.snap} (98%) diff --git a/src/pageEditor/panes/__snapshots__/EditorPane.test.tsx.snap b/src/pageEditor/panes/__snapshots__/EditorPane.test.tsx.snap index 133e565b24..07679f5184 100644 --- a/src/pageEditor/panes/__snapshots__/EditorPane.test.tsx.snap +++ b/src/pageEditor/panes/__snapshots__/EditorPane.test.tsx.snap @@ -1242,11 +1242,11 @@ exports[`renders a mod component with sub pipeline 1`] = ` - Page State + Mod Variables @@ -2072,6 +2072,19 @@ exports[`renders the first selected node 1`] = ` Context +