mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
display in semester
This commit is contained in:
21
README.md
21
README.md
@@ -22,28 +22,20 @@ matching questions
|
|||||||
- different delimiter (-n in answer messes things up)
|
- different delimiter (-n in answer messes things up)
|
||||||
- add distractors
|
- add distractors
|
||||||
|
|
||||||
|
|
||||||
on calendar month, displays days that are on the same week as a month change (if month ends on monday, still show tues-sat)
|
on calendar month, displays days that are on the same week as a month change (if month ends on monday, still show tues-sat)
|
||||||
|
|
||||||
file uploads
|
file uploads
|
||||||
- image compression?
|
- image compression?
|
||||||
- scrape html, when image embedded, upload to canvas and add img tag to canvas asset in html before sending image
|
- scrape html, when image embedded, upload to canvas and add img tag to canvas asset in html before sending image
|
||||||
|
- put all images in an image repo in a /course/semester/filename format. upload the image to canvas, replace the url before sending it over with the canvas version.
|
||||||
add grade percentage support in page
|
- store canvas image ids in settings?
|
||||||
|
|
||||||
wait until week two before colapsing previous month?
|
|
||||||
|
|
||||||
better ux around course settings (assignment groups, term for start/end)
|
|
||||||
|
|
||||||
display queue of canvas requests
|
|
||||||
|
|
||||||
allow multiple courses to be edited concurrently in different browser tabs
|
allow multiple courses to be edited concurrently in different browser tabs
|
||||||
|
|
||||||
have lock date mimic an offset after drag and drop changes due date
|
have lock date mimic an offset after drag and drop changes due date
|
||||||
|
|
||||||
make the ux easier to change course pages
|
|
||||||
|
|
||||||
schedule planning view? just outline concepts? (maybe some non-canvas scheduled thing that only shows up in planner? like a note, could be de-emphasized in webpage)
|
schedule planning view? just outline concepts? (maybe some non-canvas scheduled thing that only shows up in planner? like a note, could be de-emphasized in webpage)
|
||||||
|
- probably have a notes section for each module. Have a toggle to expand notes in module
|
||||||
|
|
||||||
holiday schedule
|
holiday schedule
|
||||||
|
|
||||||
@@ -51,6 +43,7 @@ multi-seciton support for due dates/times
|
|||||||
|
|
||||||
better error handling when files are unparseable
|
better error handling when files are unparseable
|
||||||
|
|
||||||
## monaco PR?
|
new settings
|
||||||
|
- default submission types
|
||||||
<https://github.com/serdarciplak/BlazorMonaco/pull/137>
|
- default file types
|
||||||
|
- default lockAt offset
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
import {
|
import {
|
||||||
|
getDateFromString,
|
||||||
getDateFromStringOrThrow,
|
getDateFromStringOrThrow,
|
||||||
getDateOnlyMarkdownString,
|
getDateOnlyMarkdownString,
|
||||||
} from "@/models/local/timeUtils";
|
} from "@/models/local/timeUtils";
|
||||||
@@ -31,7 +32,19 @@ export default function Day({ day, month }: { day: string; month: number }) {
|
|||||||
const isInSameMonth = dayAsDate.getMonth() + 1 == month;
|
const isInSameMonth = dayAsDate.getMonth() + 1 == month;
|
||||||
const classOnThisDay = settings.daysOfWeek.includes(getDayOfWeek(dayAsDate));
|
const classOnThisDay = settings.daysOfWeek.includes(getDayOfWeek(dayAsDate));
|
||||||
|
|
||||||
const meetingClasses = classOnThisDay ? " bg-slate-900 " : " ";
|
const semesterStart = getDateFromStringOrThrow(
|
||||||
|
settings.startDate,
|
||||||
|
"comparing start date in day"
|
||||||
|
);
|
||||||
|
const semesterEnd = getDateFromStringOrThrow(
|
||||||
|
settings.endDate,
|
||||||
|
"comparing end date in day"
|
||||||
|
);
|
||||||
|
|
||||||
|
const isInSemester = semesterStart < dayAsDate&& semesterEnd > dayAsDate;
|
||||||
|
|
||||||
|
const meetingClasses =
|
||||||
|
classOnThisDay && isInSemester ? " bg-slate-900 " : " ";
|
||||||
const monthClass = isInSameMonth
|
const monthClass = isInSameMonth
|
||||||
? isToday
|
? isToday
|
||||||
? " border border-blue-700 shadow-[0_0px_10px_0px] shadow-blue-500/50 "
|
? " border border-blue-700 shadow-[0_0px_10px_0px] shadow-blue-500/50 "
|
||||||
|
|||||||
Reference in New Issue
Block a user