Ticket #251 (closed task: done)
Modify EInotebook ratings so they are appended to ratings file dynamically
| Reported by: | jdalbey | Owned by: | jdalbey |
|---|---|---|---|
| Priority: | Medium | Milestone: | May 2021 Training |
| Component: | Electronic Instructor Notebook | Version: | |
| Severity: | Minor | Keywords: | |
| Cc: |
Description
The current EInotebook has a preliminary version of ratings that uses a Submit button at the end of the page to save the ratings. The two obvious shortcomings are
- If the browser is closed before submitting all the ratings are lost.
- If multiple browsers are open only the last person to change a rating is saved.
This ticket specifies a modification to address these issues.
- Create a new python script in the cgi-bin folder that will append a single rating to the ratings file.
- In Evaluation.js create a new function to write a rating (by calling the python script) given a rating, that will write the time, rating, and eval type.
- Modify LoadEvents to include event time in constructor to Evaluation (2 places)
- Add event time to constructor for Evaluation
- Modify smallScaleForm() to call writeRating instead of recordRating
Change History
Note: See
TracTickets for help on using
tickets.

Implemented in #631, #632