/
Classes with Assignments pop-up
Classes with Assignments pop-up
VIEWS
Teachers:
Students:
PURPOSE
To present the users with the details of the ToDo widget.
COMPONENTS
- Class Box
- Class Image
- Class Name
- Class Level
- Class Alias
- Number of students
- Start/End Date
- Class Assignments Text
- Class Assignments Sum
- Class Image
DATA SOURCES
- Class Box
unity_core_groups.code- Class Image
TBD - Class Name
unity_core_groups.name - Class Level
unity_core_groups.metadata→'level' - Class Alias
TBD - Number of Students
received from Classes with Assignments popup handler - Start/End Date
unity_core_groups.start_date
unity_core_groups.end_date - Class Assignments Text
Upper part fixed to text "Assignments"
Lower part rendered from variable 'text' of function Class Assignments Text Selector - Class Assignments Sum
received from Classes with Assignments popup handler
- Class Image
FUNCTIONS
- Class Assignments Text Selector
Upon receiving the user's role, the system is to determine the text to be sown in the Class Assignments Text component based on the following logic:
'IF userRole = "student" THEN text = "pending to be done" ELSE text = "with manual marking" END IF' - Class Assignments Sum Processor
The system shall divide the received pairs classCode:sumOfAssignments from Classes with Assignments popup handler (in the ToDo widget) into its components and use the classCode segment to locate the Class Box to be filled with the sumOfAssignments data on the corresponding Class Assignment Sum component field. - Class Box Assignments Linker
The system shall generate a link that allows the user to navigate to the corresponding Assignments Page when clicking on the desired Class Box.
The whole Class Box component shall respond to the user's click action, and each Class Box componen shall link to its related class Assignments Page (by means of the classCode). - Class Dates handler
Upon receiving the user's role, the system is to determine the presence or absence of the component Start/End Date inside Class Box following the next logic:
'IF userRole = "student" THEN showDates = false ELSE showDates = true'
STIMULUS/RESPONSE SEQUENCE
On click, each Class Box shall redirect the user accordingly to the link created by the Class Box Assignments Linker function.
ASSOCIATED FUNCTIONAL REQUIREMENTS
- ToDo widget
- Assignments Page
, multiple selections available,
Related content
ToDo widget
ToDo widget
More like this
My Classes widget
My Classes widget
More like this
My Classes widget
My Classes widget
More like this
Assignments Details Popup
Assignments Details Popup
More like this
Class Assignments Widget
Class Assignments Widget
More like this
Pending Assignments widget
Pending Assignments widget
More like this