...

  • Anchor
    CBComponent
    CBComponent
    Class Box

    • Class Image


    • Class Name


    • Class Level


    • Class Alias


    • Number of students


    • Anchor
      SEDComponent
      SEDComponent
      Start/End Date


    • Class Assignments Text


    • Anchor
      CASComponent
      CASComponent
      Class Assignments Sum

...

  1. Anchor
    CATSelector
    CATSelector
    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'

  2. Anchor
    CASProcessor
    CASProcessor
    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.

  3. 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).

  4. 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

...