Skip to content

UI component for allowed requests for students with multiple roles

What does this mr do?

This MR enables people with both staff and student roles in a shared lab to differentiate between the assignments they can enqueue for vs the assignments they can take requests for in the lab enqueueing page. The affected UI component is highlighted in a picture below.

Note: this change only applies for persons with multiple roles (ie. both staff and student roles) in one lab.

UI change suggested by @rwbackx .

Screenshot_2024-12-26_102633

Screenshots

before

In the old version, only the allowed assignments one could enqueue for were shown Screenshot_2024-12-26_133048

after

In the new version, all assignments associated with the session are shown. Moreover, for people with multiple roles, the assignments for which they can enqueue for versus take requests for are highlighted in different sections. Screenshot_2024-12-26_102526

Does this MR meet the acceptance criteria?

  • I have added a changelog entry to reflect the significant changes I made.
  • Tests were created to test the feature.
  • I have updated the documentation accordingly.
  • I adhere to the style guide.

Closes #571

Edited by Oana Milchi

Merge request reports

Loading