mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
before I dive too much more into adding pages in canvas
This commit is contained in:
@@ -82,13 +82,13 @@ public class PageEditorContext(
|
||||
|
||||
public async Task AddPageToCanvas()
|
||||
{
|
||||
// logger.Log("started to add quiz to canvas");
|
||||
// if (Quiz == null)
|
||||
// {
|
||||
// logger.Log("cannot add null quiz to canvas");
|
||||
// return;
|
||||
// }
|
||||
// await planner.LoadCanvasData();
|
||||
logger.Log("started to add page to canvas");
|
||||
if (Page == null)
|
||||
{
|
||||
logger.Log("cannot add null page to canvas");
|
||||
return;
|
||||
}
|
||||
await planner.LoadCanvasData();
|
||||
// if (planner.CanvasQuizzes == null)
|
||||
// {
|
||||
// logger.Log("cannot add quiz to canvas, failed to retrieve current quizzes");
|
||||
@@ -128,6 +128,11 @@ public class PageEditorContext(
|
||||
// logger.Log($"finished adding quiz {Quiz.Name} to canvas");
|
||||
}
|
||||
|
||||
public async Task UpdateInCanvas(string pageId)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static LocalModule getCurrentLocalModule(LocalCoursePage page, LocalCourse course)
|
||||
|
||||
Reference in New Issue
Block a user