From 9929a92f5d9b8b709baec173f690d15524b78061 Mon Sep 17 00:00:00 2001 From: thsparks Date: Fri, 22 Mar 2024 14:58:26 -0700 Subject: [PATCH] Style & comments --- skillmap/src/store/reducer.ts | 2 +- .../src/components/styling/BlockPickerModal.module.scss | 2 +- teachertool/src/transforms/loadProjectMetadataAsync.ts | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/skillmap/src/store/reducer.ts b/skillmap/src/store/reducer.ts index 6f96873985b4..ab4c94beb2b7 100644 --- a/skillmap/src/store/reducer.ts +++ b/skillmap/src/store/reducer.ts @@ -561,4 +561,4 @@ function getCompletionModals(map: SkillMap, activityId: string) { return result; } -export default topReducer; +export default topReducer; \ No newline at end of file diff --git a/teachertool/src/components/styling/BlockPickerModal.module.scss b/teachertool/src/components/styling/BlockPickerModal.module.scss index d0b9b7950589..15b20e3a4a61 100644 --- a/teachertool/src/components/styling/BlockPickerModal.module.scss +++ b/teachertool/src/components/styling/BlockPickerModal.module.scss @@ -1,6 +1,6 @@ .block-picker-modal { div[class="common-modal"] { - // category color is overridden by javascript with category color + // category color is overridden in BlockPicker javascript --category-color: var(--pxt-content-secondary-foreground); height: 80vh; diff --git a/teachertool/src/transforms/loadProjectMetadataAsync.ts b/teachertool/src/transforms/loadProjectMetadataAsync.ts index 5bc177cd6639..1bd1dba9e0c5 100644 --- a/teachertool/src/transforms/loadProjectMetadataAsync.ts +++ b/teachertool/src/transforms/loadProjectMetadataAsync.ts @@ -4,6 +4,7 @@ import { getProjectMetaAsync } from "../services/backendRequests"; import { logDebug } from "../services/loggingService"; import { showToast } from "./showToast"; import { makeToast } from "../utils"; +import { setEvalResultsPending } from "./setEvalResultsPending"; import { initNewProjectResults } from "./initNewProjectResults"; export async function loadProjectMetadataAsync(inputText: string, shareLink: string) { @@ -35,7 +36,4 @@ export async function loadProjectMetadataAsync(inputText: string, shareLink: str dispatch(Actions.setProjectMetadata(projectData)); initNewProjectResults(); logDebug(`Loaded project metadata: ${JSON.stringify(projMeta)}`); - - // TODO thsparks : We need to loadToolboxCategoriesAsync once the iframe has loaded, so it doesn't work to leave it here. - // TODO thsparks : Reload all blocks. }