Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC: Dashboard - Student View #6

Open
dogezen opened this issue Oct 21, 2024 · 0 comments
Open

EPIC: Dashboard - Student View #6

dogezen opened this issue Oct 21, 2024 · 0 comments

Comments

@dogezen
Copy link

dogezen commented Oct 21, 2024

Posts Feed

When a user is logged in, they should be redirected to the dashboard which displays:

  • a feed with posts made by all users, sorted by most recent post
  • an input to create a new post
  • a search bar
  • a list of other users in the logged in users cohort

Each post in the post feed should be displayed as its own UI card containing:

  • The author’s first name and last name
  • The date & time of the post
  • A button with 3 dots the user can click (if it is their post), allowing them to delete or edit the post
  • The author’s initials in a coloured circle
  • The post content
  • A like button with a heart icon
  • A comment button with a speech bubble icon
  • The number of likes that the post has, or a message that tells the user they will be the first to like the post
  • A list of comments the post has
  • A comment input with the logged in users initials displayed in a coloured circle to the left side

Design

Creating Posts

The create post input opens a modal window with a text area and submit button, allowing the user to write a post. When the user clicks submit, if there is no text entered the user should see an error message. If there is text, the post should get created and added to the top of the list of displayed posts in post feed.

Design

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant