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 Commenting on Articles (Seed Function) #170

Open
5 tasks
prasenjeet-symon opened this issue Oct 12, 2023 · 6 comments
Open
5 tasks

Implement Commenting on Articles (Seed Function) #170

prasenjeet-symon opened this issue Oct 12, 2023 · 6 comments
Labels
EddieHub:good-first-issue enhancement New feature or request hacktoberfest help wanted Extra attention is needed server related to server

Comments

@prasenjeet-symon
Copy link
Owner

Title: Implement Commenting on Articles (Seed Function)

Description:
This GitHub issue is aimed at enhancing the commenting feature for articles through a seed function. Users will be able to comment on articles, improving the interactivity and user engagement in a test environment. The task involves creating and saving a specified number of fake comments for a given article.

Tasks:

  1. Data Retrieval:

    • Retrieve the user's email for identification as the commenter.
    • Acquire the unique identifier of the target article.
  2. Comment Generation:

    • Develop a seed function named generateFakeComments in the seeder/utils.ts file to create a random number of comments within the range [min, max].
    • Ensure that the number of generated comments, denoted as 'n,' adheres to the positive integer condition.
  3. Parallel Comment Saving:

    • Utilize the Promise.all() method to save the generated comments in parallel.

Acceptance Criteria:

  • Users can seed comments on articles in a testing environment, improving the testing process.
  • A random number of comments, within the specified range, is generated and saved for the given article.
  • The implementation focuses on efficiency and scalability by saving comments in parallel.

Additional Information:

  • The seed function aims to facilitate testing and development by populating articles with fake comments.
  • Generating and saving comments in parallel enhances the efficiency of this seed function.
  • Rigorous testing is essential to ensure the correctness of comment generation and saving in the seed environment.
@mixamum
Copy link
Contributor

mixamum commented Oct 17, 2023

I will work on this also since it relates to #173

@prasenjeet-symon
Copy link
Owner Author

@mixamum I am reaching out to inquire about the current status of the issue you are addressing. Could you please provide an update on your progress and, if feasible, an estimated timeline for resolution?

Given the urgency of the matter, it is crucial for us to ensure a swift resolution. If, for any reason, completion within the next two days seems challenging, please inform me promptly. In such a scenario, we may need to reassign the task to ensure timely resolution.

Your cooperation is highly valued, and I appreciate your attention to this matter.

@adityaraute
Copy link

Is this really a good-first-issue?

@prasenjeet-symon
Copy link
Owner Author

Is this really a good-first-issue?

What do you think ?

@adityaraute
Copy link

I think this is more a complex than someone looking for a good first issue.

@prasenjeet-symon
Copy link
Owner Author

I think this is more a complex than someone looking for a good first issue.

Okay , i will remove it from GFI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EddieHub:good-first-issue enhancement New feature or request hacktoberfest help wanted Extra attention is needed server related to server
Projects
None yet
Development

No branches or pull requests

3 participants