From 4d2ee9e3e9b51725ebf318e70eec0217bb892db3 Mon Sep 17 00:00:00 2001 From: Chung Kang Wang Date: Sat, 9 May 2015 20:40:45 -0400 Subject: [PATCH] A3 change. ( not finished ) --- DesignUseCases.tex | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/DesignUseCases.tex b/DesignUseCases.tex index 590b40f..4842d45 100644 --- a/DesignUseCases.tex +++ b/DesignUseCases.tex @@ -224,10 +224,7 @@ Login} \item {The user has created an account.} \item - {The user is logged in to his/her account} -\item - {The user has been whitelisted by the instructor of the class, if - required.} + {The user is logged in to their account and is at root view} \end{itemize} \item[Post-conditions] @@ -242,19 +239,20 @@ Login} in the same class.} \end{itemize} -\item[Trigger]{The user clicks an ``Add Class'' button to add a class to -his/her list of ``Enrolled Classes''} +\item[Trigger]{The user wants to add a class.} \item[Workflow] \begin{enumerate} \itemsep1pt\parskip0pt\parsep0pt \item - {The client shall show a dialog to search for classes.} + {The user shall click add a class on the sidebar.} +\item + {The client shall bring the user to a AddClassView.} \item - {The user begins to type their class name or number} + {The user begins to type their class name or number.} \item - {The text box will show suggestions as a user types} + {The ShowSuggestion shall show suggestions as a user types.} \end{enumerate} \begin{itemize} @@ -268,22 +266,26 @@ his/her list of ``Enrolled Classes''} \setcounter{enumi}{3} \itemsep1pt\parskip0pt\parsep0pt \item - {The user shall select a class by clicking an ``Add Class'' button - associated with a specific class} + {The user shall select a class by clicking on ``Add Class''.} \item {The client shall submit a POST request to /api/users/me/sections with - the course ID that they would like to add. } + the course ID that the User added. } \item {The server shall check if there is a whitelist for the class that the - user is trying to add} + user is trying to add.} \item - {If there is a whitelist, the server shall check if the user is on the - whitelist} + {The server shall ensure that the user is whitelisted.} \item - {If the class does not have a whitelist or if the user is in the - whitelist for that class, the system shall add the section to the - user's list of classes. } + {The server shall link the user to the section.} \end{enumerate} + +\item[Alternate Workflow: User is not whitelisted.] +\begin{enumerate} +\itemsep1pt\parskip0pt\parsep0pt +\item + {The server shall . } + +\end(enumerate) \end{description} {} @@ -1996,4 +1998,4 @@ settings} {System shall save notification settings to the user's attributes.} \end{enumerate} \end{description} -\end{document} \ No newline at end of file +\end{document} -- 1.9.1