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

Implement a blog functionality for Users #2

Closed
kunal2812 opened this issue Oct 9, 2023 · 18 comments
Closed

Implement a blog functionality for Users #2

kunal2812 opened this issue Oct 9, 2023 · 18 comments
Labels
bonus bonus points hard level kunal2812 mentor

Comments

@kunal2812
Copy link
Collaborator

image

  1. (/blog)

image

  1. (/blog_single)

Currently the existing blog section in the website is static. Allow all users to create a blog ("Student"/"Mentor")
Enable registered users to create and publish educational blogs (similar to Codeforces)
Create a separate page accessible through the "Blog" section where all user-generated blogs are listed (Refer screenshot 1). Display blogs in a sorted order, with the most recent posts at the top.
When a user clicks on a blog entry in the list, it should open on a new page to display the full content of the blog post, including text and accompanying photos. Implement "Like" and "Dislike" buttons for each blog post, allowing users to express their opinion.
Include a comment section for each blog post, enabling users to engage in discussions and leave feedback.
(Will give bonus points for neat work)

A blog has an author, a heading, thumbnail, tags, description etc.
Please go through the existing static pages as mentioned in the screenshots to model the functionality.

Note:

  • Create a new branch for every task to isolate changes
  • Start working on the issue only when it is assigned to you
  • Submit the PR on time, no extra time will be allotted
  • Follow the existing theme of website
  • Don't request for the issue if it has locked label on it (will be unlocked after dependencies are fixed)
@eleensmathew
Copy link

Can I work on this?

@kunal2812 kunal2812 removed the locked locked label Oct 15, 2023
@kunal2812
Copy link
Collaborator Author

This is open now.

@eleensmathew
Copy link

Im getting this message Assignment Request for Issue #2 of Youdemy cannot be made by you currently.

@kunal2812
Copy link
Collaborator Author

Im getting this message Assignment Request for Issue #2 of Youdemy cannot be made by you currently.

@shank03

@eleensmathew
Copy link

Can this be assigned to me ? @kunal2812 @shank03

@kunal2812
Copy link
Collaborator Author

kunal2812 commented Oct 22, 2023

This is open now.

@eleensmathew
Copy link

im still getting this message Assignment Request for Issue #2 of Youdemy cannot be made by you currently.

@eleensmathew
Copy link

is this issue open?

@kunal2812
Copy link
Collaborator Author

im still getting this message Assignment Request for Issue #2 of Youdemy cannot be made by you currently.

Yes this is open. Reach out to Shashank on discord with a proper description of the problem you are facing.

@eleensmathew
Copy link

eleensmathew commented Oct 24, 2023 via email

@eleensmathew
Copy link

Should only the authors of the blog be able to edit the blog? should mentors be also able to delete blogs if they find it innapropriate? Also should no of pictures be definite or can they add as many as they like? Should the all blogs page have a search based on tags?

@kunal2812
Copy link
Collaborator Author

  1. Only authors can edit the blog.
  2. No only the blog creator should be given delete access.
  3. Currently keep only 1 picture for the blog.
  4. Don't add search functionality now. But keep the tags feature. Every blog should have some associated tags.

@eleensmathew
Copy link

in sites like leetcode the tags are predefined so should th etags here also be only available in the list? Or can users enter their own cutom tags? do these tags have their own custom color?

@kunal2812
Copy link
Collaborator Author

Allow custom tags for blogs. Limit no. of tags to 5 for one blog post.
Color for tags not required.

@eleensmathew
Copy link

image
i see over here in the comments that the picture of the user who has made the comment has been displayed. Does the user necessarily have to have an account in the website before commenting? if so then why has name and email been asked in comment form? if not then what should i do about the picture.
image
also in the baove image a short bio about about th euser and their picture has been dispalyed. Do you want me to make a userprofile model?

@kunal2812
Copy link
Collaborator Author

kunal2812 commented Oct 25, 2023

Remove the comment form and add neccessary fields (profile picture, bio etc.) to User model. Only registered users should be ablt to comment.

@eleensmathew
Copy link

hey is this fine for comments
image
or do i still need to display the profile picture and name here?

@kunal2812
Copy link
Collaborator Author

Looks okay. Add the time as well at which the comment was made.

@eleensmathew eleensmathew mentioned this issue Oct 26, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bonus bonus points hard level kunal2812 mentor
Projects
None yet
Development

No branches or pull requests

2 participants