Commit graph

2813 commits

Author SHA1 Message Date
Daniel D Orlando
bd94c4233d Playwright setup 2023-04-02 11:07:48 -07:00
Daniel Avila
eef2303c8e Merge branch 'main' into feat-endpoint-style-structure 2023-04-02 12:10:14 -04:00
Danny Avila
6f30b6ec9d Merge pull request #147 from danny-avila/lift-api
chore(api): update "@waylaidwanderer/chatgpt-api" dependency to versi…
2023-04-02 12:08:33 -04:00
Daniel Avila
709dbbbc4b chore(api): update "@waylaidwanderer/chatgpt-api" dependency to version 1.33.2 2023-04-02 12:07:59 -04:00
Daniel Avila
77b46cc1a7 refactor(ModelDropDown.jsx): remove commented out code and simplify model display 2023-04-02 11:37:10 -04:00
Danny Avila
f069d6b621 Update README.md 2023-04-02 08:27:38 -04:00
Daniel Avila
f187da3afa reset package-lock 2023-04-02 00:03:54 -04:00
Daniel Avila
0564e3ed93 Merge branch 'main' into feat-endpoint-style-structure 2023-04-02 00:03:13 -04:00
Danny Avila
6cad5d5b50 Merge pull request #145 from danny-avila/fix-docker
fix docker issues with vite
2023-04-02 00:01:33 -04:00
Daniel Avila
8bc4d5e3fd refactor(Dockerfile): change COPY command to copy client side code from /client/dist instead of /client/public
refactor(Dockerfile): change port number from 3080 to 80
refactor(Dockerfile): remove unnecessary EXPOSE command
refactor(package.json): remove devDependencies for Vite and React plugin
2023-04-02 00:00:49 -04:00
Daniel Avila
b14726b2dd fix docker issues with vite 2023-04-01 23:59:16 -04:00
Daniel Avila
3121a3a6ba fix: add brackets to main property for dialogtemplate 2023-04-01 19:42:09 -04:00
Daniel Avila
8fa20d9356 Merge branch 'main' into feat-endpoint-style-structure 2023-04-01 19:41:36 -04:00
Daniel Avila
48b901fdfe Merge branch 'master' of https://github.com/danny-avila/chatgpt-clone into search 2023-04-01 19:13:54 -04:00
Danny Avila
c65a3b69ff Merge pull request #143 from danny-avila/DanO/use-vite-instead-of-webpack
feat: Use VITE in place of Webpack
2023-04-01 19:03:13 -04:00
Wentao Lyu
2cce2e30ba fix: change endpoint should not skip when endpoint same 2023-04-02 04:48:33 +08:00
Wentao Lyu
ad5fbc5fb1 merge Daniel Avila's commit
feat(ModelDropDown.jsx): add optional props to customize component appearance and behavior

