codereview.gpt icon indicating copy to clipboard operation
codereview.gpt copied to clipboard

[Feature] Enable modification of the prompt in the UI

Open ryan-at-kettle opened this issue 2 years ago • 2 comments

This is a development tool and should be written in a way that exposes all options to the user, rather than simplifying those options.

Allowing customization of the prompt and any logic associated with the prompt for each run would enable a greater depth of review:

  • Allows for additional contextual information to be provided on the codebase: language version, standards, etc
  • Allows for a faster feedback process with prompts, furthering the speed of the development of this tool
  • Allows requesting additional information with the review

ryan-at-kettle avatar Apr 03 '23 16:04 ryan-at-kettle

We're welcoming PRs! Looking forward to your contribution! :)

nickveenhof avatar Apr 04 '23 08:04 nickveenhof

I added a very similar functionality to summarize.site https://github.com/clmnin/summarize.site/pull/5 (which actually inspired me for doing this extension).

If you decide to build this, there's this https://developer.chrome.com/docs/extensions/mv3/options/

  "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  },

Or just ChatGPT it. Little known secret is that ChatGPT did all of the initial code for this extension 😅

krlvi avatar Apr 04 '23 15:04 krlvi