neuralmesh / apimesh

Serves as the template to enable llms in any gihub project
GNU General Public License v3.0
0 stars 2 forks source link

let me edit existing comments #6

Open m-c-frank opened 9 months ago

m-c-frank commented 9 months ago

use the json api to get all comments and override the comment history of issues

or perhaps write a simple version control system to do that straight in markdown files?

m-c-frank commented 9 months ago
  1. Direct editing: In this method, you directly edit the existing comments without involving any external tools or processes. Here are the steps: a. Open the comment you want to edit. b. Make the necessary changes to the comment text. c. Save the edited comment.

    Efficiency: This method is the most straightforward and efficient as it requires the fewest steps.

  2. Track changes: This method involves using a version control system or a word processing software feature, like "Track Changes," to edit the comments. Here are the steps: a. Enable the track changes feature or commit your changes to a version control system. b. Edit the comment and save the changes. c. Commit or accept the changes.

    Efficiency: This method offers efficiency by allowing you to maintain a record of the changes made to the comment.

  3. Comment cloning: This method involves cloning the existing comment, making changes to the cloned copy, and replacing the original comment with the edited one. Here are the steps: a. Clone the comment you want to edit. b. Edit the cloned comment with the desired changes. c. Replace the original comment with the edited version.

    Efficiency: This approach ensures the integrity of the original comment and allows easy rollback if necessary.

  4. API integration: This method involves using the JSON API to retrieve and update the comments programmatically. Here are the steps: a. Use the JSON API to retrieve the existing comment. b. Update the extracted comment with the desired changes. c. Use the JSON API again to replace the original comment with the edited version.

    Efficiency: This method allows for efficient bulk editing of multiple comments simultaneously by leveraging programmable interfaces.

  5. Text file editing: This method eliminates the need for an external system by directly editing the comments stored in markdown files. Here are the steps: a. Locate the markdown file containing the comment you want to edit. b. Navigate to the relevant section and make the desired changes. c. Save the changes to the markdown file.

    Efficiency: This approach eliminates dependencies on additional tools and provides a straightforward way to edit comments stored in text files.