From 11d92c1a791ca5effee7866bb7bc966632fe0461 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Apr 2026 06:50:56 +0000 Subject: [PATCH 1/5] Initial plan From 90bbe07834a111dbf954db568c65551277e6d13c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Apr 2026 07:18:44 +0000 Subject: [PATCH 2/5] Adopt design color palette (#f8eedf) for all text headers Agent-Logs-Url: https://github.com/codewit-us/codewit.us/sessions/e7322396-01ee-458e-ad35-94cfcd42a3b4 Co-authored-by: kbuffardi <8324410+kbuffardi@users.noreply.github.com> --- codewit/client/src/pages/Home.tsx | 4 ++-- codewit/client/src/pages/ImportExercisesPanel.tsx | 2 +- codewit/client/src/pages/Read.tsx | 2 +- codewit/client/src/pages/course/TeacherView.tsx | 4 ++-- codewit/client/src/pages/create/exercise/exercise_id.tsx | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/codewit/client/src/pages/Home.tsx b/codewit/client/src/pages/Home.tsx index d67875d6..ab92f298 100644 --- a/codewit/client/src/pages/Home.tsx +++ b/codewit/client/src/pages/Home.tsx @@ -117,7 +117,7 @@ interface StudentCourseListProps { function StudentCourseList({ courses }: StudentCourseListProps) { return
-

Attending

+

Attending

{courses.map(course => { return

@@ -157,7 +157,7 @@ interface InstructorCourseListProps { function InstructorCourseList({ courses }: InstructorCourseListProps) { return
-

Instructing

+

Instructing

{courses.map(course => { return

diff --git a/codewit/client/src/pages/ImportExercisesPanel.tsx b/codewit/client/src/pages/ImportExercisesPanel.tsx index e46a466f..00443a45 100644 --- a/codewit/client/src/pages/ImportExercisesPanel.tsx +++ b/codewit/client/src/pages/ImportExercisesPanel.tsx @@ -46,7 +46,7 @@ export default function ImportExercisesPanel({ return (
-

Import Exercises (CSV)

+

Import Exercises (CSV)

)}
); -} \ No newline at end of file +} diff --git a/codewit/client/src/pages/create/exercise/exercise_id.tsx b/codewit/client/src/pages/create/exercise/exercise_id.tsx index 6470b6db..05bd54fa 100644 --- a/codewit/client/src/pages/create/exercise/exercise_id.tsx +++ b/codewit/client/src/pages/create/exercise/exercise_id.tsx @@ -25,6 +25,7 @@ import TagSelect, { topic_options } from "../../../components/form/TagSelect"; import LanguageSelect from "../../../components/form/LanguageSelect"; import ReusableModal from "../../../components/form/ReusableModal"; import InputLabel from "../../../components/form/InputLabel"; +import { H2, H3, H4 } from "../../../compponents/typeography"; import { isFormValid } from "../../../utils/formValidationUtils"; import { cn, SelectStyles } from "../../../utils/styles"; import { use_single_exercise_query, single_exercise_query_key } from "../../../hooks/useExercise"; @@ -304,9 +305,9 @@ function ExerciseEdit({ }}>
on_cancel()}/> -

+

{exercise != null ? "Edit Exercise" : "Create Exercise"} -

+

form.reset()}/> @@ -537,7 +538,7 @@ function ExerciseTest({ return
-

Test Exercise

+

Test Exercise

Run a small test with the current exercise inputs to validate it will run as expected

@@ -556,7 +557,7 @@ function ExerciseTest({ Reset
-

Results

+

Results

{data != null ? <> From 55b8365fd4fdd67f3bcef4b23683b852c7c5f6a1 Mon Sep 17 00:00:00 2001 From: DAC Date: Fri, 24 Apr 2026 19:46:29 -0700 Subject: [PATCH 4/5] fixed import error vite did not feel like telling me about it and had to force it to refresh. --- codewit/client/src/pages/create/exercise/exercise_id.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codewit/client/src/pages/create/exercise/exercise_id.tsx b/codewit/client/src/pages/create/exercise/exercise_id.tsx index 05bd54fa..d2f1962d 100644 --- a/codewit/client/src/pages/create/exercise/exercise_id.tsx +++ b/codewit/client/src/pages/create/exercise/exercise_id.tsx @@ -25,7 +25,7 @@ import TagSelect, { topic_options } from "../../../components/form/TagSelect"; import LanguageSelect from "../../../components/form/LanguageSelect"; import ReusableModal from "../../../components/form/ReusableModal"; import InputLabel from "../../../components/form/InputLabel"; -import { H2, H3, H4 } from "../../../compponents/typeography"; +import { H2, H3, H4 } from "../../../components/typeography"; import { isFormValid } from "../../../utils/formValidationUtils"; import { cn, SelectStyles } from "../../../utils/styles"; import { use_single_exercise_query, single_exercise_query_key } from "../../../hooks/useExercise"; From cc1225f5f81a4a9531c1bb31904675532c22e285 Mon Sep 17 00:00:00 2001 From: DAC Date: Fri, 29 May 2026 19:02:26 -0700 Subject: [PATCH 5/5] fixed spelling issue in filename --- .../client/src/components/{typeography.tsx => typography.tsx} | 0 codewit/client/src/pages/ImportExercisesPanel.tsx | 2 +- codewit/client/src/pages/Read.tsx | 2 +- codewit/client/src/pages/course/TeacherView.tsx | 2 +- codewit/client/src/pages/create/exercise/exercise_id.tsx | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename codewit/client/src/components/{typeography.tsx => typography.tsx} (100%) diff --git a/codewit/client/src/components/typeography.tsx b/codewit/client/src/components/typography.tsx similarity index 100% rename from codewit/client/src/components/typeography.tsx rename to codewit/client/src/components/typography.tsx diff --git a/codewit/client/src/pages/ImportExercisesPanel.tsx b/codewit/client/src/pages/ImportExercisesPanel.tsx index 66740c51..cde4099d 100644 --- a/codewit/client/src/pages/ImportExercisesPanel.tsx +++ b/codewit/client/src/pages/ImportExercisesPanel.tsx @@ -3,7 +3,7 @@ import axios from "axios"; import { toast } from "react-toastify"; import { useMutation, useQueryClient } from "@tanstack/react-query"; import { EXERCISES_KEY } from "../hooks/useExercises"; -import { H3 } from "../components/typeography"; +import { H3 } from "../components/typography"; type ImportResponse = { ok: boolean; created: number; updated: number }; diff --git a/codewit/client/src/pages/Read.tsx b/codewit/client/src/pages/Read.tsx index c202153c..0923ece0 100644 --- a/codewit/client/src/pages/Read.tsx +++ b/codewit/client/src/pages/Read.tsx @@ -28,7 +28,7 @@ import { cn } from '../utils/styles'; import { ErrorView } from '../components/error/Error'; import { toast } from 'react-toastify'; import { DefaultMarkdown } from '../components/markdown'; -import { H3 } from "../components/typeography"; +import { H3 } from "../components/typography"; function demo_query_key(demo_uid: string, module_id: string | null): ["demo_attempt", string, string | null] { return ["demo_attempt", demo_uid, module_id]; diff --git a/codewit/client/src/pages/course/TeacherView.tsx b/codewit/client/src/pages/course/TeacherView.tsx index 0618e6b0..b0152dd4 100644 --- a/codewit/client/src/pages/course/TeacherView.tsx +++ b/codewit/client/src/pages/course/TeacherView.tsx @@ -4,7 +4,7 @@ import bulbLit from '/bulb(lit).svg'; import { useCourseProgress } from '../../hooks/useCourse'; import Loading from '../../components/loading/LoadingPage'; -import { H1, H2 } from "../../components/typeography"; +import { H1, H2 } from "../../components/typography"; import { ErrorPage } from '../../components/error/Error'; import { useAxiosFetch } from "../../hooks/fetching"; import { useEffect, useState } from "react"; diff --git a/codewit/client/src/pages/create/exercise/exercise_id.tsx b/codewit/client/src/pages/create/exercise/exercise_id.tsx index d2f1962d..d249caa9 100644 --- a/codewit/client/src/pages/create/exercise/exercise_id.tsx +++ b/codewit/client/src/pages/create/exercise/exercise_id.tsx @@ -25,7 +25,7 @@ import TagSelect, { topic_options } from "../../../components/form/TagSelect"; import LanguageSelect from "../../../components/form/LanguageSelect"; import ReusableModal from "../../../components/form/ReusableModal"; import InputLabel from "../../../components/form/InputLabel"; -import { H2, H3, H4 } from "../../../components/typeography"; +import { H2, H3, H4 } from "../../../components/typography"; import { isFormValid } from "../../../utils/formValidationUtils"; import { cn, SelectStyles } from "../../../utils/styles"; import { use_single_exercise_query, single_exercise_query_key } from "../../../hooks/useExercise";