hunkimForks / chatgpt-arxiv-extension

A browser extension that enhance search engines with ChatGPT

Home Page:https://chatgpt4google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Site prompt

hunkim opened this issue · comments

Now we can modify the default prompt.

image

I want to be able to set the prompt for each site.

For example, "arxiv":"prompt for arxiv"

In the panel, on the left side, we can define site name: 'default', 'new" and save prompt.

@pungrue26 Do you think you can take a look?

@hunkim Let me take this. @pungrue26 is my personal account but I found I lost my access to that account. :(

Okay, I finished getting myself familiarize with the chrome extension development and understanding the requirement of this issue.

There are a couple of ways to design the new feature.

  1. Listing each pair as a row in a table, like Chrome displays saved passwords. Because it's a row in a table, each prompt will be displayed in a single line input field.

Screen Shot 2023-02-10 at 10 50 14 AM

  1. Listing each pair as a card, displaying the full prompt for each site.

I think it makes more sense to pursue the second option with the following assumptions.

  • Most users will not need more than 5 pairs.
  • Prompts are usually 3-5 lines long, and very important information for the user.

Let me know if you have any feedback on this. I will proceed with the second option first.

@hunkim Finished the work and created a PR. Please have a look.