Commit graph

1410 commits

Author SHA1 Message Date
Daniel D Orlando
39f53e6ddf add QueryClientProvider to main 2023-04-06 14:56:00 -07:00
Daniel D Orlando
8c392ac05e build: add react query 2023-04-06 14:56:00 -07:00
Daniel D Orlando
9dae1ade60 turn off no-debugger in eslintrc for debugginer purposes 2023-04-06 14:55:26 -07:00
Daniel D Orlando
ccc2f392e2 feat: add conversation query to nav 2023-04-06 14:55:26 -07:00
Daniel D Orlando
2048e34311 feat: add new data services to App.jsx 2023-04-06 14:55:26 -07:00
Daniel D Orlando
2589754171 feat: add data-provider 2023-04-06 14:54:37 -07:00
Daniel Avila
e98ce09d6b ci(playwright.yml): add Playwright tests workflow
fix(Landing.jsx): add id attribute to landing page title
test(landing.spec.js): update landing page title and h1 text content assertions
2023-04-06 17:33:02 -04:00
Danny Avila
21920dd864 Merge pull request #155 from danny-avila/feat-export-convo
Feature support export conversation
2023-04-06 17:11:59 -04:00
Daniel Avila
7d45d229af refactor(PresetItem.jsx): swap order of the edit and delete preset buttons 2023-04-06 17:07:44 -04:00
Daniel Avila
e0b0b68346 feat(Conversation.jsx): set document title when conversation is switched 2023-04-06 16:52:05 -04:00
Danny Avila
31cef16cc3 fix: fileName formatting fixes 2023-04-06 16:18:36 -04:00
Danny Avila
4245b43140 fix: used forked repo of use-react-screenshot for dep updates 2023-04-06 16:00:05 -04:00
Wentao Lyu
5664a0c2a5 fix: remove blank in screenshot 2023-04-07 02:00:51 +08:00
Danny Avila
e077f2b73d refactor(askChatGPTBrowser.js): remove unused titleConvo import
style(Message.jsx, style.css): adjust margins and paddings to improve readability
2023-04-06 13:53:19 -04:00
Wentao Lyu
6e8a0a2f94 fix: didnt use preset from a exist convo 2023-04-07 01:49:28 +08:00
Wentao Lyu
96914387a6 feat: export to screenshot 2023-04-07 00:05:07 +08:00
Wentao Lyu
6f0b559927 feat: export conversation: csv, json, txt, markdown 2023-04-07 00:05:07 +08:00
Wentao Lyu
3b94a98719 fix: use new conversation Id 2023-04-07 00:05:07 +08:00
Danny Avila
97e39b8203 Merge branch 'main' into feat-endpoint-style-structure 2023-04-05 14:06:37 -04:00
Danny Avila
60f51dfeeb fix: remove messageHeader click when endpoint is browser 2023-04-05 14:05:54 -04:00
Danny Avila
d4cd9411c0 feat: add delete for presets in menu
[200~refactor(presets.js): remove unused getPreset function
refactor(presets.js): use arrow function syntax for map callback
refactor(presets.js): add console.log for debugging purposes
refactor(presets.js): simplify map callback syntax
refactor(presets.js): remove commented out code
refactor(FileUpload.jsx): remove commented out code
refactor(NewConversationMenu.jsx): rename data parameter to res for
clarity
refactor(NewConversationMenu.jsx): rename clearPresetsTrigger to
deletePresetsTrigger for clarity
refactor(NewConversationMenu.jsx): add onDeletePreset prop to
PresetItems component
refactor(PresetItem.jsx): add TrashIcon component and onDeletePreset
prop
refactor(PresetItems.jsx): add onDeletePreset prop to PresetItem
component
2023-04-05 13:21:29 -04:00
Danny Avila
e1c731299c fix(ui): change SelectDropdown to SelectDropDown in multiple files 2023-04-05 12:00:52 -04:00
Danny Avila
214067cfcb feat(client): add doubleClickHandler prop to Slider component to reset to default
feat(client): add doubleClickHandler to temperature, topP, freqP, and presP sliders in OpenAI Settings component
2023-04-05 11:28:20 -04:00
Danny Avila
7d3df376ef style(Settings.jsx): add openDelay prop for faster HoverCard views 2023-04-05 10:29:06 -04:00
Danny Avila
55e949578f style(MessageHeader.jsx): add hover opacity to the background color of the message header 2023-04-05 10:03:52 -04:00
Danny Avila
b730d631af feat(client): add rc-input-number package to dependencies
feat(client): add classnames package to dependencies
2023-04-05 09:41:46 -04:00
Wentao Lyu
03cade8bd5 fix: input style
fix: use ChatGptBrowser
2023-04-05 21:21:31 +08:00
Wentao Lyu
22b9524ad3 feat: update env example.
feat: support OPENAI_REVERSE_PROXY
feat: support set availModels in env file

fix: chatgpt Browser send logic refactor.

fix: title wrong usage of responseMessage
BREAKING: some env paramaters has been changed!
2023-04-05 21:21:02 +08:00
Wentao Lyu
a5202f84cc fix: force reset to default if 0 or false 2023-04-05 17:25:35 +08:00
Wentao Lyu
4b373ebc0e feat: range number input in options. 2023-04-05 17:14:05 +08:00
Wentao Lyu
0bc2db08c7 style: options in mobile 2023-04-05 16:27:11 +08:00
Wentao Lyu
a641a0e373 fix: dont clear the input message if conversationId changed. 2023-04-05 16:16:26 +08:00
Wentao Lyu
6abe34ee3b fix: validate the import preset 2023-04-05 16:16:11 +08:00
Wentao Lyu
8c2d577e60 feat: remove customGpts 2023-04-05 16:15:46 +08:00
Daniel Avila
5aa6b516ed feat: Import Presets from NewConversationMenu
feat(FileUpload.jsx): add support for importing JSON files and fetching presets after import
feat(NewConversationMenu.jsx): add FileUpload component to select and import JSON files
feat(fetchers.js): add handleFileSelected function to handle importing JSON files and uploading presets to the server
2023-04-04 23:18:58 -04:00
Wentao Lyu
56e02f4968 change Switch to simple mode to close button 2023-04-05 03:58:22 +08:00
Wentao Lyu
46fba87f9a feat: add confirm of clear all presets. 2023-04-05 03:50:06 +08:00
Wentao Lyu
ee10e0e43e feat: use default preset to create new conversation. 2023-04-05 03:49:54 +08:00
Wentao Lyu
579b53de29 feat: style match 2023-04-05 03:07:46 +08:00
Wentao Lyu
9f1ded7f75 feat: add jailbreak option for bingai
fix some bugs.
2023-04-05 02:46:22 +08:00
Wentao Lyu
efb440128a code clean. 2023-04-05 02:30:25 +08:00
Wentao Lyu
010d900c90 fix: use universal setToneStyle 2023-04-05 02:30:14 +08:00
Wentao Lyu
0c4b754fba fix: to set default value when change endpoint of preset 2023-04-05 02:29:43 +08:00
Danny Avila
0ec68bf5a8 Update defaultSystemMessage.md 2023-04-04 13:35:34 -04:00
Danny Avila
82b4401e49 Update defaultSystemMessage.md 2023-04-04 13:35:10 -04:00
Danny Avila
99d238b0de Update defaultSystemMessage.md 2023-04-04 13:30:24 -04:00
Danny Avila
617aa6f499 Update defaultSystemMessage.md 2023-04-04 13:30:04 -04:00
Danny Avila
f922a1d102 Merge branch 'feat-endpoint-style-structure' of https://github.com/danny-avila/chatgpt-clone into feat-endpoint-style-structure 2023-04-04 12:53:59 -04:00
Danny Avila
bb75b6df3b feat(bingai.js): add context and systemMessage parameters to askBing function
feat(conversationPreset.js): add context and systemMessage fields to conversation preset schema
feat(askBingAI.js): pass context and systemMessage parameters to ask function
feat(Settings.jsx): add toneStyle prop to BingAISettings component
feat(BingAIOptions/index.jsx): add useEffect to check if advanced mode is needed
feat(cleanupPreset.js): add context and systemMessage fields to cleaned up preset object
feat(getDefaultConversation.js): add context and systemMessage fields to default conversation object
feat(handleSubmit.js): add context and systemMessage fields to message object
2023-04-04 12:53:41 -04:00
Danny Avila
4b04959290 Update defaultSystemMessage.md 2023-04-04 11:22:23 -04:00