User Charlie - lkacoy/webdev-cs5610-project GitHub Wiki

Charlie is a BlogWriter. This means that he can write, edit, view, and delete posts. He can also write, edit, view, and delete comments. When Charlie logs in, he is redirected to the Profile page (/profile).

On the Profile page, Charlie can see 2 additional links. The first one, 'Create a Post', lets Charlie create a post. Charlie will have to enter a title, post content, and select one of the available topics. He has many options to save the post. He can save a draft, which will let him still access the post on another screen, but it will not publish the post to be viewable by others. He can also publish the post, which means other users can view and comment on his post. Charlie also has the option to discard his changes, which means the post will not be saved and he will be redirected to the home screen.

The other link, 'View My Posts', Charlie has on his profile page is the ability to see all of the posts that he has created. When he clicks this link he can see his post history and has the option to click on an individual post and see it and the comments.

When Charlie clicks on a single post that he is the author of, he will have edit and delete post buttons available to him. The edit button will open up a new screen that will allow him to edit his post and save the new changes. Saving the new changes will immediately update it for all other users to see. Charlie also has the ability to delete his post if he does not like it and he will not be able to recover it if he completes this action.

Charlie also has the ability to write comments on any post. The functionality for adding, editing, and deleting comments is the same as a BlogFollower.

Some Use Cases

When you look at the project home page (/home), you will see that Charlie is listed as a Blog Writer in the left section. If you log in as Charlie and view his posts, you will see that he wrote a post titled "NFL preseason is here!" This post can also be found by searching for posts. Go to the home page and click the "Search for Posts" button. From there, you can search for of the following criteria:

  • Topic Search: Sports
  • Name of Post: NFL preseason is here! (note: this is field is case sensitive and must have the full string)
  • Blogger: charlie (also case sensitive)