diff --git a/DesignUseCases.tex b/DesignUseCases.tex index 0dc9341..8c70fd6 100644 --- a/DesignUseCases.tex +++ b/DesignUseCases.tex @@ -283,8 +283,19 @@ Login} \setcounter{enumi}{7} \itemsep1pt\parskip0pt\parsep0pt \item - {The server shall . } + {The server shall deny user access to class.} +\item + {The client shall display failure message to user.} +\end{enumerate} +\item[Alternate Workflow: There is no whitelist.] +\begin{enumerate} +\setcounter{enumi}{6} +\itemsep1pt\parskip0pt\parsep0pt +\item + {The server shall link the user to the section.} +\item + {The client shall display success message to user.} \end{enumerate} \end{description} {} @@ -1823,8 +1834,6 @@ deck from the appropriate class.} {User is logged in} \item {User has added cards to his/her deck} -\item - {User at Deck View} \end{itemize} \item[Post-conditions]{} @@ -1841,30 +1850,41 @@ deck from the appropriate class.} {User shall be presented with text boxes to fill in} \end{itemize} -\item[Trigger]{User has clicked on the button to ``Study My Deck''} +\item[Trigger]{User wishes to study flashcards compiled for a specific class.} \item[Workflow] \begin{enumerate} \itemsep1pt\parskip0pt\parsep0pt \item - {The Client displays the Deck View to the User.} + {The User shall view a class.} +\item + {The User shall click on the button ``Study Deck''.} +\item + {The Client shall send POST request to the Server for a flashcard (ordering + based on a hidden algorithm).} +\item + {The Client shall display the Study View to the User with blanks to fill in.} \item - {The User clicks on the button ``Study Deck''.} + {The User shall fill in the blanks.} \item - {The Client sends request to the Server for flashcards and ordering - based on a hidden algorithm.} + {The Client shall send the User's response back to the Server in POST.} \item - {The Client displays the Study View to the User which shows flashcards - based on the order.} + {The Server shall inform the Client of how correct the User's repsonse was.} \item - {The User has the ability to fill in the blanks and study the Deck's - Flashcards.} + {The Client shall display said results to User.} \item - {The Client sends the User's response back to the Server.} + {The Client shall produce two buttons for the User, indicating whether or + not the card was answered correctly based on the provided results.} +\item + {The User shall select their desired response.} +\item + {The Client shall relay response to server in a POST request.} \item {The Server saves the response and updates statistics about the flashcard.} +\item + {Loop back to 3.} \end{enumerate} \end{description} \newpage @@ -1931,8 +1951,8 @@ to be reviewed} \item {The Client receives a ``Review Flashcard'' notification.} \item - {The Client displays a notification that allows the User to study the - specified flashcards in the queue.} + {The Client displays a notification n Sidebar that allows the + User to study the specified flashcards in the queue.} \end{enumerate} \end{description} \newpage