Twiller user stories
Anthony Bronca edited this page Jun 17, 2022
·
2 revisions
As an unauthorized user, I want to be able to sign up for Twiller via a signup form, so that I can access this website.
- User should fill out a form with email, Full name, desired username, and desired password.
- User should not be able to reuse emails or usernames.
- User may not leave any of these fields blank
- User name must be alphabetical characters and can contain some numeric characters. SPECIAL SYMBOLS (*,!,$,&, etc.) are not allowed.
- Home page contains the form to sign in, and a link leading to the create an account form
- Link on homepage that redirects user to form
- Form will validate email, username, and password before creation
- if Form is accepted, redirects them to main Twiller feed
- User is now able to sign in and view tweets/comments
As a logged-in user, I want to be able to make a tweet with text and optional image so I can share with family and friends.
- User sees a form at the top of the main twiller feed that allows them to type a tweet, select a file image to post and then press Tweet. Twiller feed shows the new tweet at the top of the feed
- User can not press the tweet button if tweet was not added to form. Error validation will also allow them if tweet is past 280 characters
- User sees a button at the bottom left called tweet that opens a modal for the tweet
As a logged-in user, I want to be able to add a comment to another user's tweet, or on your own tweet/s.
- All tweets have an 'tweet your reply' input field, wether it is on the main feed of all posts or on the individual post.
- if they are on the main feed, the comment button will open a modal that allows them to comment. Otherwise, if on the individual tweet they will see the form available.
- Comment doesn't allow empty comment fields, 'reply' comment button appears greyed out until a comment is added in input field.
- Body of answer must have a minimum of 1 characters and does not allow posting of comments over 140 characters.
- Comments will be NOT be shown under each tweet. User must click the post to see all comments.
As a user, I want to be able to see all the comments on a particular post so that I can see what others think.
- I am able to view comments on a post, including the username of the user that commented.
- I am able to see how many comments any given post has.
- I am able to edit the contents to a tweet I made.
- An 'Edit Post' button appears that reveals an input field to add/edit am existing tweet belonging to the current signed in user
As an authorized user I may want to delete tweets/comments/likes that I have already made. I can not delete those made by other users.
- I am able to delete a tweet I have made in the past.
- I receive a confirmation prompt before the delete is completed, in order to verify I am sure I want to delete the post.
- All likes and comments made by other uses will also be deleted once the main post is deleted.
- This process can not be undone
- I am able to delete a comment I have added to an existing post
- Deleting a comment will alter the total count of comments made on the post, but will not alter the original post's contents.
- This action can not be undone.
- Logged-in users will be able to add 1 'LIKE' by clicking on the not-filled-in-heart icon under to the pertaining post.
- Logged-in users will be able to remove a previously liked post by clicking on the filled-in-heart icon under to the pertaining post.
- Total Likes on posts are visible to all users
*** (Retweets on Tweet
- Logged-in users will be able to add 1 'Retweet' by clicking on the not-filled-in-arrows icon under to the pertaining post.
- Logged-in users will be able to remove a previously retweeted post by clicking on the filled-in-arrows icon under the pertaining post.
- Total retweets on posts are visible to all users
- Retweet posts the original post on the retweeter's feed, showing they retweeted it.
As a user, I want to be able to access user profiles, including my own, so I can see the posts they've made to the site.
- I am able to click on a user's username on any post or comment in order to access their profile page.
- I am able to view their posts and profile in separate route
- I am able to see a single user's profile pic, username, full-name, tweet count, follower count, following count, choose to follow the user(or access settings on my own profile), view the user bio, view all tweets made by the user.
- I am able to view all tweets on my main feed for users I follow
- I am able to click user profiles I don't follow so that I can see their tweets
- I am able to see how long ago the tweet was made.
- I am able to edit my own user profile details (bio, profile picture, full-name, link)
- I am able to delete a previous like by clicking on it again.
- A confirmation is not provided when I click it
- I am able to see the total likes on the post decrease
- I am not able to delete the likes other users have added
- I am able to delete my account.
- I receive a confirmation before this action is completed.
- Deleting my profile will delete all tweets I have made, all comments made/and on tweets, all likes made on all those tweets, and will remove my profile from the following/followers of others.