OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

Add the corresponding program for the activity pop out window #453

Closed ChainShoe-Z closed 1 year ago

ChainShoe-Z commented 1 year ago

Expected behaviour

The activity pop out window should also display which program does this activity belong to.

Actual behaviour

The pop out windows only show the activity type, date, and description.

Steps to reproduce

List steps that someone can perform to see the actual behavior, or delete this section if it's not relevant... After user clicking the activity, the program it belongs to should display next to the date

Details and resources

popout

Get the program from service function, then add the corresponding program next to the date.

  <DialogContent>
    <DialogContentText id="alert-dialog-description" sx={{ mb: 1 }}>
      {timeRange()}
    </DialogContentText>
    <DialogContentText id="alert-dialog-description">
      <b>Description:</b> {contents.description}
    </DialogContentText>
  </DialogContent>

Checklist