User Alice - lkacoy/webdev-cs5610-project GitHub Wiki
Alice is a BlogFollower. This means that she can view and search for blog posts. She can also comment on blog posts and edit or delete her comments. Alice, like an anonymous user, can also search and view Tumblr posts.
Alice can share her favorite blog posts. If she is on a single post view, she can see a blue share button next to the published date towards the top of the screen. If she wants to view a list of any posts that she has shared, she must go her Profile screen (/profile) and click the link that says "View Shared Posts". This will route to the '/shares/' screen and display all of the posts that Alice has shared in the past. When clicking this page, Alice will see that she has shared one post, written by Bob titled "My first Post".
Alice can also search for blog posts. Go to the project home page (/home). Click the "Search for Posts" button. Alice can search for any criteria. For this search, select "Sports" for the Topic Search. Click "Search". This will display one result, written by Charlie. Select Charlie's post by clicking on the post name. This will navigate to the individual blog post. As mentioned above, if Alice clicks on the blue share button next to "Number of Shares", she will be able to view this post later in the "View My Shares" link on the Profile page.
Alice will be able to see all of the comments written on this blog post. For example, she currently has one written on this post by Charlie titled "NFL Preseason is here!" Next to her name on the comment row, she will see a gray pencil (edit button) and a trash can (delete button). Clicking the delete button will allow Alice to delete her comment. Clicking the gray pencil will make Alice's comment editable. Alice can make her updates and hit the save button next to the editable box. This will reload the page and her updated comment will display.
Alice can also add a new comment by writing her desired comment in the textarea underneath the post. For example, write "When will you share your updated analysis?". If you click the red no symbol underneath the textarea, the comment box will clear. However, if you click the green plus sign button, the comment will be added to the database and the page will be reloaded. Upon reload, Alice's comment will appear in the comment table below the textarea.