Skip to content

Conversation

@Avdhesh-Varshney
Copy link
Member

@Avdhesh-Varshney Avdhesh-Varshney commented Mar 15, 2025

Closes: #1123

Describe the add-ons or changes you've made 📃

⚡ Phase 1

  • Created a new route in frontend /editor/:project_id to trigger edited page
  • update the /create project route to handle editable functionality
  • update the editor page & publish form page to be editable content

⚡ Phase 2

  • Create notification schema
  • Setup get likes and likes status routes (/like and /like-status routes) and build an interactive like button UI
  • Create comments wrapper & UI to display all comments of project script blog

⚡ Phase 3

  • Design comments schema
  • Create /comment route to create comments in the db
  • Setup frontend to create comments to make user interactive comment section

⚡ Phase 4

  • Create /get-comments route to fetch all comments of respective projects and display them on comments wrapper
  • Create comments pagination to make UI interactive
  • Setup reply on comments and reply on replies (BUG: Some comments are not fetched because of incorrect logic)
  • Create /get-replies routes to fetch all replies from DB
  • Create show & hide buttons to make UI interactive
  • Create /delete-comment route to delete comment (CONDITION: Project owner can able to carry which comments are to be keep and Comments is also able to delete their comment from the project blog script)
  • User should be authorized while deleting the comments

⚡ Phase 5

  • Resolve BUG of pagination/load all comments
  • Update nested structure or logic of replies in frontend
  • Reflect all replies or comments immediately in frontend
  • Update the logic of /delete-comment backend functionality
  • Design the styling and code formatting of comments wrapper & it's sub-components

Screenshots 📸

image

Type of change ☑️

What sort of change have you made:

  • Bug
  • New feature

Note for reviewers

  • Required to remove un-necessary variables or functions/code part from comment wrapper & it's sub-components (CommentField, Comments, CommentCard files) - Completed in Fixes comment reply logic #1126

@Avdhesh-Varshney Avdhesh-Varshney added the enhancement New feature or request label Mar 15, 2025
@Avdhesh-Varshney Avdhesh-Varshney self-assigned this Mar 15, 2025
@vercel
Copy link

vercel bot commented Mar 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blog-script ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 18, 2025 6:13am

@github-actions
Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

Copy link
Member Author

@Avdhesh-Varshney Avdhesh-Varshney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the whole code in dev server
After merge will update the backend server to make this code functional

@Avdhesh-Varshney Avdhesh-Varshney merged commit 1e2b0e1 into main Mar 18, 2025
2 checks passed
@Avdhesh-Varshney Avdhesh-Varshney deleted the functional/project-page branch March 18, 2025 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup Project page Functional

2 participants