Commit Graph

282 Commits

Author SHA1 Message Date
Niek van der Maas 7718f9d37f Add sticking side menu 2023-03-17 14:37:28 +01:00
Niek van der Maas 181353b7af Make TS happy 2023-03-17 14:32:32 +01:00
Niek van der Maas b75ca46565 Delete accidentally committed file 2023-03-17 14:02:50 +01:00
Niek van der Maas 6750a93cdb Linting 2023-03-17 14:00:54 +01:00
Dan Brown ad8aa1bdf0
Added hash-based routing using svelte-spa-router 2023-03-16 15:57:24 +00:00
terryoy 1abadf70fd fix: local dev 2023-03-13 18:47:44 +08:00
Niek van der Maas a517ae588b Do not mangle email addresses 2023-03-13 11:42:22 +01:00
Niek van der Maas 93b997d620 Fix API keys URL 2023-03-13 11:39:02 +01:00
terryoy e04b703615 add: tauri init 2023-03-13 18:19:57 +08:00
Niek van der Maas 9e1de9865f Fix PurgeCSS style for copy code block 2023-03-13 09:36:21 +01:00
Niek van der Maas 6909b3afa7 Small fixes, make use of Bulma classes 2023-03-13 09:13:32 +01:00
Niek van der Maas 6da77ed236 Linting 2023-03-13 09:13:13 +01:00
littlemoonstones 257cddd769 make the copy function more svelte-like 2023-03-12 17:07:43 +08:00
littlemoonstones 9b68ec3f45 move to Code.svelte 2023-03-12 16:22:43 +08:00
Niek van der Maas 52593b4120 Merge branch 'features' of github.com:littlemoonstones/chatgpt-web into pr/littlemoonstones/35 2023-03-12 08:13:39 +01:00
Niek van der Maas b4ab40a869 Revert scrolling, fix linting 2023-03-12 08:10:58 +01:00
littlemoonstones 87a8fdc1d4 chat room is scrollable 2023-03-12 14:22:43 +08:00
littlemoonstones 66c0fe57df add copy function 2023-03-12 13:43:19 +08:00
Niek van der Maas a23d0a5f73 Add support for highlighting code, fixes #32 2023-03-10 11:17:01 +01:00
Niek van der Maas 4dd2a16d07 Fix sidebar active link highlight 2023-03-10 11:15:22 +01:00
Niek van der Maas 47019dafb2 Add support for dark mode, fixes #30 2023-03-09 09:46:11 +01:00
Niek van der Maas bab6028893 Strip whitespace 2023-03-08 13:59:20 +01:00
littlemoonstones 897d2a90be add a new function: export messages as markdown' 2023-03-08 11:12:06 +08:00
Niek van der Maas 6c71422bdc Small fixes for speech recognition 2023-03-07 16:48:20 +01:00
Niek van der Maas 988b08a93c Fix Ordered list indices alignment #20 2023-03-07 15:41:45 +01:00
Niek van der Maas a2c1b3160f Get rid of annoying TS warning 2023-03-07 15:38:04 +01:00
Niek van der Maas be8f54ebcc Add speech recognition + TTS support 2023-03-07 15:36:01 +01:00
Niek van der Maas ac9ca6e47e Add clear settings button 2023-03-06 20:47:50 +01:00
Niek van der Maas ce931c609a Properly parse errors 2023-03-06 20:46:05 +01:00
Niek van der Maas 117f6f2a39 Add chat settings 2023-03-06 20:39:14 +01:00
Niek van der Maas da7d5232cc Separate system from error messages 2023-03-06 19:28:06 +01:00
Niek van der Maas 97432612bb
Merge pull request #19 from Michael-Tanzer/delete-chats
added option to delete individual chat
2023-03-06 19:25:19 +01:00
Niek van der Maas c05fb7379d Add type for request too 2023-03-06 19:11:00 +01:00
Niek van der Maas 1ca762bcc0 Add better types for `responses` 2023-03-06 19:06:16 +01:00
Michael Tanzer cf15adad9d added option to delete individual chat 2023-03-06 17:58:27 +00:00
Niek van der Maas 840851a35b Skip system messages 2023-03-06 18:51:16 +01:00
Niek van der Maas 86bb7f1001 Add try/catch around `fetch()`, style system messages correctly 2023-03-06 18:48:13 +01:00
Niek van der Maas 3ff30b4ccb Save chat name after suggestion 2023-03-06 18:42:43 +01:00
Niek van der Maas d03f750b01 Better alignment on mobile 2023-03-06 18:21:08 +01:00
Niek van der Maas eddfd99636 Added chat name suggestion function 2023-03-06 16:46:45 +01:00
Niek van der Maas c1983d23d9 Reset line bar height also after clicking "Send" 2023-03-06 16:24:51 +01:00
Niek van der Maas 3d13f16b5c Make 90% instead of 70% 2023-03-06 16:20:31 +01:00
Michael Tanzer 63a64417f1 Merge branch 'main' into chat-like-conversation 2023-03-06 15:15:14 +00:00
Niek van der Maas d512aa83bc Allow passing in the API key as a query parameter 2023-03-06 16:14:22 +01:00
Michael Tanzer 9699d31b5f Merge branch 'main' into chat-like-conversation
# Conflicts:
#	src/lib/Chat.svelte
2023-03-06 15:14:19 +00:00
Michael Tanzer bf60472cdd Fixed left-align issue, made conversation look like a chat 2023-03-06 15:12:23 +00:00
Niek van der Maas ac786b3dc8 Better container size on both mobile and desktop 2023-03-06 16:11:16 +01:00
Niek van der Maas b7fa95b0f3 Trim empty lines 2023-03-06 16:04:42 +01:00
Niek van der Maas f2fd3664a4 Left-align user message if more than 1 line, fixes #15 2023-03-06 15:58:12 +01:00
Niek van der Maas 3b35868a06 Switch to `svelte-markdown` 2023-03-06 14:15:52 +01:00
Niek van der Maas 54c199c8bf Swap border on user messages 2023-03-06 13:54:51 +01:00
Niek van der Maas 928326bf6b Disable autocomplete on API key 2023-03-06 13:54:41 +01:00
Niek van der Maas aa521d5a19 Use class directive 2023-03-06 11:57:38 +01:00
Niek van der Maas c2180589ac Make API key a password, fix #6 2023-03-06 10:00:45 +01:00
Niek van der Maas 2a725adfa5 Fix code-aligning to the left, max column size - fixes #13 2023-03-06 08:50:00 +01:00
Niek van der Maas c89bb88602 Set default marked options 2023-03-06 08:48:35 +01:00
Niek van der Maas c854c82d6e Remove TS ignore 2023-03-06 08:23:08 +01:00
Niek van der Maas 7828b71c55 Backwards compatible to old chats 2023-03-05 21:14:59 +01:00
Niek van der Maas 48ce3d96af Add auti-resizing input 2023-03-05 16:54:57 +01:00
Niek van der Maas 0074ff0de1 Allow multi-line input, fix #7 2023-03-05 16:40:19 +01:00
Michael Tanzer bb9509aa64 Revert "Attempt at tree-like chat management"
This reverts commit e27cb0a9
2023-03-05 14:59:02 +00:00
Michael Tanzer 08db5da7db Revert "Fixed issue where messages where not showing correctly. This commit should be 100% backward compatible with the previous implementation of the chat history assuming no edits."
This reverts commit ec4274c6
2023-03-05 14:58:21 +00:00
Michael Tanzer c6168ef4cb Fixed issue that caused the chat to be called "null" if a user submitted an empty prompt. Made the edit button more visible by making it appear when hovering on the whole chat name header element. 2023-03-05 14:54:42 +00:00
Niek van der Maas 507a35853c Add chat renaming support, fix #8 2023-03-05 15:12:42 +01:00
Niek van der Maas 634550ea3d Add response type 2023-03-03 19:29:56 +01:00
Niek van der Maas b0a638bfb5 Better edit message button 2023-03-03 19:22:16 +01:00
Niek van der Maas cd2b9b9a88 Prepare adding edit functionality #3 2023-03-03 17:20:10 +01:00
Niek van der Maas baac66327e Better aligning 2023-03-03 16:46:13 +01:00
Niek van der Maas ae01da3556 Click on logo = reload 2023-03-03 15:25:47 +01:00
Niek van der Maas 3c778e5a91 Linting (width 120) 2023-03-03 15:17:45 +01:00
Niek van der Maas de60734234 Forgotten `href` and `li` 2023-03-03 15:15:59 +01:00
Niek van der Maas 0b8e5b4c67 Add aria label 2023-03-03 15:11:08 +01:00
Niek van der Maas 2608ad32e6 Remove missing href warnings 2023-03-03 15:06:24 +01:00
Niek van der Maas c98d83c2ef Minify SVG 2023-03-03 14:58:28 +01:00
Niek van der Maas 4f8dcc4d4b Text changes 2023-03-03 14:51:40 +01:00
Niek van der Maas 23fbc24c6e Greyscale emojis, better home 2023-03-03 14:19:57 +01:00
Niek van der Maas 06a383227a Use separate Svelte components 2023-03-03 14:11:17 +01:00
Niek van der Maas 5993c832ea Better API key saving and checks 2023-03-03 11:18:28 +01:00
Niek van der Maas 7f7d2e1591 Added some more info on start page 2023-03-02 23:03:57 +04:00
Niek van der Maas 8b4e60faef Use scss 2023-03-02 22:41:46 +04:00
Niek van der Maas f98cbc931f Add footer 2023-03-02 22:41:41 +04:00
Niek van der Maas d4e3c40df1 Initial commit 2023-03-02 22:12:55 +04:00