Commit 4d2ee9e3e9b51725ebf318e70eec0217bb892db3
1 parent
70b903c088
Exists in
master
A3 change. ( not finished )
Showing 1 changed file with 21 additions and 19 deletions Side-by-side Diff
DesignUseCases.tex
View file @
4d2ee9e
... | ... | @@ -224,10 +224,7 @@ |
224 | 224 | \item |
225 | 225 | {The user has created an account.} |
226 | 226 | \item |
227 | - {The user is logged in to his/her account} | |
228 | -\item | |
229 | - {The user has been whitelisted by the instructor of the class, if | |
230 | - required.} | |
227 | + {The user is logged in to their account and is at root view} | |
231 | 228 | \end{itemize} |
232 | 229 | |
233 | 230 | \item[Post-conditions] |
234 | 231 | |
235 | 232 | |
236 | 233 | |
... | ... | @@ -242,19 +239,20 @@ |
242 | 239 | in the same class.} |
243 | 240 | \end{itemize} |
244 | 241 | |
245 | -\item[Trigger]{The user clicks an ``Add Class'' button to add a class to | |
246 | -his/her list of ``Enrolled Classes''} | |
242 | +\item[Trigger]{The user wants to add a class.} | |
247 | 243 | |
248 | 244 | \item[Workflow] |
249 | 245 | |
250 | 246 | \begin{enumerate} |
251 | 247 | \itemsep1pt\parskip0pt\parsep0pt |
252 | 248 | \item |
253 | - {The client shall show a dialog to search for classes.} | |
249 | + {The user shall click add a class on the sidebar.} | |
254 | 250 | \item |
255 | - {The user begins to type their class name or number} | |
251 | + {The client shall bring the user to a AddClassView.} | |
256 | 252 | \item |
257 | - {The text box will show suggestions as a user types} | |
253 | + {The user begins to type their class name or number.} | |
254 | +\item | |
255 | + {The ShowSuggestion shall show suggestions as a user types.} | |
258 | 256 | \end{enumerate} |
259 | 257 | |
260 | 258 | \begin{itemize} |
261 | 259 | |
262 | 260 | |
263 | 261 | |
264 | 262 | |
265 | 263 | |
... | ... | @@ -268,22 +266,26 @@ |
268 | 266 | \setcounter{enumi}{3} |
269 | 267 | \itemsep1pt\parskip0pt\parsep0pt |
270 | 268 | \item |
271 | - {The user shall select a class by clicking an ``Add Class'' button | |
272 | - associated with a specific class} | |
269 | + {The user shall select a class by clicking on ``Add Class''.} | |
273 | 270 | \item |
274 | 271 | {The client shall submit a POST request to /api/users/me/sections with |
275 | - the course ID that they would like to add. } | |
272 | + the course ID that the User added. } | |
276 | 273 | \item |
277 | 274 | {The server shall check if there is a whitelist for the class that the |
278 | - user is trying to add} | |
275 | + user is trying to add.} | |
279 | 276 | \item |
280 | - {If there is a whitelist, the server shall check if the user is on the | |
281 | - whitelist} | |
277 | + {The server shall ensure that the user is whitelisted.} | |
282 | 278 | \item |
283 | - {If the class does not have a whitelist or if the user is in the | |
284 | - whitelist for that class, the system shall add the section to the | |
285 | - user's list of classes. } | |
279 | + {The server shall link the user to the section.} | |
286 | 280 | \end{enumerate} |
281 | + | |
282 | +\item[Alternate Workflow: User is not whitelisted.] | |
283 | +\begin{enumerate} | |
284 | +\itemsep1pt\parskip0pt\parsep0pt | |
285 | +\item | |
286 | + {The server shall . } | |
287 | + | |
288 | +\end(enumerate) | |
287 | 289 | \end{description} |
288 | 290 | {} |
289 | 291 |