From cabec827cefb0741bcc3d11ae2ac6e221af0d269 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Fri, 5 Jun 2015 03:04:50 -0700 Subject: [PATCH] Fixed F6 and F5 --- DesignUseCases.tex | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/DesignUseCases.tex b/DesignUseCases.tex index 1ed7b8a..b4fafb4 100644 --- a/DesignUseCases.tex +++ b/DesignUseCases.tex @@ -1143,14 +1143,17 @@ Login, {[}A3{]} Add a Class, {[}F1{]} Push Flashcard} \item {The User shall highlight the words that he wishes to blank out.} \item + {The frontend shall enclose the selected text in \textless{}b\textgreater{} tags to alter its appearance.} +\item {The User shall click the 'Contribute' button.} \item + {The frontend shall convert the blanked portion of the text into a list of offsets to be + sent to the backend in FeedController.js.} +\item {The backend shall mark those words by updating the field mask for that userflashcard object in views.py in function create. } \item - {The backend shall save those in models.py.} -\item - {The frontend shall change the color of the text that was blanked out in flashcard.html.} + {The backend shall save the new mask in models.py.} \end{enumerate} {Alternative Workflows:} @@ -1162,13 +1165,15 @@ Login, {[}A3{]} Add a Class, {[}F1{]} Push Flashcard} \item {The User shall highlight selection text and click either ctrl-b or 'Blank Selected Text'.} \item + {The frontend shall enclose the selected text in \textless{}b\textgreater{} tags to alter its appearance.} +\item + {The frontend shall convert the blanked portion of the text into a list of offsets to be + sent to the backend in CardGridController.js.} +\item {The backend shall mark those words by updating the field mask for that userflashcard object in views.py in function create. } \item {The backend shall save those in models.py.} -\item - {The frontend shall change the color of the text that was blanked out in flashcard.html.} - \end{enumerate} \end{description} {} -- 1.9.1