Problem
There exists staff members with the exact same name, but with different lesson periods. Staff members who report absence on short notice may fail to select the right staff option, potentially reporting absence for the wrong staff (and resulting in relief duties being generated for the wrong lessons).
How to reproduce
- Navigate to the absence reporting page
- Select
Haslinda binte Yusof. Take note of the periods.
- Select a different
Haslinda binte Yusof. Notice that the periods differ, for the same exact name.
Proposed Solution
Update the dropdown mapper to append the teacher's subjects inline with their name (as there doesn't exist a proper uid that is user-friendly).
Before:
After:
- John Smith (Math, Physics)
- John Smith (Literature, Philosophy, Chemistry)
Todo
Problem
There exists staff members with the exact same name, but with different lesson periods. Staff members who report absence on short notice may fail to select the right staff option, potentially reporting absence for the wrong staff (and resulting in relief duties being generated for the wrong lessons).
How to reproduce
Haslinda binte Yusof. Take note of the periods.Haslinda binte Yusof. Notice that the periods differ, for the same exact name.Proposed Solution
Update the dropdown mapper to append the teacher's subjects inline with their name (as there doesn't exist a proper
uidthat is user-friendly).Before:
After:
Todo
subjects.${teacher.name} (${teacher.subjects.map(...)}).