mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
update settings to add clarity
This commit is contained in:
1
run.sh
1
run.sh
@@ -11,6 +11,7 @@ docker run -it --rm \
|
|||||||
-v ~/projects/faculty/1810/2024-fall-alex/modules:/app/storage/intro_to_web \
|
-v ~/projects/faculty/1810/2024-fall-alex/modules:/app/storage/intro_to_web \
|
||||||
-v ~/projects/faculty/4850_AdvancedFE/2024-fall-alex/modules:/app/storage/advanced_frontend \
|
-v ~/projects/faculty/4850_AdvancedFE/2024-fall-alex/modules:/app/storage/advanced_frontend \
|
||||||
-v ~/projects/faculty/1810/2025-spring-alex/online:/app/storage/intro_to_web_online \
|
-v ~/projects/faculty/1810/2025-spring-alex/online:/app/storage/intro_to_web_online \
|
||||||
|
-v ~/projects/faculty/1400/2025_spring_alex/modules:/app/storage/1400 \
|
||||||
node \
|
node \
|
||||||
sh -c "
|
sh -c "
|
||||||
mkdir -p ~/.npm-global && \
|
mkdir -p ~/.npm-global && \
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ import TextInput from "../../../../components/form/TextInput";
|
|||||||
import { useSetAssignmentGroupsMutation } from "@/hooks/canvas/canvasCourseHooks";
|
import { useSetAssignmentGroupsMutation } from "@/hooks/canvas/canvasCourseHooks";
|
||||||
import { settingsBox } from "./sharedSettings";
|
import { settingsBox } from "./sharedSettings";
|
||||||
import { Spinner } from "@/components/Spinner";
|
import { Spinner } from "@/components/Spinner";
|
||||||
|
import { baseCanvasUrl } from "@/services/canvas/canvasServiceUtils";
|
||||||
|
import MeatballIcon from "./MeatballIcon";
|
||||||
|
|
||||||
export default function AssignmentGroupManagement() {
|
export default function AssignmentGroupManagement() {
|
||||||
const [settings, { isPending }] = useLocalCourseSettingsQuery();
|
const [settings, { isPending }] = useLocalCourseSettingsQuery();
|
||||||
@@ -117,11 +119,20 @@ export default function AssignmentGroupManagement() {
|
|||||||
{applyInCanvas.isPending && <Spinner />}
|
{applyInCanvas.isPending && <Spinner />}
|
||||||
{applyInCanvas.isSuccess && (
|
{applyInCanvas.isSuccess && (
|
||||||
<div>
|
<div>
|
||||||
{
|
{"You will need to go to your course assignments page "}
|
||||||
"You will need to go to your course assignments page > settings > Assignment Group Weights"
|
<a
|
||||||
}
|
href={`${baseCanvasUrl}/courses/${settings.canvasId}/assignments`}
|
||||||
|
className="font-bold underline hover:scale-115"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
HERE
|
||||||
|
</a>
|
||||||
|
{" > settings ("}
|
||||||
|
<MeatballIcon />
|
||||||
|
{") > Assignment Group Weights"}
|
||||||
<br />
|
<br />
|
||||||
{"and check the 'Weight final grade based on assignment groups' box"}
|
{"and check the 'Weight final grade based on assignment groups' box"}
|
||||||
|
<br />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export default function DefaultLockOffset() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className="text-center">Default Assignment Due Time</div>
|
<div className="text-center">Default Assignment Lock Offset</div>
|
||||||
<hr className="m-1 p-0" />
|
<hr className="m-1 p-0" />
|
||||||
|
|
||||||
<TextInput
|
<TextInput
|
||||||
|
|||||||
15
src/app/course/[courseName]/settings/MeatballIcon.tsx
Normal file
15
src/app/course/[courseName]/settings/MeatballIcon.tsx
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
export default function MeatballIcon() {
|
||||||
|
return (
|
||||||
|
<svg
|
||||||
|
className="inline h-4"
|
||||||
|
viewBox="0 0 32 32"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
fill="none"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
fill="white"
|
||||||
|
d="M16 10a2 2 0 100-4 2 2 0 000 4zM16 18a2 2 0 100-4 2 2 0 000 4zM16 26a2 2 0 100-4 2 2 0 000 4z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user