Skip to content

Component Review - Create unit Modal

Student Name: Gaganjeet Singh

Student ID: 220032936

First select a component to review from the list below:

https://deakin365.sharepoint.com/:x:/r/sites/ThothTech2/Shared%20Documents/OnTrack%20-%20UI%20Enhancement/T3_2022/Management%20%5BT3_2022%5D/selected_task(revised).xlsx?d=wac02013da5224c958ac60fd96fac7b20&csf=1&web=1&e=UfCmZ5

Component Name

****./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee

File Name: create-unit-modal.coffee

Component purpose

It is used to create a new unit

Component outcomes/interactions

It creates a new unit.

existing modal

Currently, the modal had 2 text input fields unit code and unit name. In the new modal a 3rd dorp down field is to be added, teaching period.

So, in the updated modal the user provides the following:

  1. Unit Code
  2. Unit Name
  3. Teaching period

New design sketch: Existing UI components are to be used for the input fields and button etc.

new modal sketch

Link to figma: here

Component migration Check list – What is needs to be checked for this component to work once migrated?

[ ] ability to collect details from the user

[ ] succeeds when data is valid

[ ] handles errors - duplicate unit code in the teaching period, or invalid dates

[ ] created unit is shown on success