Feature #1136
Updated by Vladimir Krisyuk almost 6 years ago
h2. User should be able to add College or University
*Precondition:* User is on the “Manage Colleges/Universities” page.
Click on the [Add College/University] button should open a popup window with the fields:
* Add College/University - title
* Foreign/*Domestic radio buttons. (required). *selected by Default
* “Search” - Label: “Find colleges in USA” (TBD)
* “College/University*” input field ,disabled by default
* Website Url (optional) input field.- ,disabled by default
Below there are a few Flows in use case way describing how user can add a College
*Flow1: User adds Domestic College from the search result.*
# User starts search “as user types” and types more than 2 letters.
# App: Displays the autosuggestions in the dropdown list.
# User selects one item from autosuggestions. (TBD)
# App: Adds data to the College/University and Website url fields. Fields should remain disabled to edit.
# User clicks “Add to DB”
# App: Checks if it’s unique college, adds to DB,.
# Shows the confirmation message “College/University is added to the list” OR Error message: “The College/University is already in the list”
# User clicks on “Close” to close the window and get back to the previous page which is “Manage Colleges/Universities” or clicks “Add” to add more.
> Mockup: 11.Education - add College
*Flow2: User adds Domestic College manually*
* (1-2 steps from flow1)
* 3. User selects [Add new] from the list.
* 4. App: Enables the “Website url field”, fills in the “College/University” by data that User used in the search input (field should remain disabled for the user).
* 5. User adds Website url
* (Then use 5-6-7-8 steps from Flow1).
> Mockups:
> * 12.Education - add College - new Domestic
> * 13.Education - add College - new Domestic step2
*Flow3: User adds Foreign College*
* 1. User selects the “Foreign” radio button.
* 2. App.: Hides “Search” field and
- If the both College/University and Website url fields were disabled (with or without search results) then app: Enables and clears both fields.
- If the “Website Url (optional)” was enabled (data was not found and user added it manually) then enable both fields, without clearing data if there were any.
* 3. User adds/edit College Website url
* (Then use 5-6-7-8 steps from Flow1)
> Mockup: 14.Education - add College - Foreign
*Flow4: User on the add Foreign College view and clicks Domestic radio button - the Domestic default should be displayed*
*Precondition:* “Foreign” radio button is selected.
# User selects the “Domestic” radio button.
# App.: shows the default fields for the “Domestic” as when user opens window.