feat(client): add ModelDropDown component to OpenAIOptions component
2023-04-02 04:40:13 +08:00
Daniel D Orlando
eb2d9bac33 refactor: have build served from dist folder 2023-04-01 13:28:37 -07:00
Wentao Lyu
45e17da241 feat: add preset and edit preset. 2023-04-02 04:15:07 +08:00
Wentao Lyu
80ef5008dd feat: add preset in server 2023-04-02 04:14:42 +08:00
Daniel D Orlando
6498ab79a4 build: install and configure Vite, move index.html 2023-04-01 12:58:49 -07:00
Daniel D Orlando
78dabe55ae refactor: rename tailwind config 2023-04-01 12:57:39 -07:00
Daniel D Orlando
64fc2e84f2 refactor: rename and fix postcss.config 2023-04-01 12:57:17 -07:00
Daniel D Orlando
ff757f27cf fix: fix files to adhere to standard conventions 2023-04-01 12:56:32 -07:00
Daniel Avila
2157eb8f30 feat(ModelDropDown.jsx): add optional props to customize component appearance and behavior
feat(client): add ModelDropDown component to OpenAIOptions component
2023-04-01 15:29:38 -04:00
Daniel Avila
7487b59de7 Merge branch 'feat-endpoint-style-structure' of https://github.com/danny-avila/chatgpt-clone into feat-endpoint-style-structure 2023-04-01 14:27:40 -04:00
Daniel Avila
efe55d8842 style(ui): replace SaveIcon with Save from lucide-react in EndpointOptionsPopover component 2023-04-01 14:27:34 -04:00
Wentao Lyu
d76efa7874 code cleanup 2023-04-02 00:57:27 +08:00
Daniel Avila
c5805d710b Merge branch 'feat-endpoint-style-structure' of https://github.com/danny-avila/chatgpt-clone into feat-endpoint-style-structure 2023-04-01 12:49:42 -04:00
Daniel Avila
f5ffa81455 complete: modeldropdown 2023-04-01 12:49:20 -04:00
Wentao Lyu
4d7fa26e6c feat: move EndpointOptionsPopover as a common component 2023-04-02 00:29:53 +08:00
Wentao Lyu
099210c10e feat: add default text.
fix: slider should set a number
2023-04-01 23:45:19 +08:00
Wentao Lyu
46e3ef4049 feat: endpoint setting mobile style.
feat: save and endpoint option works!
2023-04-01 23:27:44 +08:00
Wentao Lyu
edaf7c3ad1 feat: advanced style for openAI endpoint 2023-04-01 14:33:26 +08:00
Wentao Lyu
60be4f12b7 feat: return endpoint config from server 2023-04-01 14:33:07 +08:00
Daniel Avila
b687ab30ed style(OpenAIOptions): add dark mode support to Settings2 icon
feat(OpenAIOptions): pass isOpen prop to Settings component to toggle visibility
2023-03-31 21:51:06 -04:00
Daniel Avila
467e24c9ed style(Input/OpenAIOptions): comment out unused code and add gray color to settings icon 2023-03-31 21:48:27 -04:00
Daniel Avila
9098362377 style(Settings.jsx): remove unnecessary line break
style(Settings.jsx): add text-sm class to Label components
style(Settings.jsx): add flex, h-10, max-h-10, w-full, resize-none, px-3, py-2, focus:ring-0, focus:ring-offset-0, focus:ring-opacity-0, focus:outline-none classes to Input component
2023-03-31 21:45:29 -04:00
Daniel Avila
064dfb5336 fix(Settings.jsx): change min value of Slider component to -2 to allow negative values for presP variable 2023-03-31 21:11:43 -04:00
Daniel Avila
404566c1fb update more button and misc. styling 2023-03-31 18:38:58 -04:00
Daniel Avila
92dbdcaaa2 refactor(OptionHover.jsx): simplify types object by removing unnecessary nesting and description keys 2023-03-31 17:35:30 -04:00
Danny Avila
97e3ff6b6f reset package-lock 2023-03-31 16:19:48 -04:00
Danny Avila
b5541903e4 merge latest 2023-03-31 16:09:45 -04:00
Danny Avila
580d82ffe8 basic settings done for openAI 2023-03-31 16:08:52 -04:00
Wentao Lyu
5cb59885ec fix : endpoint option should hide on exist conversation 2023-04-01 03:02:16 +08:00
Wentao Lyu
ec47879edc clean: parentMassageId is no more needed in conversation. 2023-04-01 02:15:09 +08:00
Wentao Lyu
b67af67433 feat: support copy to clipboard
feat: move regenerate to all messages
feat: move stop generate to replace submit button
feat: make options' position more clear
2023-04-01 02:12:15 +08:00
Danny Avila
e8b2c2059d feat: select options 2023-03-31 13:12:06 -04:00
Wentao Lyu
bb1f8d731b feat: select model
feat: force to be advanced mode
2023-04-01 00:38:05 +08:00
Wentao Lyu
059006382d feat: add animation 2023-04-01 00:09:49 +08:00