@instructure/platform-widget-dashboard 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/shared/CourseWorkItem.d.ts +9 -0
- package/dist/components/shared/CourseWorkItem.d.ts.map +1 -0
- package/dist/components/shared/WidgetContextMenu.d.ts +1 -0
- package/dist/components/shared/WidgetContextMenu.d.ts.map +1 -1
- package/dist/components/widgets/CourseGradesWidget/utils.d.ts +13 -0
- package/dist/components/widgets/CourseGradesWidget/utils.d.ts.map +1 -0
- package/dist/components/widgets/TemplateWidget/TemplateWidget.d.ts +6 -1
- package/dist/components/widgets/TemplateWidget/TemplateWidget.d.ts.map +1 -1
- package/dist/components/widgets/TemplateWidget/index.d.ts +2 -2
- package/dist/components/widgets/TemplateWidget/index.d.ts.map +1 -1
- package/dist/components/widgets/TodoListWidget/hooks/useCreatePlannerNote.d.ts +4 -0
- package/dist/components/widgets/TodoListWidget/hooks/useCreatePlannerNote.d.ts.map +1 -0
- package/dist/components/widgets/TodoListWidget/hooks/usePlannerOverride.d.ts +12 -0
- package/dist/components/widgets/TodoListWidget/hooks/usePlannerOverride.d.ts.map +1 -0
- package/dist/constants/index.d.ts +64 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants.d.ts +64 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/contexts/TranslationsContext.d.ts +188 -0
- package/dist/contexts/TranslationsContext.d.ts.map +1 -0
- package/dist/graphql/coursePeople.d.ts +46 -0
- package/dist/graphql/coursePeople.d.ts.map +1 -0
- package/dist/hooks/useAnnouncements.d.ts +35 -0
- package/dist/hooks/useAnnouncements.d.ts.map +1 -0
- package/dist/hooks/useCourseInstructors.d.ts +58 -0
- package/dist/hooks/useCourseInstructors.d.ts.map +1 -0
- package/dist/hooks/useCourseWork.d.ts +67 -0
- package/dist/hooks/useCourseWork.d.ts.map +1 -0
- package/dist/hooks/useCourseWorkStatistics.d.ts +11 -0
- package/dist/hooks/useCourseWorkStatistics.d.ts.map +1 -0
- package/dist/hooks/useInboxMessages.d.ts +10 -0
- package/dist/hooks/useInboxMessages.d.ts.map +1 -0
- package/dist/hooks/useRecentGrades.d.ts +31 -0
- package/dist/hooks/useRecentGrades.d.ts.map +1 -0
- package/dist/hooks/useTabState.d.ts +7 -0
- package/dist/hooks/useTabState.d.ts.map +1 -0
- package/dist/hooks/useToggleAnnouncementReadState.d.ts +17 -0
- package/dist/hooks/useToggleAnnouncementReadState.d.ts.map +1 -0
- package/dist/hooks/useWidgetDashboardContext.d.ts +48 -0
- package/dist/hooks/useWidgetDashboardContext.d.ts.map +1 -0
- package/dist/hooks/useWidgetDashboardEdit.d.ts +20 -0
- package/dist/hooks/useWidgetDashboardEdit.d.ts.map +1 -0
- package/dist/hooks/useWidgetLayout.d.ts +21 -0
- package/dist/hooks/useWidgetLayout.d.ts.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3944 -3795
- package/dist/types/env.d.ts +4 -0
- package/dist/types/env.d.ts.map +1 -1
- package/dist/utils/assignmentUtils.d.ts +17 -0
- package/dist/utils/assignmentUtils.d.ts.map +1 -0
- package/dist/utils/courseCodeUtils.d.ts +11 -0
- package/dist/utils/courseCodeUtils.d.ts.map +1 -0
- package/dist/utils/dateUtils.d.ts +18 -0
- package/dist/utils/dateUtils.d.ts.map +1 -0
- package/dist/utils/persister.d.ts +3 -0
- package/dist/utils/persister.d.ts.map +1 -0
- package/locales/en.json +170 -0
- package/package.json +2 -1
package/dist/types/env.d.ts
CHANGED
|
@@ -34,9 +34,13 @@ export interface SharedCourseData {
|
|
|
34
34
|
courseId: string;
|
|
35
35
|
courseCode: string;
|
|
36
36
|
courseName: string;
|
|
37
|
+
originalName?: string;
|
|
37
38
|
currentGrade: number | null;
|
|
38
39
|
gradingScheme: 'percentage' | Array<[string, number]>;
|
|
39
40
|
lastUpdated: string;
|
|
41
|
+
courseColor?: string;
|
|
42
|
+
term?: string | null;
|
|
43
|
+
image?: string;
|
|
40
44
|
}
|
|
41
45
|
export interface DashboardFeatures {
|
|
42
46
|
widget_dashboard_customization?: boolean;
|
package/dist/types/env.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/types/env.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,CAAA;IACpB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,4BAA4B,EAAE,OAAO,CAAA;IACrC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACrC,+BAA+B,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IACzD,uBAAuB,CAAC,EAAE;QACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;QACjD,MAAM,CAAC,EAAE;YACP,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,KAAK,CAAC;gBACb,EAAE,EAAE,MAAM,CAAA;gBACV,IAAI,EAAE,MAAM,CAAA;gBACZ,QAAQ,EAAE;oBAAE,GAAG,EAAE,MAAM,CAAC;oBAAC,GAAG,EAAE,MAAM,CAAC;oBAAC,QAAQ,EAAE,MAAM,CAAA;iBAAE,CAAA;gBACxD,KAAK,EAAE,MAAM,CAAA;aACd,CAAC,CAAA;SACH,CAAA;KACF,CAAA;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,aAAa,EAAE,YAAY,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACrD,WAAW,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/types/env.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,CAAA;IACpB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,4BAA4B,EAAE,OAAO,CAAA;IACrC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACrC,+BAA+B,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IACzD,uBAAuB,CAAC,EAAE;QACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;QACjD,MAAM,CAAC,EAAE;YACP,OAAO,EAAE,MAAM,CAAA;YACf,OAAO,EAAE,KAAK,CAAC;gBACb,EAAE,EAAE,MAAM,CAAA;gBACV,IAAI,EAAE,MAAM,CAAA;gBACZ,QAAQ,EAAE;oBAAE,GAAG,EAAE,MAAM,CAAC;oBAAC,GAAG,EAAE,MAAM,CAAC;oBAAC,QAAQ,EAAE,MAAM,CAAA;iBAAE,CAAA;gBACxD,KAAK,EAAE,MAAM,CAAA;aACd,CAAC,CAAA;SACH,CAAA;KACF,CAAA;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,aAAa,EAAE,YAAY,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACrD,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,8BAA8B,CAAC,EAAE,OAAO,CAAA;CACzC;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,oBAAoB,CAAA;IACjC,iBAAiB,EAAE,YAAY,EAAE,CAAA;IACjC,cAAc,EAAE,OAAO,CAAA;IACvB,WAAW,EAAE,WAAW,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,gBAAgB,EAAE,MAAM,EAAE,CAAA;IAC1B,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;IACpC,iBAAiB,EAAE,iBAAiB,CAAA;CACrC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type AssignmentType = 'assignment' | 'quiz' | 'discussion';
|
|
4
|
+
export interface AssignmentData {
|
|
5
|
+
submissionTypes?: string[];
|
|
6
|
+
quiz?: {
|
|
7
|
+
_id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
} | null;
|
|
10
|
+
discussion?: {
|
|
11
|
+
_id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
} | null;
|
|
14
|
+
}
|
|
15
|
+
export declare function determineItemType(assignment: AssignmentData): AssignmentType;
|
|
16
|
+
export declare function getTypeIcon(type: AssignmentType, isMobile?: boolean, title?: string): React.JSX.Element;
|
|
17
|
+
//# sourceMappingURL=assignmentUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assignmentUtils.d.ts","sourceRoot":"","sources":["../../src/utils/assignmentUtils.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,MAAM,GAAG,YAAY,CAAA;AAEjE,MAAM,WAAW,cAAc;IAC7B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,IAAI,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAC5C,UAAU,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CACnD;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,cAAc,GAAG,cAAc,CAM5E;AAID,wBAAgB,WAAW,CACzB,IAAI,EAAE,cAAc,EACpB,QAAQ,GAAE,OAAe,EACzB,KAAK,CAAC,EAAE,MAAM,GACb,KAAK,CAAC,GAAG,CAAC,OAAO,CA8BnB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const formatUpdatedDate: (date: Date, t: (key: string, options?: any) => string) => string;
|
|
2
|
+
interface CourseCodeColors {
|
|
3
|
+
background: string;
|
|
4
|
+
textColor: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const DEFAULT_COURSE_COLOR: CourseCodeColors;
|
|
7
|
+
export declare const getCourseCodeColor: () => CourseCodeColors;
|
|
8
|
+
export declare const createGradebookHandler: (courseId: string) => (() => void);
|
|
9
|
+
export declare const convertToLetterGrade: (numericGrade: number, gradingStandardData: Array<[string, number]>) => string;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=courseCodeUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"courseCodeUtils.d.ts","sourceRoot":"","sources":["../../src/utils/courseCodeUtils.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,iBAAiB,GAC5B,MAAM,IAAI,EACV,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,KACxC,MAWF,CAAA;AAED,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CAClB;AAID,eAAO,MAAM,oBAAoB,EAAE,gBAGlC,CAAA;AAED,eAAO,MAAM,kBAAkB,QAAO,gBAErC,CAAA;AAED,eAAO,MAAM,sBAAsB,GAChC,UAAU,MAAM,KAAG,CAAC,MAAM,IAAI,CAG9B,CAAA;AAEH,eAAO,MAAM,oBAAoB,GAC/B,cAAc,MAAM,EACpB,qBAAqB,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAC3C,MAUF,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DateFilterOption } from '../components/shared/CourseWorkFilters';
|
|
2
|
+
|
|
3
|
+
export declare const startOfToday: () => Date;
|
|
4
|
+
export declare const endOfDay: (d: Date) => Date;
|
|
5
|
+
export declare const addDays: (d: Date, n: number) => Date;
|
|
6
|
+
export declare const getTomorrow: () => Date;
|
|
7
|
+
export declare function convertDateFilterToParams(filter: DateFilterOption): {
|
|
8
|
+
startDate: string | undefined;
|
|
9
|
+
endDate: undefined;
|
|
10
|
+
includeOverdue: boolean;
|
|
11
|
+
includeNoDueDate: boolean;
|
|
12
|
+
onlySubmitted: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare function convertDateFilterToStatisticsRange(filter: DateFilterOption): {
|
|
15
|
+
startDate: Date;
|
|
16
|
+
endDate: Date;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=dateUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dateUtils.d.ts","sourceRoot":"","sources":["../../src/utils/dateUtils.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAE9E,eAAO,MAAM,YAAY,QAAO,IAG/B,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,GAAG,IAAI,KAAG,IACoC,CAAA;AAEvE,eAAO,MAAM,OAAO,GAAI,GAAG,IAAI,EAAE,GAAG,MAAM,KAAG,IAI5C,CAAA;AAED,eAAO,MAAM,WAAW,QAAO,IAG9B,CAAA;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,gBAAgB,GAAG;IACnE,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,OAAO,EAAE,SAAS,CAAA;IAClB,cAAc,EAAE,OAAO,CAAA;IACvB,gBAAgB,EAAE,OAAO,CAAA;IACzB,aAAa,EAAE,OAAO,CAAA;CACvB,CAsCA;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,gBAAgB,GAAG;IAC5E,SAAS,EAAE,IAAI,CAAA;IACf,OAAO,EAAE,IAAI,CAAA;CACd,CAiBA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persister.d.ts","sourceRoot":"","sources":["../../src/utils/persister.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,wBAAwB,WAAY,CAAA;AAGjD,eAAO,MAAM,yBAAyB,QAAO,IAU5C,CAAA"}
|
package/locales/en.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"loading": "Loading",
|
|
3
|
+
"error": "Error",
|
|
4
|
+
"retry": "Retry",
|
|
5
|
+
"noData": "No data",
|
|
6
|
+
"save": "Save",
|
|
7
|
+
"cancel": "Cancel",
|
|
8
|
+
"dragToReorder": "Drag to reorder",
|
|
9
|
+
"removeWidget": "Remove widget",
|
|
10
|
+
"loadingWidgetData": "Loading widget data...",
|
|
11
|
+
"noContentAvailable": "No content available",
|
|
12
|
+
|
|
13
|
+
"dashboard": "Dashboard",
|
|
14
|
+
"courses": "Courses",
|
|
15
|
+
"customize": "Customize dashboard",
|
|
16
|
+
"moveToTop": "Move to top",
|
|
17
|
+
"moveUp": "Move up",
|
|
18
|
+
"moveDown": "Move down",
|
|
19
|
+
"moveToBottom": "Move to bottom",
|
|
20
|
+
"moveLeftTop": "Move left top",
|
|
21
|
+
"moveLeftBottom": "Move left bottom",
|
|
22
|
+
"moveRightTop": "Move right top",
|
|
23
|
+
"moveRightBottom": "Move right bottom",
|
|
24
|
+
"failedToSaveWidgetLayout": "Failed to save widget layout",
|
|
25
|
+
|
|
26
|
+
"inbox": "Inbox",
|
|
27
|
+
"noMessages": "No messages",
|
|
28
|
+
"showAllMessages": "View all messages in inbox",
|
|
29
|
+
"unread": "Unread",
|
|
30
|
+
"all": "All",
|
|
31
|
+
"unknownSender": "Unknown Sender",
|
|
32
|
+
"noSubject": "(No subject)",
|
|
33
|
+
|
|
34
|
+
"announcements": "Announcements",
|
|
35
|
+
"noAnnouncements": "No recent announcements",
|
|
36
|
+
"readMore": "Read more",
|
|
37
|
+
"markAsRead": "Mark as read",
|
|
38
|
+
"markAsUnread": "Mark as unread",
|
|
39
|
+
"sentBy": "Sent by %{authorName}",
|
|
40
|
+
"readFilter": "Read filter:",
|
|
41
|
+
"read": "Read",
|
|
42
|
+
"noUnreadAnnouncements": "No unread announcements",
|
|
43
|
+
"noReadAnnouncements": "No read announcements",
|
|
44
|
+
"noRecentAnnouncements": "No recent announcements",
|
|
45
|
+
"failedToLoadAnnouncements": "Failed to load announcements. Please try again.",
|
|
46
|
+
"loadingAnnouncements": "Loading announcements",
|
|
47
|
+
"announcementsPagination": "Announcements pagination",
|
|
48
|
+
|
|
49
|
+
"courseWork": "Course work",
|
|
50
|
+
"noCourseWork": "No upcoming course work",
|
|
51
|
+
"dueToday": "Due today",
|
|
52
|
+
"dueTomorrow": "Due tomorrow",
|
|
53
|
+
"overdue": "Overdue",
|
|
54
|
+
"failedToLoadCourseWork": "Failed to load course work. Please try again.",
|
|
55
|
+
"loadingCourseWorkData": "Loading course work data...",
|
|
56
|
+
"courseWorkPagination": "Course work pagination",
|
|
57
|
+
"noUpcomingCourseWork": "No upcoming course work",
|
|
58
|
+
"noUpcomingCourseWorkForSelectedCourse": "No upcoming course work for selected course",
|
|
59
|
+
"courseFilter": "Course filter:",
|
|
60
|
+
"due": "Due",
|
|
61
|
+
"missing": "Missing",
|
|
62
|
+
"submitted": "Submitted",
|
|
63
|
+
"notSubmitted": "Not submitted",
|
|
64
|
+
"submissionStatus": "Submission status:",
|
|
65
|
+
"late": "Late",
|
|
66
|
+
"pendingReview": "Pending Review",
|
|
67
|
+
"noDueDate": "No due date",
|
|
68
|
+
"today": "Today",
|
|
69
|
+
"tomorrow": "Tomorrow",
|
|
70
|
+
|
|
71
|
+
"courseGrades": "Course grades",
|
|
72
|
+
"noCourseGrades": "No course grades",
|
|
73
|
+
"courseGradesPagination": "Course grades pagination",
|
|
74
|
+
"failedToLoadCourseGrades": "Failed to load course grades. Please try again.",
|
|
75
|
+
"loadingCourseGrades": "Loading course grades...",
|
|
76
|
+
"showAllGrades": "Show all grades",
|
|
77
|
+
"viewGradebook": "View Gradebook",
|
|
78
|
+
"hideGrade": "Hide grade for %{courseName}",
|
|
79
|
+
"showGrade": "Show grade for %{courseName}",
|
|
80
|
+
"updatedToday": "Updated today",
|
|
81
|
+
"gradeUpdated1DayAgo": "Grade updated 1 day ago",
|
|
82
|
+
|
|
83
|
+
"recentGrades": "Recent grades",
|
|
84
|
+
"noRecentGrades": "No recent grades",
|
|
85
|
+
"recentGradesPagination": "Recent grades pagination",
|
|
86
|
+
"loadingRecentGrades": "Loading recent grades...",
|
|
87
|
+
"viewAllGrades": "View all grades",
|
|
88
|
+
"noRecentGradesAvailable": "No recent grades available",
|
|
89
|
+
"notYetGraded": "Not yet graded",
|
|
90
|
+
"gradedJustNow": "Graded just now",
|
|
91
|
+
"graded": "Graded",
|
|
92
|
+
"notGraded": "Not graded",
|
|
93
|
+
"expandGradeDetails": "Expand grade details",
|
|
94
|
+
|
|
95
|
+
"progressOverview": "Progress overview",
|
|
96
|
+
"noProgressData": "No progress data",
|
|
97
|
+
"goToCourse": "Go to course",
|
|
98
|
+
"noCoursesFound": "No courses found",
|
|
99
|
+
"failedToLoadProgressOverview": "Failed to load progress overview. Please try again.",
|
|
100
|
+
"loadingProgressOverview": "Loading progress overview...",
|
|
101
|
+
"progressOverviewPagination": "Progress overview pagination",
|
|
102
|
+
|
|
103
|
+
"people": "People",
|
|
104
|
+
"noPeople": "No people",
|
|
105
|
+
"messageStudents": "Message students",
|
|
106
|
+
"allCourses": "All Courses",
|
|
107
|
+
"failedToLoadCourseData": "Failed to load course data",
|
|
108
|
+
"failedToLoadInstructorData": "Failed to load instructor data. Please try again.",
|
|
109
|
+
"loadingPeopleData": "Loading people data...",
|
|
110
|
+
"instructorsPagination": "Instructors pagination",
|
|
111
|
+
"noInstructorsFound": "No instructors found",
|
|
112
|
+
"teacher": "Teacher",
|
|
113
|
+
"teachingAssistant": "Teaching Assistant",
|
|
114
|
+
|
|
115
|
+
"todoItemCreatedSuccessfully": "To-do item created successfully",
|
|
116
|
+
"failedToCreateTodoItem": "Failed to create to-do item. Please try again.",
|
|
117
|
+
"filter": "Filter",
|
|
118
|
+
"incomplete": "Incomplete",
|
|
119
|
+
"complete": "Complete",
|
|
120
|
+
"noUpcomingItems": "No upcoming items",
|
|
121
|
+
"failedToLoadTodoItems": "Failed to load to-do items. Please try again.",
|
|
122
|
+
"loadingTodoItems": "Loading to-do items...",
|
|
123
|
+
"newTodo": "+ New To-do",
|
|
124
|
+
"todoListPagination": "To-do list pagination",
|
|
125
|
+
"updating": "Updating...",
|
|
126
|
+
"titleIsRequired": "Title is required",
|
|
127
|
+
"dateIsRequired": "Date is required",
|
|
128
|
+
"invalidDate": "%{date} is not a valid date.",
|
|
129
|
+
"youMustProvideDateTime": "You must provide a date and time.",
|
|
130
|
+
"optionalAddCourse": "Optional: Add Course",
|
|
131
|
+
"addToDo": "Add To Do",
|
|
132
|
+
"close": "Close",
|
|
133
|
+
"title": "Title",
|
|
134
|
+
"dateTimeTodoIsDue": "The date and time this to do is due",
|
|
135
|
+
"date": "Date",
|
|
136
|
+
"nextMonth": "Next Month",
|
|
137
|
+
"previousMonth": "Previous Month",
|
|
138
|
+
"time": "Time",
|
|
139
|
+
"course": "Course",
|
|
140
|
+
"useArrowKeysToNavigate": "Use arrow keys to navigate options.",
|
|
141
|
+
"details": "Details",
|
|
142
|
+
"creating": "Creating...",
|
|
143
|
+
"failedToUpdateItem": "Failed to update item. Please try again.",
|
|
144
|
+
"dueSoon": "Due soon",
|
|
145
|
+
"assignment": "Assignment",
|
|
146
|
+
"quiz": "Quiz",
|
|
147
|
+
"discussion": "Discussion",
|
|
148
|
+
"announcement": "Announcement",
|
|
149
|
+
"page": "Page",
|
|
150
|
+
"event": "Event",
|
|
151
|
+
"toDo": "To Do",
|
|
152
|
+
"peerReview": "Peer Review",
|
|
153
|
+
"discussionCheckpoint": "Discussion Checkpoint",
|
|
154
|
+
"item": "Item",
|
|
155
|
+
|
|
156
|
+
"reorderWidgetName": "Reorder %{widgetName}",
|
|
157
|
+
"removeWidgetName": "Remove %{widgetName}",
|
|
158
|
+
"widgetMovedDirection": "%{widgetName}, moved %{direction}",
|
|
159
|
+
"widgetRemoved": "%{widgetName} removed",
|
|
160
|
+
"widgetAdded": "%{widgetName} added",
|
|
161
|
+
"moveDirectionToTop": "to top",
|
|
162
|
+
"moveDirectionUp": "up",
|
|
163
|
+
"moveDirectionDown": "down",
|
|
164
|
+
"moveDirectionToBottom": "to bottom",
|
|
165
|
+
"moveDirectionToLeftBottom": "to left bottom",
|
|
166
|
+
"moveDirectionToLeftTop": "to left top",
|
|
167
|
+
"moveDirectionToRightBottom": "to right bottom",
|
|
168
|
+
"moveDirectionToRightTop": "to right top",
|
|
169
|
+
"widget": "Widget"
|
|
170
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-widget-dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@instructure/ui-link": "^10.0.0",
|
|
32
32
|
"@instructure/ui-list": "^10.0.0",
|
|
33
33
|
"@instructure/ui-menu": "^10.0.0",
|
|
34
|
+
"@instructure/ui-overlays": "^10.0.0",
|
|
34
35
|
"@instructure/ui-modal": "^10.0.0",
|
|
35
36
|
"@instructure/ui-pagination": "^10.0.0",
|
|
36
37
|
"@instructure/ui-pill": "^10.0.0",
|