Commit 2ea9c20eb93e5a90e75c3fa2fbe1a855dceb8342
1 parent
2b15e202e2
Exists in
master
Edited 'Study Deck'
Showing 1 changed file with 35 additions and 15 deletions Side-by-side Diff
DesignUseCases.tex
View file @
2ea9c20
... | ... | @@ -283,8 +283,19 @@ |
283 | 283 | \setcounter{enumi}{7} |
284 | 284 | \itemsep1pt\parskip0pt\parsep0pt |
285 | 285 | \item |
286 | - {The server shall . } | |
286 | + {The server shall deny user access to class.} | |
287 | +\item | |
288 | + {The client shall display failure message to user.} | |
289 | +\end{enumerate} | |
287 | 290 | |
291 | +\item[Alternate Workflow: There is no whitelist.] | |
292 | +\begin{enumerate} | |
293 | +\setcounter{enumi}{6} | |
294 | +\itemsep1pt\parskip0pt\parsep0pt | |
295 | +\item | |
296 | + {The server shall link the user to the section.} | |
297 | +\item | |
298 | + {The client shall display success message to user.} | |
288 | 299 | \end{enumerate} |
289 | 300 | \end{description} |
290 | 301 | {} |
... | ... | @@ -1823,8 +1834,6 @@ |
1823 | 1834 | {User is logged in} |
1824 | 1835 | \item |
1825 | 1836 | {User has added cards to his/her deck} |
1826 | -\item | |
1827 | - {User at Deck View} | |
1828 | 1837 | \end{itemize} |
1829 | 1838 | |
1830 | 1839 | \item[Post-conditions]{} |
1831 | 1840 | |
1832 | 1841 | |
1833 | 1842 | |
1834 | 1843 | |
1835 | 1844 | |
1836 | 1845 | |
1837 | 1846 | |
1838 | 1847 | |
... | ... | @@ -1841,30 +1850,41 @@ |
1841 | 1850 | {User shall be presented with text boxes to fill in} |
1842 | 1851 | \end{itemize} |
1843 | 1852 | |
1844 | -\item[Trigger]{User has clicked on the button to ``Study My Deck''} | |
1853 | +\item[Trigger]{User wishes to study flashcards compiled for a specific class.} | |
1845 | 1854 | |
1846 | 1855 | \item[Workflow] |
1847 | 1856 | |
1848 | 1857 | \begin{enumerate} |
1849 | 1858 | \itemsep1pt\parskip0pt\parsep0pt |
1850 | 1859 | \item |
1851 | - {The Client displays the Deck View to the User.} | |
1860 | + {The User shall view a class.} | |
1852 | 1861 | \item |
1853 | - {The User clicks on the button ``Study Deck''.} | |
1862 | + {The User shall click on the button ``Study Deck''.} | |
1854 | 1863 | \item |
1855 | - {The Client sends request to the Server for flashcards and ordering | |
1856 | - based on a hidden algorithm.} | |
1864 | + {The Client shall send POST request to the Server for a flashcard (ordering | |
1865 | + based on a hidden algorithm).} | |
1857 | 1866 | \item |
1858 | - {The Client displays the Study View to the User which shows flashcards | |
1859 | - based on the order.} | |
1867 | + {The Client shall display the Study View to the User with blanks to fill in.} | |
1860 | 1868 | \item |
1861 | - {The User has the ability to fill in the blanks and study the Deck's | |
1862 | - Flashcards.} | |
1869 | + {The User shall fill in the blanks.} | |
1863 | 1870 | \item |
1864 | - {The Client sends the User's response back to the Server.} | |
1871 | + {The Client shall send the User's response back to the Server in POST.} | |
1865 | 1872 | \item |
1873 | + {The Server shall inform the Client of how correct the User's repsonse was.} | |
1874 | +\item | |
1875 | + {The Client shall display said results to User.} | |
1876 | +\item | |
1877 | + {The Client shall produce two buttons for the User, indicating whether or | |
1878 | + not the card was answered correctly based on the provided results.} | |
1879 | +\item | |
1880 | + {The User shall select their desired response.} | |
1881 | +\item | |
1882 | + {The Client shall relay response to server in a POST request.} | |
1883 | +\item | |
1866 | 1884 | {The Server saves the response and updates statistics about the |
1867 | 1885 | flashcard.} |
1886 | +\item | |
1887 | + {Loop back to 3.} | |
1868 | 1888 | \end{enumerate} |
1869 | 1889 | \end{description} |
1870 | 1890 | \newpage |
... | ... | @@ -1931,8 +1951,8 @@ |
1931 | 1951 | \item |
1932 | 1952 | {The Client receives a ``Review Flashcard'' notification.} |
1933 | 1953 | \item |
1934 | - {The Client displays a notification that allows the User to study the | |
1935 | - specified flashcards in the queue.} | |
1954 | + {The Client displays a notification n Sidebar that allows the | |
1955 | + User to study the specified flashcards in the queue.} | |
1936 | 1956 | \end{enumerate} |
1937 | 1957 | \end{description} |
1938 | 1958 | \newpage |